otk_c/timerqueue.h (raw)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 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 |