summaryrefslogtreecommitdiff
path: root/noncore/settings/networksettings2/cable/cablerun.h
Unidiff
Diffstat (limited to 'noncore/settings/networksettings2/cable/cablerun.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/networksettings2/cable/cablerun.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/noncore/settings/networksettings2/cable/cablerun.h b/noncore/settings/networksettings2/cable/cablerun.h
new file mode 100644
index 0000000..36ee640
--- a/dev/null
+++ b/noncore/settings/networksettings2/cable/cablerun.h
@@ -0,0 +1,21 @@
1#include <asline.h>
2#include "cabledata.h"
3
4class CableRun : public AsLine {
5
6public :
7
8 CableRun( ANetNodeInstance * NNI,
9 CableData & Data ) : AsLine( NNI )
10 { D = &Data; }
11
12protected :
13
14 void detectState( NodeCollection * NC );
15 bool setState( NodeCollection * NC, Action_t A );
16 bool canSetState( State_t Curr, Action_t A );
17
18private :
19
20 CableData_t * D;
21};