author | wimpie <wimpie> | 2005-01-04 01:35:26 (UTC) |
---|---|---|
committer | wimpie <wimpie> | 2005-01-04 01:35:26 (UTC) |
commit | a9c188235c97e07b0eb96b13adbcdfd4bad64767 (patch) (unidiff) | |
tree | 13f6ae5c499dc0c1d1bd4b763a1973a0fa8635cf /noncore/settings/networksettings2/ppp/pppdata.h | |
parent | 48b6cd5966ec6cc0b968edf10ba1a1ad96ef165f (diff) | |
download | opie-a9c188235c97e07b0eb96b13adbcdfd4bad64767.zip opie-a9c188235c97e07b0eb96b13adbcdfd4bad64767.tar.gz opie-a9c188235c97e07b0eb96b13adbcdfd4bad64767.tar.bz2 |
CONTROL files : changed version string
NS2 many changes and first release of OT2
Diffstat (limited to 'noncore/settings/networksettings2/ppp/pppdata.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/settings/networksettings2/ppp/pppdata.h | 22 |
1 files changed, 17 insertions, 5 deletions
diff --git a/noncore/settings/networksettings2/ppp/pppdata.h b/noncore/settings/networksettings2/ppp/pppdata.h index 9e8543c..68666f8 100644 --- a/noncore/settings/networksettings2/ppp/pppdata.h +++ b/noncore/settings/networksettings2/ppp/pppdata.h | |||
@@ -1,21 +1,27 @@ | |||
1 | #ifndef PPP_DATA_H | 1 | #ifndef PPP_DATA_H |
2 | #define PPP_DATA_H | 2 | #define PPP_DATA_H |
3 | 3 | ||
4 | #include <qstring.h> | 4 | #include <qstring.h> |
5 | #include <qarray.h> | 5 | #include <qarray.h> |
6 | 6 | ||
7 | typedef struct PPPData { | 7 | class PPPData { |
8 | |||
9 | public : | ||
10 | |||
8 | struct { | 11 | struct { |
9 | bool IPAutomatic; | 12 | bool LocalOverrule; |
10 | QString IPAddress; | 13 | bool RemoteOverrule; |
11 | QString IPSubMask; | 14 | QString LocalAddress; |
15 | QString RemoteAddress; | ||
12 | bool GWAutomatic; | 16 | bool GWAutomatic; |
13 | QString GWAddress; | 17 | QString GWAddress; |
14 | bool GWIsDefault; | 18 | bool GWIsDefault; |
19 | bool GWIfNotSet; | ||
15 | } IP; | 20 | } IP; |
21 | |||
16 | struct { | 22 | struct { |
17 | short Mode; // 0 login, 1 chap/pap, 2 Terminal | 23 | short Mode; // 0 login, 1 chap/pap, 2 Terminal |
18 | struct { | 24 | struct { |
19 | QString Expect; | 25 | QString Expect; |
20 | QString Send; | 26 | QString Send; |
21 | } Login; | 27 | } Login; |
@@ -30,9 +36,15 @@ typedef struct PPPData { | |||
30 | } Auth; | 36 | } Auth; |
31 | struct { | 37 | struct { |
32 | bool ServerAssigned; | 38 | bool ServerAssigned; |
33 | QString DomainName; | 39 | QString DomainName; |
34 | QArray<QString *> Servers; | 40 | QArray<QString *> Servers; |
35 | } DNS; | 41 | } DNS; |
36 | } PPPData_t; | 42 | struct { |
43 | QString PreConnect; | ||
44 | QString PostConnect; | ||
45 | QString PreDisconnect; | ||
46 | QString PostDisconnect; | ||
47 | } Run; | ||
48 | }; | ||
37 | 49 | ||
38 | #endif | 50 | #endif |