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/GPRS_NNI.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/GPRS_NNI.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/networksettings2/gprs/GPRS_NNI.h | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/noncore/settings/networksettings2/gprs/GPRS_NNI.h b/noncore/settings/networksettings2/gprs/GPRS_NNI.h new file mode 100644 index 0000000..1060a6e --- a/dev/null +++ b/noncore/settings/networksettings2/gprs/GPRS_NNI.h | |||
@@ -0,0 +1,48 @@ | |||
1 | #ifndef GPRS_H | ||
2 | #define GPRS_H | ||
3 | |||
4 | #include <netnode.h> | ||
5 | #include "GPRSdata.h" | ||
6 | #include "GPRSrun.h" | ||
7 | |||
8 | class GPRSNetNode; | ||
9 | class GPRSEdit; | ||
10 | class SystemFile; | ||
11 | |||
12 | class AGPRSDevice : public ANetNodeInstance{ | ||
13 | |||
14 | public : | ||
15 | |||
16 | AGPRSDevice( GPRSNetNode * PNN ); | ||
17 | |||
18 | RuntimeInfo * runtime( void ) | ||
19 | { return | ||
20 | ( RT ) ? RT : ( RT = new GPRSRun( this, Data ) ); | ||
21 | } | ||
22 | |||
23 | QWidget * edit( QWidget * parent ); | ||
24 | QString acceptable( void ); | ||
25 | void commit( void ); | ||
26 | |||
27 | virtual bool openFile( SystemFile & SF ); | ||
28 | |||
29 | virtual void * data( void ) | ||
30 | { return (void *)&Data; } | ||
31 | |||
32 | virtual bool hasDataForFile( SystemFile & S ); | ||
33 | virtual short generateFile( SystemFile & SF, | ||
34 | long DevNr ); | ||
35 | |||
36 | protected : | ||
37 | |||
38 | virtual void setSpecificAttribute( QString & Attr, QString & Value ); | ||
39 | virtual void saveSpecificAttribute( QTextStream & TS ); | ||
40 | |||
41 | private : | ||
42 | |||
43 | GPRSEdit * GUI; | ||
44 | GPRSData Data; | ||
45 | GPRSRun * RT; | ||
46 | }; | ||
47 | |||
48 | #endif | ||