mirror of
https://github.com/lc-soft/LCUI.git
synced 2026-11-30 16:48:21 +01:00
23 lines
620 B
C
23 lines
620 B
C
|
|
#ifndef LCUI_TIMER_H
|
|
#define LCUI_TIMER_H
|
|
|
|
#include <LCUI/def.h>
|
|
#include <stddef.h>
|
|
|
|
LCUI_BEGIN_HEADER
|
|
|
|
LCUI_API int lcui_destroy_timer(int timer_id);
|
|
LCUI_API int lcui_pause_timer(int timer_id);
|
|
LCUI_API int lcui_continue_timer(int timer_id);
|
|
LCUI_API int lcui_reset_timer(int timer_id, long int n_ms);
|
|
LCUI_API int lcui_set_timeout(long int n_ms, void (*callback)(void *), void *arg);
|
|
LCUI_API int lcui_set_interval(long int n_ms, void (*callback)(void *), void *arg);
|
|
LCUI_API size_t lcui_process_timers(void);
|
|
LCUI_API void lcui_init_timers(void);
|
|
LCUI_API void lcui_destroy_timers(void);
|
|
|
|
LCUI_END_HEADER
|
|
|
|
#endif
|