1
#ifndef %{APPNAME}_NETWORK_MODULE_H
2
#define %{APPNAME}_NETWORK_MODULE_H
6
class %{APPNAME}Module : Module {
9
void updateInterface(Interface* i );
15
const QString type() {return QString::fromLatin1("vpn" );}
16
void setProfile( const QString& ) {}
17
bool isOwner( Interface* );
18
QWidget *configure( Interface* );
19
QWidget *information( Interface* );
20
QList<Interface> getInterfaces();
21
void possibleNewInterfaces( QMap<QString, QString>& );
22
Interface *addNewInterface( const QString& );
23
bool remove( Interface* iface );
24
QString getPixmapName( Interface* ) {return QString::fromLatin1("Tux"); }
25
void receive( const QCString&, const QByteArray& ar ) {} // don't listen
27
QList<Interface> m_interfaces;
31
void* create_plugin() {
32
return new %{APPNAME}Module();