X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=src%2FMoof%2FTimer.hh;h=246b4b1e0188974ea4dc3b600dd988a2d5bb95d1;hp=a0bc676b7f130f042d550ac0c1fb25d44faa3386;hb=3f6e44698c38b74bb622ad81ea9d2daa636981d2;hpb=c9e20ac06383b20ceb5404c9237e319c2e90d157 diff --git a/src/Moof/Timer.hh b/src/Moof/Timer.hh index a0bc676..246b4b1 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() @@ -110,6 +110,7 @@ public: return gNextFire; } + static void fireIfExpired(); static void fireIfExpired(Scalar t); private: