Diffstat (limited to 'noncore/settings/networksettings2/cable/cablerun.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/settings/networksettings2/cable/cablerun.h | 21 |
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 @@ +#include <asline.h> +#include "cabledata.h" + +class CableRun : public AsLine { + +public : + + CableRun( ANetNodeInstance * NNI, + CableData & Data ) : AsLine( NNI ) + { D = &Data; } + +protected : + + void detectState( NodeCollection * NC ); + bool setState( NodeCollection * NC, Action_t A ); + bool canSetState( State_t Curr, Action_t A ); + +private : + + CableData_t * D; +}; |