summaryrefslogtreecommitdiff
path: root/noncore/settings/networksettings2/modem/modemrun.h
Side-by-side diff
Diffstat (limited to 'noncore/settings/networksettings2/modem/modemrun.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/networksettings2/modem/modemrun.h23
1 files changed, 10 insertions, 13 deletions
diff --git a/noncore/settings/networksettings2/modem/modemrun.h b/noncore/settings/networksettings2/modem/modemrun.h
index 491a677..eb3a193 100644
--- a/noncore/settings/networksettings2/modem/modemrun.h
+++ b/noncore/settings/networksettings2/modem/modemrun.h
@@ -1,5 +1,5 @@
-#include <asline.h>
+#include <netnode.h>
#include "modemdata.h"
-class ModemRun : public AsLine {
+class ModemRun : public RuntimeInfo {
@@ -8,7 +8,7 @@ public :
ModemRun( ANetNodeInstance * NNI,
- ModemData & Data ) : AsLine ( NNI )
+ ModemData & Data ) : RuntimeInfo ( NNI )
{ }
- virtual AsLine * asLine( void )
- { return (AsLine *)this; }
+ virtual RuntimeInfo * line( void )
+ { return this; }
@@ -17,12 +17,9 @@ public :
-protected :
-
- void detectState( NodeCollection * )
- { }
+ State_t detectState( void )
+ { return Unknown;}
- bool setState( NodeCollection *, Action_t, bool )
- { return 0; }
+protected :
- bool canSetState( State_t, Action_t )
- { return 0; }
+ QString setMyState( NodeCollection * , Action_t, bool )
+ { return QString(); }
};