blob: c3c2015fd14d87b31d244c6711e40d87864879e9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
#include <netnode.h>
#include <qregexp.h>
#include "GPRSdata.h"
class GPRSRun : public RuntimeInfo {
public :
GPRSRun( ANetNodeInstance * NNI,
GPRSData & D ) : RuntimeInfo( NNI ),
Pat( "ppp[0-9]" ) {
PPPPid = 0;
}
bool handlesInterface( const QString & I );
bool handlesInterface( InterfaceInfo * );
virtual RuntimeInfo * device( void )
{ return this; }
virtual RuntimeInfo * connection( void )
{ return this; }
State_t detectState( void );
protected :
QString setMyState( NetworkSetup * , Action_t, bool );
private :
QRegExp Pat;
size_t PPPPid;
};
|