diff options
| author | Dana Jansens <danakj@orodu.net> | 2002-12-21 19:54:15 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2002-12-21 19:54:15 +0000 |
| commit | 065c6efa774ac144665f340f6c3578ab74e05c7b (patch) | |
| tree | 80e8d61f5d14db5cf7f66fbe58cfcc126e052751 /otk_c/timerqueue.h | |
| parent | 4c9bf6c9a1f2fb3531cec2917576f3d2364b4bf3 (diff) | |
otktimer works. imagecontrol is underway!
Diffstat (limited to 'otk_c/timerqueue.h')
| -rw-r--r-- | otk_c/timerqueue.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/otk_c/timerqueue.h b/otk_c/timerqueue.h new file mode 100644 index 00000000..151aea07 --- /dev/null +++ b/otk_c/timerqueue.h @@ -0,0 +1,27 @@ +// -*- mode: C; indent-tabs-mode: nil; c-basic-offset: 2; -*- +#ifndef __timerqueue_h +#define __timerqueue_h + +#include "timer.h" + +void OtkTimerQueue_Initialize(); + +//! Will wait for and fire the next timer in the queue. +/*! + The function will stop waiting if an event is received from the X server. +*/ +void OtkTimerQueue_Fire(); + +//! Adds a new timer to the queue +/*! + @param timer An OtkTimer to add to the queue +*/ +void OtkTimerQueue_Add(OtkTimer* timer); + +//! Removes a timer from the queue +/*! + @param timer An OtkTimer already in the queue to remove +*/ +void OtkTimerQueue_Remove(OtkTimer* timer); + +#endif // __timerqueue_h |
