author | mickeyl <mickeyl> | 2005-01-30 13:38:06 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2005-01-30 13:38:06 (UTC) |
commit | aaeeee6c3ca2fdc93e5f05242ba096c3bab96d5a (patch) (unidiff) | |
tree | 203b6dcc74451a1f3360f87fdb889c013045b1a0 | |
parent | 2452e48bb55b9257059f22579a51b7a8cc44576a (diff) | |
download | opie-aaeeee6c3ca2fdc93e5f05242ba096c3bab96d5a.zip opie-aaeeee6c3ca2fdc93e5f05242ba096c3bab96d5a.tar.gz opie-aaeeee6c3ca2fdc93e5f05242ba096c3bab96d5a.tar.bz2 |
full path include
-rw-r--r-- | examples/networksettings/examplemodule.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/networksettings/examplemodule.h b/examples/networksettings/examplemodule.h index 211714b..317b0a9 100644 --- a/examples/networksettings/examplemodule.h +++ b/examples/networksettings/examplemodule.h | |||
@@ -1,36 +1,36 @@ | |||
1 | #ifndef OPIE_EXAMPLE_NETWORK_MODULE_H | 1 | #ifndef OPIE_EXAMPLE_NETWORK_MODULE_H |
2 | #define OPIE_EXAMPLE_NETWORK_MODULE_H | 2 | #define OPIE_EXAMPLE_NETWORK_MODULE_H |
3 | 3 | ||
4 | #include <module.h> | 4 | #include <interfaces/module.h> |
5 | 5 | ||
6 | class VirtualModule : Module { | 6 | class VirtualModule : Module { |
7 | 7 | ||
8 | signals: | 8 | signals: |
9 | void updateInterface(Interface* i ); | 9 | void updateInterface(Interface* i ); |
10 | 10 | ||
11 | public: | 11 | public: |
12 | VirtualModule(); | 12 | VirtualModule(); |
13 | ~VirtualModule(); | 13 | ~VirtualModule(); |
14 | 14 | ||
15 | const QString type() {return QString::fromLatin1("vpn" );} | 15 | const QString type() {return QString::fromLatin1("vpn" );} |
16 | void setProfile( const QString& ) {} | 16 | void setProfile( const QString& ) {} |
17 | bool isOwner( Interface* ); | 17 | bool isOwner( Interface* ); |
18 | QWidget *configure( Interface* ); | 18 | QWidget *configure( Interface* ); |
19 | QWidget *information( Interface* ); | 19 | QWidget *information( Interface* ); |
20 | QList<Interface> getInterfaces(); | 20 | QList<Interface> getInterfaces(); |
21 | void possibleNewInterfaces( QMap<QString, QString>& ); | 21 | void possibleNewInterfaces( QMap<QString, QString>& ); |
22 | Interface *addNewInterface( const QString& ); | 22 | Interface *addNewInterface( const QString& ); |
23 | bool remove( Interface* iface ); | 23 | bool remove( Interface* iface ); |
24 | QString getPixmapName( Interface* ) {return QString::fromLatin1("Tux"); } | 24 | QString getPixmapName( Interface* ) {return QString::fromLatin1("Tux"); } |
25 | void receive( const QCString& msg, const QByteArray& ar ) { Q_CONST_UNUSED(msg) Q_CONST_UNUSED(ar) } // don't listen | 25 | void receive( const QCString& msg, const QByteArray& ar ) { Q_CONST_UNUSED(msg) Q_CONST_UNUSED(ar) } // don't listen |
26 | private: | 26 | private: |
27 | QList<Interface> m_interfaces; | 27 | QList<Interface> m_interfaces; |
28 | }; | 28 | }; |
29 | 29 | ||
30 | extern "C" { | 30 | extern "C" { |
31 | void* create_plugin() { | 31 | void* create_plugin() { |
32 | return new VirtualModule(); | 32 | return new VirtualModule(); |
33 | } | 33 | } |
34 | }; | 34 | }; |
35 | 35 | ||
36 | #endif | 36 | #endif |