summaryrefslogtreecommitdiff
path: root/noncore/settings/networksettings2/profile/profilerun.h
Side-by-side diff
Diffstat (limited to 'noncore/settings/networksettings2/profile/profilerun.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/networksettings2/profile/profilerun.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/noncore/settings/networksettings2/profile/profilerun.h b/noncore/settings/networksettings2/profile/profilerun.h
index c8ea063..400b56c 100644
--- a/noncore/settings/networksettings2/profile/profilerun.h
+++ b/noncore/settings/networksettings2/profile/profilerun.h
@@ -2,30 +2,34 @@
#define PROFILERUN_H
#include <asfullsetup.h>
#include "profiledata.h"
class ProfileRun : public AsFullSetup {
public :
ProfileRun( ANetNodeInstance * NNI, ProfileData & D ) :
AsFullSetup( NNI )
{ Data = &D; }
void detectState( NodeCollection * NC );
bool setState( NodeCollection * NC, Action_t A, bool );
bool canSetState( State_t Curr, Action_t A );
bool handlesInterface( const QString & I );
virtual const QString & description( void )
{ return Data->Description; }
virtual AsFullSetup * asFullSetup( void )
{ return (AsFullSetup *)this; }
+
+ virtual bool triggersVPN( void )
+ { return Data->TriggerVPN; }
+
private :
ProfileData * Data;
};
#endif