00001 #include <netnode.h> 00002 #include "cabledata.h" 00003 00004 class CableRun : public RuntimeInfo { 00005 00006 public : 00007 00008 CableRun( ANetNodeInstance * NNI, 00009 CableData & D ) : RuntimeInfo( NNI ) 00010 { Data = &D; } 00011 00012 virtual RuntimeInfo * line( void ) 00013 { return this; } 00014 00015 virtual QString deviceFile( void ); 00016 00017 State_t detectState( void ); 00018 00019 protected : 00020 00021 QString setMyState( NetworkSetup * , Action_t, bool ); 00022 00023 private : 00024 00025 CableData * Data; 00026 };
1.4.2