Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

GPRS_NNI.h

Go to the documentation of this file.
00001 #ifndef GPRS_H
00002 #define GPRS_H
00003 
00004 #include <netnode.h>
00005 #include "GPRSdata.h"
00006 #include "GPRSrun.h"
00007 
00008 class GPRSNetNode;
00009 class GPRSEdit;
00010 class SystemFile;
00011 
00012 class AGPRSDevice : public ANetNodeInstance{
00013 
00014 public :
00015 
00016       AGPRSDevice( GPRSNetNode * PNN );
00017 
00018       RuntimeInfo * runtime( void ) 
00019         { return
00020            ( RT ) ? RT : ( RT = new GPRSRun( this, Data ) );
00021         }
00022 
00023       QWidget * edit( QWidget * parent );
00024       QString acceptable( void );
00025       void commit( void );
00026 
00027       virtual bool openFile( SystemFile & SF,
00028                              QStringList & SL );
00029 
00030       virtual void * data( void ) 
00031         { return (void *)&Data; }
00032 
00033       virtual bool hasDataForFile( SystemFile & S );
00034       virtual short generateFile( SystemFile & SF,
00035                                  long DevNr );
00036 
00037 protected :
00038 
00039       virtual void setSpecificAttribute( QString & Attr, QString & Value );
00040       virtual void saveSpecificAttribute( QTextStream & TS );
00041 
00042 private :
00043 
00044       GPRSEdit * GUI;
00045       GPRSData Data;
00046       GPRSRun * RT;
00047 };
00048 
00049 #endif

Generated on Sat Nov 5 16:17:53 2005 for OPIE by  doxygen 1.4.2