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

profile_NNI.h

Go to the documentation of this file.
00001 #ifndef PROFILE_H
00002 #define PROFILE_H
00003 
00004 #include <netnode.h>
00005 #include "profiledata.h"
00006 #include "profilerun.h"
00007 
00008 class ProfileNetNode;
00009 class ProfileEdit;
00010 
00011 class AProfile : public ANetNodeInstance {
00012 
00013 public :
00014 
00015       AProfile( ProfileNetNode * PNN );
00016 
00017       RuntimeInfo * runtime( void ) 
00018         { return
00019             ( RT ) ? RT : ( RT = new ProfileRun( this, Data ) );
00020         }
00021 
00022       QWidget * edit( QWidget * parent );
00023       QString acceptable( void );
00024       void commit( void );
00025 
00026       virtual void * data( void ) 
00027         { return (void *)&Data; }
00028 
00029       virtual short generateFileEmbedded( SystemFile & TS,
00030                                          long DevNr );
00031 
00032       const QString & description( void ) 
00033         { return Data.Description; }
00034 
00035 protected :
00036 
00037       virtual void setSpecificAttribute( QString & Attr, QString & Value );
00038       virtual void saveSpecificAttribute( QTextStream & TS );
00039       
00040 private :
00041 
00042       ProfileEdit * GUI;
00043       ProfileData Data;
00044       ProfileRun * RT;
00045 
00046 };
00047 
00048 #endif

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