author | wimpie <wimpie> | 2005-01-04 01:39:32 (UTC) |
---|---|---|
committer | wimpie <wimpie> | 2005-01-04 01:39:32 (UTC) |
commit | 2a7afda8b7daf4a43e370dba09e43e7f5058ab49 (patch) (unidiff) | |
tree | 1905b1afdf7a1364149c4d325c778a4dd4c629c1 /noncore/settings/networksettings2/gprs/GPRSrun.h | |
parent | f1a6369e3df58019891707a3964b20836e104d67 (diff) | |
download | opie-2a7afda8b7daf4a43e370dba09e43e7f5058ab49.zip opie-2a7afda8b7daf4a43e370dba09e43e7f5058ab49.tar.gz opie-2a7afda8b7daf4a43e370dba09e43e7f5058ab49.tar.bz2 |
More NS2 files
Diffstat (limited to 'noncore/settings/networksettings2/gprs/GPRSrun.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/networksettings2/gprs/GPRSrun.h | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/noncore/settings/networksettings2/gprs/GPRSrun.h b/noncore/settings/networksettings2/gprs/GPRSrun.h new file mode 100644 index 0000000..817f8a9 --- a/dev/null +++ b/noncore/settings/networksettings2/gprs/GPRSrun.h | |||
@@ -0,0 +1,34 @@ | |||
1 | #include <netnode.h> | ||
2 | #include <qregexp.h> | ||
3 | #include "GPRSdata.h" | ||
4 | |||
5 | class GPRSRun : public RuntimeInfo { | ||
6 | |||
7 | public : | ||
8 | |||
9 | GPRSRun( ANetNodeInstance * NNI, | ||
10 | GPRSData & D ) : RuntimeInfo( NNI ), | ||
11 | Pat( "ppp[0-9]" ) { | ||
12 | PPPPid = 0; | ||
13 | } | ||
14 | |||
15 | bool handlesInterface( const QString & I ); | ||
16 | bool handlesInterface( InterfaceInfo * ); | ||
17 | |||
18 | virtual RuntimeInfo * device( void ) | ||
19 | { return this; } | ||
20 | virtual RuntimeInfo * connection( void ) | ||
21 | { return this; } | ||
22 | |||
23 | State_t detectState( void ); | ||
24 | |||
25 | protected : | ||
26 | |||
27 | QString setMyState( NodeCollection * , Action_t, bool ); | ||
28 | |||
29 | private : | ||
30 | |||
31 | QRegExp Pat; | ||
32 | size_t PPPPid; | ||
33 | |||
34 | }; | ||