author | tille <tille> | 2003-05-30 15:06:17 (UTC) |
---|---|---|
committer | tille <tille> | 2003-05-30 15:06:17 (UTC) |
commit | 8699d02f6c152afed9490e7e7a4315044261e6e8 (patch) (unidiff) | |
tree | d2ee2ba401c7a9db0e33beaf0617a1456fe01d50 /noncore/settings/networksettings/ppp/interfaceppp.h | |
parent | d8cec07fe5e54a68afe4feca574f9f4d2433e0c1 (diff) | |
download | opie-8699d02f6c152afed9490e7e7a4315044261e6e8.zip opie-8699d02f6c152afed9490e7e7a4315044261e6e8.tar.gz opie-8699d02f6c152afed9490e7e7a4315044261e6e8.tar.bz2 |
modem and pppdata is now member of interfaceppp
Diffstat (limited to 'noncore/settings/networksettings/ppp/interfaceppp.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/networksettings/ppp/interfaceppp.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/noncore/settings/networksettings/ppp/interfaceppp.h b/noncore/settings/networksettings/ppp/interfaceppp.h new file mode 100644 index 0000000..b7477c9 --- a/dev/null +++ b/noncore/settings/networksettings/ppp/interfaceppp.h | |||
@@ -0,0 +1,30 @@ | |||
1 | #ifndef INTERFACEPPP_H | ||
2 | #define INTERFACEPPP_H | ||
3 | |||
4 | #include "interface.h" | ||
5 | |||
6 | class PPPData; | ||
7 | class Modem; | ||
8 | |||
9 | class InterfacePPP : public Interface | ||
10 | { | ||
11 | Q_OBJECT | ||
12 | |||
13 | public: | ||
14 | InterfacePPP(QObject *parent=0, const char *name="PPP", bool status=false); | ||
15 | |||
16 | PPPData* data(); | ||
17 | Modem* modem(); | ||
18 | |||
19 | public slots: | ||
20 | virtual bool refresh(); | ||
21 | virtual void start(); | ||
22 | virtual void stop(); | ||
23 | |||
24 | private: | ||
25 | Modem *_modem; | ||
26 | PPPData *_pppdata; | ||
27 | }; | ||
28 | |||
29 | |||
30 | #endif | ||