From b2c64a5e4b3bed21b1aea091625a3846b2b87d47 Mon Sep 17 00:00:00 2001 From: zecke Date: Sun, 08 Feb 2004 20:25:39 +0000 Subject: Example network settings plugin Fake VPN stuff --- (limited to 'examples/networksettings/exampleiface.h') diff --git a/examples/networksettings/exampleiface.h b/examples/networksettings/exampleiface.h new file mode 100644 index 0000000..e5a757b --- a/dev/null +++ b/examples/networksettings/exampleiface.h @@ -0,0 +1,22 @@ +#ifndef EXAMPLE_IFACE_VPN_H +#define EXAMPLE_IFACE_VPN_H + +#include + +class VirtualInterface : public Interface { + Q_OBJECT + +public: + VirtualInterface(QObject* parent, const char* name = "vpn", bool up = false ); + ~VirtualInterface(); + +public slots: + bool refresh(); // refresh information + void start(); + void stop(); + +private: + bool m_isUp : 1; +}; + +#endif -- cgit v0.9.0.2