]> git.mxchange.org Git - flightgear.git/blobdiff - src/Instrumentation/clock.hxx
Add back power button binding, but move the location to /instrumentation/nav
[flightgear.git] / src / Instrumentation / clock.hxx
index 25fcd659fc379940f5b3eee152d11876c1c971b6..44e7344065e881941215c9e045a47e4648937ca9 100644 (file)
@@ -14,8 +14,7 @@
 #endif
 
 #include <simgear/props/props.hxx>
-
-#include <Main/fgfs.hxx>
+#include <simgear/structure/subsystem_mgr.hxx>
 
 
 /**
  * /instrumentation/clock/indicated-sec
  * /instrumentation/clock/indicated-string
  */
-class Clock : public FGSubsystem
+class Clock : public SGSubsystem
 {
 
 public:
 
+    Clock ( SGPropertyNode *node );
     Clock ();
     virtual ~Clock ();
 
@@ -51,6 +51,9 @@ private:
     char _indicated_string[16];
     long _standstill_offset;
 
+    string name;
+    int num;
+
     SGPropertyNode_ptr _serviceable_node;
     SGPropertyNode_ptr _offset_node;
     SGPropertyNode_ptr _sec_node;