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.
24 lines
415 B
24 lines
415 B
#ifndef EXAMPLE_IFACE_VPN_H
|
|
#define EXAMPLE_IFACE_VPN_H
|
|
|
|
#include <interfaces/interface.h>
|
|
|
|
class %{APPNAME}Interface : public Interface {
|
|
TQ_OBJECT
|
|
|
|
|
|
public:
|
|
%{APPNAME}Interface(TQObject* 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
|