author | benmeyer <benmeyer> | 2002-11-11 20:45:27 (UTC) |
---|---|---|
committer | benmeyer <benmeyer> | 2002-11-11 20:45:27 (UTC) |
commit | b11baff926843bfa4fa3177dc919be8754fb6d4d (patch) (side-by-side diff) | |
tree | ca428f4e8549b98a10f3139538fe6e5464e4553e /noncore/settings/networksettings/ppp/pppmodule.h | |
parent | da541da2e5cec28acb36cbd6e9c04a76375b4ac7 (diff) | |
download | opie-b11baff926843bfa4fa3177dc919be8754fb6d4d.zip opie-b11baff926843bfa4fa3177dc919be8754fb6d4d.tar.gz opie-b11baff926843bfa4fa3177dc919be8754fb6d4d.tar.bz2 |
Initial framework for the ppp module
Diffstat (limited to 'noncore/settings/networksettings/ppp/pppmodule.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/settings/networksettings/ppp/pppmodule.h | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/noncore/settings/networksettings/ppp/pppmodule.h b/noncore/settings/networksettings/ppp/pppmodule.h new file mode 100644 index 0000000..c8e77e2 --- a/dev/null +++ b/noncore/settings/networksettings/ppp/pppmodule.h @@ -0,0 +1,41 @@ +#ifndef PPP_MODULE_H +#define PPP_MODULE_H + +#include "module.h" + +class PPPModule : Module { + +signals: + void updateInterface(Interface *i); + +public: + PPPModule(); + ~PPPModule(); + + virtual void setProfile(const QString &newProfile); + virtual bool isOwner(Interface *); + virtual QWidget *configure(Interface *i); + virtual QWidget *information(Interface *i); + virtual QList<Interface> getInterfaces(); + virtual void possibleNewInterfaces(QMap<QString, QString> &){}; + virtual Interface *addNewInterface(const QString &name); + virtual bool remove(Interface* i); + virtual QString getPixmapName(Interface* i); + +private: + QList<Interface> list; + QString profile; + +}; + +extern "C" +{ + void* create_plugin() { + return new PPPModule(); + } +}; + +#endif + +// pppmodule.h + |