00001 #ifndef GPRS_NETNODE_H 00002 #define GPRS_NETNODE_H 00003 00004 #include "netnode.h" 00005 00006 class ANetwork; 00007 00008 class GPRSNetNode : public ANetNode{ 00009 00010 Q_OBJECT 00011 00012 public: 00013 00014 GPRSNetNode(); 00015 virtual ~GPRSNetNode(); 00016 00017 virtual bool hasDataForFile( SystemFile & S ); 00018 00019 virtual short generateFile( SystemFile & Sf, 00020 ANetNodeInstance * NNI, 00021 long DevNr ); 00022 virtual const QString pixmapName() 00023 { return "Devices/gprs"; } 00024 00025 virtual QStringList properFiles( void ); 00026 00027 virtual const QString nodeDescription() ; 00028 virtual ANetNodeInstance * createInstance( void ); 00029 virtual const char ** needs( void ); 00030 virtual const char ** provides( void ); 00031 00032 private: 00033 00034 virtual void setSpecificAttribute( QString & Attr, QString & Value ); 00035 virtual void saveSpecificAttribute( QTextStream & TS ); 00036 }; 00037 00038 extern "C" 00039 { 00040 void create_plugin( QList<ANetNode> & PNN ); 00041 }; 00042 00043 #endif
1.4.2