]> icculus.org git repositories - mikachu/openbox.git/blob - otk_c/timerqueue.h
dont need the otk initializer
[mikachu/openbox.git] / otk_c / timerqueue.h
1 // -*- mode: C; indent-tabs-mode: nil; c-basic-offset: 2; -*-
2 #ifndef __timerqueue_h
3 #define __timerqueue_h
4
5 #include "timer.h"
6
7 void OtkTimerQueue_Initialize();
8
9 //! Will wait for and fire the next timer in the queue.
10 /*!
11   The function will stop waiting if an event is received from the X server.
12 */
13 void OtkTimerQueue_Fire();
14
15 //! Adds a new timer to the queue
16 /*!
17   @param timer An OtkTimer to add to the queue
18 */
19 void OtkTimerQueue_Add(OtkTimer* timer);
20
21 //! Removes a timer from the queue
22 /*!
23   @param timer An OtkTimer already in the queue to remove
24 */
25 void OtkTimerQueue_Remove(OtkTimer* timer);
26
27 #endif // __timerqueue_h