summaryrefslogtreecommitdiff
path: root/examples/networksettings
authorzecke <zecke>2004-09-10 11:02:02 (UTC)
committer zecke <zecke>2004-09-10 11:02:02 (UTC)
commit29ed6115bd14aa95d29cf922fd179a6e470b5d53 (patch) (unidiff)
treef68014c1281cf99ad64ebf4f48a8ffba0a99109d /examples/networksettings
parentad5c2ec48c34fe41d826893c5b0fb24b08bc639d (diff)
downloadopie-29ed6115bd14aa95d29cf922fd179a6e470b5d53.zip
opie-29ed6115bd14aa95d29cf922fd179a6e470b5d53.tar.gz
opie-29ed6115bd14aa95d29cf922fd179a6e470b5d53.tar.bz2
Make it compile without warning about unused parameters
Diffstat (limited to 'examples/networksettings') (more/less context) (ignore whitespace changes)
-rw-r--r--examples/networksettings/examplemodule.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/networksettings/examplemodule.h b/examples/networksettings/examplemodule.h
index f14a653..211714b 100644
--- a/examples/networksettings/examplemodule.h
+++ b/examples/networksettings/examplemodule.h
@@ -13,24 +13,24 @@ public:
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&, const QByteArray& ar ) {} // don't listen 25 void receive( const QCString& msg, const QByteArray& ar ) { Q_CONST_UNUSED(msg) Q_CONST_UNUSED(ar) } // don't listen
26private: 26private:
27 QList<Interface> m_interfaces; 27 QList<Interface> m_interfaces;
28}; 28};
29 29
30extern "C" { 30extern "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