]> git.mxchange.org Git - simgear.git/blobdiff - simgear/structure/event_mgr.hxx
math: Move lerp function into SGMisc.
[simgear.git] / simgear / structure / event_mgr.hxx
index b68517aeeaaf4f650b66dd6aa9dc6b63b6b28a97..b8dda323fb7e7c15f4ae3156a69b1d52b99702dc 100644 (file)
@@ -17,6 +17,7 @@ public:
     double interval;
     SGCallback* callback;
     bool repeat;
+    bool running;
 };
 
 class SGTimerQueue {
@@ -116,7 +117,7 @@ public:
 
     void removeTask(const std::string& name);
 private:
-    friend struct SGTimer;
+    friend class SGTimer;
 
     void add(const std::string& name, SGCallback* cb,
              double interval, double delay,