00001 #ifndef WLAN_H 00002 #define WLAN_H 00003 00004 #include <netnode.h> 00005 #include "wlandata.h" 00006 #include "wlanrun.h" 00007 00008 class WLanNetNode; 00009 class WLanEdit; 00010 00011 class AWLan : public ANetNodeInstance { 00012 00013 public : 00014 00015 AWLan( WLanNetNode * PNN ); 00016 00017 RuntimeInfo * runtime( void ) 00018 { return 00019 ( RT ) ? RT : ( RT = new WLanRun( 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 & Sf, 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 WLanEdit * GUI; 00040 WLanData Data; 00041 WLanRun * RT; 00042 00043 }; 00044 00045 #endif
1.4.2