]> git.mxchange.org Git - simgear.git/blobdiff - simgear/structure/event_mgr.hxx
Modified Files:
[simgear.git] / simgear / structure / event_mgr.hxx
index 4c89b06022da3851df8217cf5d24b45ef969856a..007321b852f65158e44ddf75374d333d19911513 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.
@@ -115,7 +117,8 @@ private:
              double interval, double delay,
              bool repeat, bool simtime);
 
-    SGPropertyNode* _freezeProp;
+    SGPropertyNode_ptr _freezeProp;
+    SGPropertyNode_ptr _rtProp;
     SGTimerQueue _rtQueue; 
     SGTimerQueue _simQueue;
 };