Diffstat (limited to 'noncore/settings/networksettings/ppp/interfaceppp.h') (more/less context) (show 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 | ||