blob: 9470c0f58449a83388eafd7fd97fec677e1802ac (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
#ifndef PROFILERUN_H
#define PROFILERUN_H
#include <netnode.h>
#include "profiledata.h"
class ProfileRun : public RuntimeInfo {
public :
ProfileRun( ANetNodeInstance * NNI, ProfileData & D ) :
RuntimeInfo( NNI )
{ Data = &D; }
virtual RuntimeInfo * fullSetup( void )
{ return this; }
virtual const QString & description( void )
{ return Data->Description; }
virtual bool triggersVPN( void )
{ return Data->TriggerVPN; }
State_t detectState( void );
protected :
QString setMyState( NetworkSetup * , Action_t, bool );
private :
ProfileData * Data;
};
#endif
|