tasn pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=0ef330a363eaefd2545d5ecbae1309655d2f1869

commit 0ef330a363eaefd2545d5ecbae1309655d2f1869
Author: Tom Hacohen <t...@stosb.com>
Date:   Tue Feb 16 15:43:46 2016 +0000

    Ecore poller: Fix tests.
    
    Very confusing, we have:
    poller_poller_interval_set and poller_poll_interval_set.
    
    Thanks to herdsman for reporting.
---
 src/lib/ecore/Ecore_Legacy.h | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/src/lib/ecore/Ecore_Legacy.h b/src/lib/ecore/Ecore_Legacy.h
index 90d5248..ab9df2d 100644
--- a/src/lib/ecore/Ecore_Legacy.h
+++ b/src/lib/ecore/Ecore_Legacy.h
@@ -49,6 +49,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);
+
+/**
  * @}
  */
 

-- 


Reply via email to