summaryrefslogtreecommitdiff
path: root/noncore/settings/networksettings2/gprs/GPRS_NN.h
Side-by-side diff
Diffstat (limited to 'noncore/settings/networksettings2/gprs/GPRS_NN.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/networksettings2/gprs/GPRS_NN.h43
1 files changed, 43 insertions, 0 deletions
diff --git a/noncore/settings/networksettings2/gprs/GPRS_NN.h b/noncore/settings/networksettings2/gprs/GPRS_NN.h
new file mode 100644
index 0000000..6a036e1
--- a/dev/null
+++ b/noncore/settings/networksettings2/gprs/GPRS_NN.h
@@ -0,0 +1,43 @@
+#ifndef GPRS_NETNODE_H
+#define GPRS_NETNODE_H
+
+#include "netnode.h"
+
+class ANetwork;
+
+class GPRSNetNode : public ANetNode{
+
+ Q_OBJECT
+
+public:
+
+ GPRSNetNode();
+ virtual ~GPRSNetNode();
+
+ virtual bool hasDataForFile( SystemFile & S );
+
+ virtual short generateFile( SystemFile & Sf,
+ ANetNodeInstance * NNI,
+ long DevNr );
+ virtual const QString pixmapName()
+ { return "Devices/gprs"; }
+
+ virtual QStringList properFiles( void );
+
+ virtual const QString nodeDescription() ;
+ virtual ANetNodeInstance * createInstance( void );
+ virtual const char ** needs( void );
+ virtual const char ** provides( void );
+
+private:
+
+ virtual void setSpecificAttribute( QString & Attr, QString & Value );
+ virtual void saveSpecificAttribute( QTextStream & TS );
+};
+
+extern "C"
+{
+ void create_plugin( QList<ANetNode> & PNN );
+};
+
+#endif