]> git.mxchange.org Git - simgear.git/blobdiff - simgear/structure/event_mgr.hxx
Mathias Fröhlich:
[simgear.git] / simgear / structure / event_mgr.hxx
index 4c89b06022da3851df8217cf5d24b45ef969856a..746f03c0f7cd9a36ff3b6a342b78ca2439e863ba 100644 (file)
@@ -51,7 +51,9 @@ private:
     void siftDown(int n);
     void siftUp(int n);
     void growArray();
-    void check();
+
+    // gcc complains there is no function specification anywhere.
+    // void check();
 
     double _now;
     HeapEntry *_table;
@@ -62,13 +64,13 @@ private:
 class SGEventMgr : public SGSubsystem
 {
 public:
-    SGEventMgr() { _freezeProp = 0; }
-    ~SGEventMgr() { _freezeProp = 0; }
+    SGEventMgr() { _rtProp = 0; }
+    ~SGEventMgr() { _rtProp = 0; }
 
     virtual void init() {}
     virtual void update(double delta_time_sec);
 
-    void setFreezeProperty(SGPropertyNode* node) { _freezeProp = node; }
+    void setRealtimeProperty(SGPropertyNode* node) { _rtProp = node; }
 
     /**
      * Add a single function callback event as a repeating task.
@@ -116,6 +118,7 @@ private:
              bool repeat, bool simtime);
 
     SGPropertyNode* _freezeProp;
+    SGPropertyNode* _rtProp;
     SGTimerQueue _rtQueue; 
     SGTimerQueue _simQueue;
 };