blob: e5a757b8b9c5db65eab69d4c7589647dc84bdbb4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#ifndef EXAMPLE_IFACE_VPN_H
#define EXAMPLE_IFACE_VPN_H
#include <interfaces/interface.h>
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
|