summaryrefslogtreecommitdiff
path: root/noncore/settings/networksettings2/profile/profilerun.h
blob: d3797b5caebf6f234c9c14bb29dd6c39761dffda (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
#ifndef PROFILERUN_H
#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 canSetState( State_t Curr, Action_t A );

      bool handlesInterface( const QString & I );

      virtual const QString & description( void )
        { return Data->Description; }
private :

      ProfileData * Data;

};
#endif