forked from enlightenment/efl
Ecore poller: Fix tests.
Very confusing, we have: poller_poller_interval_set and poller_poll_interval_set. Thanks to herdsman for reporting.
This commit is contained in:
parent
fdd2f2b6d7
commit
0ef330a363
|
@ -48,6 +48,25 @@ EAPI Ecore_Poller *ecore_poller_add(Ecore_Poller_Type type, int interval, Ecore_
|
|||
*/
|
||||
EAPI void *ecore_poller_del(Ecore_Poller *poller);
|
||||
|
||||
/**
|
||||
* @brief Sets the time(in seconds) between ticks for the given poller type.
|
||||
* @param type The poller type to adjust.
|
||||
* @param poll_time The time(in seconds) between ticks of the timer.
|
||||
*
|
||||
* This will adjust the time between ticks of the given timer type defined by
|
||||
* @p type to the time period defined by @p poll_time.
|
||||
*/
|
||||
EAPI void ecore_poller_poll_interval_set(Ecore_Poller_Type type, double poll_time);
|
||||
|
||||
/**
|
||||
* @brief Gets the time(in seconds) between ticks for the given poller type.
|
||||
* @param type The poller type to query.
|
||||
* @return The time in seconds between ticks of the poller timer.
|
||||
*
|
||||
* This will get the time between ticks of the specified poller timer.
|
||||
*/
|
||||
EAPI double ecore_poller_poll_interval_get(Ecore_Poller_Type type);
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue