X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=src%2FMoof%2FTimer.hh;h=b657a5f9632aee158d8b8d5ef4e72d9178979369;hp=bb0b48334c6b24cab36f8a8e4328f5e8b80186ea;hb=e495074443d9fd7bc16137084cf9de3d031b75c4;hpb=8a1acac01b444dccf8b57cedf08392ada2e473c1 diff --git a/src/Moof/Timer.hh b/src/Moof/Timer.hh index bb0b483..b657a5f 100644 --- a/src/Moof/Timer.hh +++ b/src/Moof/Timer.hh @@ -53,7 +53,7 @@ public: { INVALID = -1, NORMAL = 0, - ABSOLUTEE = 1, // the ABSOLUTE keyword isn't available on win32... + ACTUAL = 1, REPEAT = 2 }; @@ -102,7 +102,7 @@ public: * sleep for the requested amount of time (and maybe longer). */ - static void sleep(Scalar seconds, bool absolute = false); + static void sleep(Scalar seconds, Mode mode = NORMAL); static Scalar getNextFire() @@ -124,7 +124,7 @@ private: unsigned mId; static Scalar gNextFire; - static std::map gTimers; + static std::map gTimers; };