17 #ifndef __NUGU_TIMER_H__
18 #define __NUGU_TIMER_H__
NUGU_API NuguTimer * nugu_timer_new(long interval)
Create new timer object.
Definition: nugu_timer_mock.c:75
NUGU_API void nugu_timer_delete(NuguTimer *timer)
Destroy the timer object.
Definition: nugu_timer_mock.c:91
struct _nugu_timer NuguTimer
Timer object.
Definition: nugu_timer.h:40
NUGU_API void nugu_timer_set_singleshot(NuguTimer *timer, int singleshot)
Set timer running single shot.
Definition: nugu_timer_mock.c:108
NUGU_API void nugu_timer_set_interval(NuguTimer *timer, long interval)
Set interval.
Definition: nugu_timer_mock.c:98
NUGU_API void nugu_timer_start(NuguTimer *timer)
Start the timer.
Definition: nugu_timer_mock.c:118
void(* NuguTimeoutCallback)(void *userdata)
Callback prototype for timeout.
Definition: nugu_timer.h:45
NUGU_API void nugu_timer_set_callback(NuguTimer *timer, NuguTimeoutCallback callback, void *userdata)
Set timeout callback.
Definition: nugu_timer_mock.c:133
NUGU_API long nugu_timer_get_interval(NuguTimer *timer)
Get interval.
Definition: nugu_timer_mock.c:103
NUGU_API void nugu_timer_stop(NuguTimer *timer)
Stop the timer.
Definition: nugu_timer_mock.c:126
NUGU_API int nugu_timer_get_singleshot(NuguTimer *timer)
Get timer single shot property.
Definition: nugu_timer_mock.c:113