From b11baff926843bfa4fa3177dc919be8754fb6d4d Mon Sep 17 00:00:00 2001 From: benmeyer Date: Mon, 11 Nov 2002 20:45:27 +0000 Subject: Initial framework for the ppp module --- (limited to 'noncore/net/networksetup/ppp/pppmodule.h') diff --git a/noncore/net/networksetup/ppp/pppmodule.h b/noncore/net/networksetup/ppp/pppmodule.h new file mode 100644 index 0000000..c8e77e2 --- a/dev/null +++ b/noncore/net/networksetup/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 getInterfaces(); + virtual void possibleNewInterfaces(QMap &){}; + virtual Interface *addNewInterface(const QString &name); + virtual bool remove(Interface* i); + virtual QString getPixmapName(Interface* i); + +private: + QList list; + QString profile; + +}; + +extern "C" +{ + void* create_plugin() { + return new PPPModule(); + } +}; + +#endif + +// pppmodule.h + -- cgit v0.9.0.2