summaryrefslogtreecommitdiff
path: root/noncore/settings/networksettings2/cable/cablerun.h
blob: 6a457c4dc1094ca7ee1deeb9c21e191ec6bbe5ec (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
#include <netnode.h>
#include "cabledata.h"

class CableRun  : public RuntimeInfo {

public :

      CableRun( ANetNodeInstance * NNI, 
                CableData & D ) : RuntimeInfo( NNI )
        { Data = &D; }

      virtual RuntimeInfo * line( void ) 
        { return this; }

      virtual QString deviceFile( void );

      State_t detectState( void );

protected :

      QString setMyState( NetworkSetup * , Action_t, bool );

private :

      CableData * Data;
};