summaryrefslogtreecommitdiff
path: root/noncore/settings/networksettings/ppp/interfaceppp.h
Side-by-side diff
Diffstat (limited to 'noncore/settings/networksettings/ppp/interfaceppp.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/networksettings/ppp/interfaceppp.h30
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 @@
+#ifndef INTERFACEPPP_H
+#define INTERFACEPPP_H
+
+#include "interface.h"
+
+class PPPData;
+class Modem;
+
+class InterfacePPP : public Interface
+{
+ Q_OBJECT
+
+public:
+ InterfacePPP(QObject *parent=0, const char *name="PPP", bool status=false);
+
+ PPPData* data();
+ Modem* modem();
+
+public slots:
+ virtual bool refresh();
+ virtual void start();
+ virtual void stop();
+
+ private:
+ Modem *_modem;
+ PPPData *_pppdata;
+};
+
+
+#endif