Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

usbrun.h

Go to the documentation of this file.
00001 #ifndef USBRUN_H
00002 #define USBRUN_H
00003 
00004 #include <netnode.h>
00005 #include <qregexp.h>
00006 #include "usbdata.h"
00007 
00008 class USBRun  : public RuntimeInfo {
00009 
00010 public :
00011 
00012       USBRun( ANetNodeInstance * NNI, 
00013               USBData & Data ) : 
00014                 RuntimeInfo( NNI ),
00015                 Pat( "usb[0-9abcdef]" ) {
00016       }
00017 
00018       virtual RuntimeInfo * device( void ) 
00019         { return this; }
00020 
00021       bool handlesInterface( const QString & I );
00022       bool handlesInterface( InterfaceInfo * );
00023 
00024       State_t detectState( void );
00025 
00026 protected :
00027 
00028       QString setMyState( NetworkSetup * , Action_t, bool );
00029 
00030 private :
00031 
00032       InterfaceInfo * getInterface( void );
00033       QRegExp Pat;
00034 
00035 };
00036 #endif

Generated on Sat Nov 5 16:17:56 2005 for OPIE by  doxygen 1.4.2