summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2017-11-14 16:55:49 -0800
committerCedric BAIL <cedric@osg.samsung.com>2017-11-14 16:55:49 -0800
commit44bb0c18480f5094fcd0c8be93de87be5c1d78c5 (patch)
tree8e255086a213704428078edfd57ce3727e0fb68b
parent32a213dc722be2bfec5fb2b513dd556cfb7e9f33 (diff)
elementary: currently double declare elm_init/shutdown.
-rw-r--r--src/lib/elementary/Efl_Ui.h53
1 files changed, 53 insertions, 0 deletions
diff --git a/src/lib/elementary/Efl_Ui.h b/src/lib/elementary/Efl_Ui.h
index 09b2be9a4c..75c3e3cbae 100644
--- a/src/lib/elementary/Efl_Ui.h
+++ b/src/lib/elementary/Efl_Ui.h
@@ -127,6 +127,9 @@ extern "C" {
127 127
128extern EAPI double _efl_startup_time; 128extern EAPI double _efl_startup_time;
129 129
130// EO types. Defined for legacy-only builds as legacy uses typedef of EO types.
131#include "efl_ui.eot.h"
132
130# include <efl_ui_focus_object.eo.h> 133# include <efl_ui_focus_object.eo.h>
131# include <efl_ui_focus_manager.eo.h> 134# include <efl_ui_focus_manager.eo.h>
132# include <efl_ui_focus_manager_calc.eo.h> 135# include <efl_ui_focus_manager_calc.eo.h>
@@ -186,6 +189,56 @@ extern EAPI double _efl_startup_time;
186# include <efl_ui_bg_eo.h> 189# include <efl_ui_bg_eo.h>
187# include <efl_ui_panes_eo.h> 190# include <efl_ui_panes_eo.h>
188 191
192/**
193 * Initialize Elementary
194 *
195 * @param[in] argc System's argument count value
196 * @param[in] argv System's pointer to array of argument strings
197 * @return The init counter value.
198 *
199 * This function initializes Elementary and increments a counter of
200 * the number of calls to it. It returns the new counter's value.
201 *
202 * @warning This call is exported only for use by the @c ELM_MAIN()
203 * macro. There is no need to use this if you use this macro (which
204 * is highly advisable). An elm_main() should contain the entry
205 * point code for your application, having the same prototype as
206 * elm_init(), and @b not being static (putting the @c EAPI_MAIN symbol
207 * in front of its type declaration is advisable). The @c
208 * ELM_MAIN() call should be placed just after it.
209 *
210 * Example:
211 * @dontinclude bg_example_01.c
212 * @skip static void
213 * @until ELM_MAIN
214 *
215 * See the full @ref bg_example_01_c "example".
216 *
217 * @see elm_shutdown().
218 * @ingroup Elm_General
219 */
220EAPI int elm_init(int argc, char **argv);
221
222/**
223 * Shut down Elementary
224 *
225 * @return The init counter value.
226 *
227 * This should be called at the end of your application, just
228 * before it ceases to do any more processing. This will clean up
229 * any permanent resources your application may have allocated via
230 * Elementary that would otherwise persist.
231 *
232 * @see elm_init() for an example
233 *
234 * @note elm_shutdown() will iterate main loop until all ecore_evas are freed.
235 * There is a possibility to call your ecore callbacks(timer, animator, event,
236 * job, and etc.) in elm_shutdown()
237 *
238 * @ingroup Elm_General
239 */
240EAPI int elm_shutdown(void);
241
189#ifdef __cplusplus 242#ifdef __cplusplus
190} 243}
191#endif 244#endif