You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
410 B
23 lines
410 B
#ifndef EXAMPLE_IFACE_VPN_H
|
|
#define EXAMPLE_IFACE_VPN_H
|
|
|
|
#include <interfaces/interface.h>
|
|
|
|
class %{APPNAME}Interface : public Interface {
|
|
Q_OBJECT
|
|
|
|
public:
|
|
%{APPNAME}Interface(QObject* parent, const char* name = "vpn", bool up = false );
|
|
~%{APPNAME}Interface();
|
|
|
|
public slots:
|
|
bool refresh(); // refresh information
|
|
void start();
|
|
void stop();
|
|
|
|
private:
|
|
bool m_isUp : 1;
|
|
};
|
|
|
|
#endif
|