summaryrefslogtreecommitdiff
path: root/src/lib/ecore/ecore_idle_enterer.c
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2014-07-26 09:19:30 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2014-07-26 12:30:12 +0900
commit164ea41b3e9a8a9e518c4469631488d0d284c462 (patch)
treec64e5a69fdfa8191118850012948f01be089d4fe /src/lib/ecore/ecore_idle_enterer.c
parent8f654b8f244c9eac2049d7b591b8e1e3c106ccbf (diff)
move ecore documentation not in headers to .h files for consistency
Diffstat (limited to 'src/lib/ecore/ecore_idle_enterer.c')
-rw-r--r--src/lib/ecore/ecore_idle_enterer.c39
1 files changed, 1 insertions, 38 deletions
diff --git a/src/lib/ecore/ecore_idle_enterer.c b/src/lib/ecore/ecore_idle_enterer.c
index 102f5bb..5be4f7a 100644
--- a/src/lib/ecore/ecore_idle_enterer.c
+++ b/src/lib/ecore/ecore_idle_enterer.c
@@ -31,12 +31,6 @@ static int idle_enterers_delete_me = 0;
31static void * 31static void *
32_ecore_idle_enterer_del(Ecore_Idle_Enterer *idle_enterer); 32_ecore_idle_enterer_del(Ecore_Idle_Enterer *idle_enterer);
33 33
34/**
35 * @addtogroup Ecore_Idle_Group
36 *
37 * @{
38 */
39
40static Eina_Bool 34static Eina_Bool
41_ecore_idle_enterer_add(Ecore_Idle_Enterer *obj, 35_ecore_idle_enterer_add(Ecore_Idle_Enterer *obj,
42 Ecore_Idle_Enterer_Data *ie, 36 Ecore_Idle_Enterer_Data *ie,
@@ -65,16 +59,6 @@ _ecore_idle_enterer_add(Ecore_Idle_Enterer *obj,
65 return EINA_TRUE; 59 return EINA_TRUE;
66} 60}
67 61
68/**
69 * Add an idle enterer handler.
70 * @param func The function to call when entering an idle state.
71 * @param data The data to be passed to the @p func call
72 * @return A handle to the idle enterer callback if successful. Otherwise,
73 * NULL is returned.
74 * @note The function func will be called every time the main loop is entering
75 * idle state, as long as it returns 1 (or ECORE_CALLBACK_RENEW). A return of 0
76 * (or ECORE_CALLBACK_CANCEL) deletes the idle enterer.
77 */
78EAPI Ecore_Idle_Enterer * 62EAPI Ecore_Idle_Enterer *
79ecore_idle_enterer_add(Ecore_Task_Cb func, 63ecore_idle_enterer_add(Ecore_Task_Cb func,
80 const void *data) 64 const void *data)
@@ -97,16 +81,6 @@ unlock:
97 _ecore_unlock(); 81 _ecore_unlock();
98} 82}
99 83
100/**
101 * Add an idle enterer handler at the start of the list so it gets called earlier than others.
102 * @param func The function to call when entering an idle state.
103 * @param data The data to be passed to the @p func call
104 * @return A handle to the idle enterer callback if successful. Otherwise,
105 * NULL is returned.
106 * @note The function func will be called every time the main loop is entering
107 * idle state, as long as it returns 1 (or ECORE_CALLBACK_RENEW). A return of 0
108 * (or ECORE_CALLBACK_CANCEL) deletes the idle enterer.
109 */
110EAPI Ecore_Idle_Enterer * 84EAPI Ecore_Idle_Enterer *
111ecore_idle_enterer_before_add(Ecore_Task_Cb func, 85ecore_idle_enterer_before_add(Ecore_Task_Cb func,
112 const void *data) 86 const void *data)
@@ -136,12 +110,6 @@ _ecore_idle_enterer_eo_base_constructor(Eo *obj, Ecore_Idle_Enterer_Data *_pd EI
136 ERR("only custom constructor can be used with '%s' class", MY_CLASS_NAME); 110 ERR("only custom constructor can be used with '%s' class", MY_CLASS_NAME);
137} 111}
138 112
139/**
140 * Delete an idle enterer callback.
141 * @param idle_enterer The idle enterer to delete
142 * @return The data pointer passed to the idler enterer callback on success.
143 * NULL otherwise.
144 */
145EAPI void * 113EAPI void *
146ecore_idle_enterer_del(Ecore_Idle_Enterer *idle_enterer) 114ecore_idle_enterer_del(Ecore_Idle_Enterer *idle_enterer)
147{ 115{
@@ -156,11 +124,6 @@ ecore_idle_enterer_del(Ecore_Idle_Enterer *idle_enterer)
156 return data; 124 return data;
157} 125}
158 126
159/**
160 * @}
161 */
162
163
164static void * 127static void *
165_ecore_idle_enterer_del(Ecore_Idle_Enterer *obj) 128_ecore_idle_enterer_del(Ecore_Idle_Enterer *obj)
166{ 129{
@@ -269,4 +232,4 @@ _ecore_idle_enterer_exist(void)
269 return 0; 232 return 0;
270} 233}
271 234
272#include "ecore_idle_enterer.eo.c" \ No newline at end of file 235#include "ecore_idle_enterer.eo.c"