From 065c6efa774ac144665f340f6c3578ab74e05c7b Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sat, 21 Dec 2002 19:54:15 +0000 Subject: otktimer works. imagecontrol is underway! --- otk_c/timerqueue.h | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 otk_c/timerqueue.h (limited to 'otk_c/timerqueue.h') 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 -- cgit v1.2.3