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

ppp_NNI.h

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

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