00001 #ifndef PPPRUN_H 00002 #define PPPRUN_H 00003 00004 #include <qregexp.h> 00005 #include <netnode.h> 00006 #include "pppdata.h" 00007 00008 class PPPRun : public RuntimeInfo { 00009 00010 public : 00011 00012 PPPRun( ANetNodeInstance * NNI, 00013 PPPData & Data ); 00014 00015 bool handlesInterface( const QString & I ); 00016 bool handlesInterface( InterfaceInfo * ); 00017 00018 State_t detectState( void ); 00019 virtual RuntimeInfo * device( void ) 00020 { return this; } 00021 virtual RuntimeInfo * connection( void ) 00022 { return this; } 00023 00024 protected : 00025 00026 QString setMyState( NetworkSetup * , Action_t, bool ); 00027 00028 private : 00029 00030 bool isMyPPPDRunning( void ); 00031 bool isMyPPPUp( void ); 00032 00033 PPPData * D; 00034 QRegExp Pat; 00035 }; 00036 00037 #endif
1.4.2