00001 #ifndef PROFILERUN_H 00002 #define PROFILERUN_H 00003 00004 #include <netnode.h> 00005 #include "profiledata.h" 00006 00007 class ProfileRun : public RuntimeInfo { 00008 00009 public : 00010 00011 ProfileRun( ANetNodeInstance * NNI, ProfileData & D ) : 00012 RuntimeInfo( NNI ) 00013 { Data = &D; } 00014 00015 virtual RuntimeInfo * fullSetup( void ) 00016 { return this; } 00017 virtual const QString & description( void ) 00018 { return Data->Description; } 00019 virtual bool triggersVPN( void ) 00020 { return Data->TriggerVPN; } 00021 00022 State_t detectState( void ); 00023 00024 protected : 00025 00026 QString setMyState( NetworkSetup * , Action_t, bool ); 00027 00028 private : 00029 00030 ProfileData * Data; 00031 00032 }; 00033 #endif
1.4.2