summaryrefslogtreecommitdiff
path: root/src/lib/elementary/Efl_Ui.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/elementary/Efl_Ui.h')
-rw-r--r--src/lib/elementary/Efl_Ui.h253
1 files changed, 253 insertions, 0 deletions
diff --git a/src/lib/elementary/Efl_Ui.h b/src/lib/elementary/Efl_Ui.h
new file mode 100644
index 0000000..75c3e3c
--- /dev/null
+++ b/src/lib/elementary/Efl_Ui.h
@@ -0,0 +1,253 @@
1#ifndef _EFL_CORE_H
2#define _EFL_CORE_H
3
4#include <Efl_Config.h>
5#include <Elementary_Options.h>
6
7#ifdef _MSC_VER
8# include <Evil.h>
9#endif
10
11/* Standard headers for standard system calls etc. */
12#include <stdio.h>
13#include <stdlib.h>
14#include <unistd.h>
15#include <string.h>
16#include <sys/types.h>
17#include <sys/stat.h>
18#include <sys/time.h>
19#include <sys/param.h>
20#include <math.h>
21#include <fnmatch.h>
22#include <limits.h>
23#include <ctype.h>
24#include <time.h>
25#ifdef ELM_DIRENT_H
26#include <dirent.h>
27#endif
28#include <pwd.h>
29#include <errno.h>
30
31#ifdef ELM_UNIX
32#include <locale.h>
33#ifdef ELM_LIBINTL_H
34#include <libintl.h>
35#endif
36#include <signal.h>
37#include <grp.h>
38#include <glob.h>
39#endif
40
41#ifdef ELM_ALLOCA_H
42#include <alloca.h>
43#endif
44
45#ifdef ELM_WIN32
46#include <malloc.h>
47#ifndef alloca
48#define alloca _alloca
49#endif
50#endif
51
52#include <Eina.h>
53#include <Eo.h>
54#include <Efl.h>
55
56#ifdef EAPI
57# undef EAPI
58#endif
59
60#ifdef _WIN32
61# ifdef EFL_ECORE_BUILD
62# ifdef DLL_EXPORT
63# define EAPI __declspec(dllexport)
64# else
65# define EAPI
66# endif /* ! DLL_EXPORT */
67# else
68# define EAPI __declspec(dllimport)
69# endif /* ! EFL_ECORE_BUILD */
70#else
71# ifdef __GNUC__
72# if __GNUC__ >= 4
73# define EAPI __attribute__ ((visibility("default")))
74# else
75# define EAPI
76# endif
77# else
78# define EAPI
79# endif
80#endif /* ! _WIN32 */
81
82#ifdef _WIN32
83# define WIN32_LEAN_AND_MEAN
84# include <winsock2.h>
85# undef WIN32_LEAN_AND_MEAN
86#elif defined (__FreeBSD__) || defined (__OpenBSD__)
87# include <sys/select.h>
88# include <signal.h>
89#elif defined (__ANDROID__)
90# include <sys/select.h>
91#elif defined (__sun)
92# include <sys/siginfo.h>
93#else
94# include <sys/time.h>
95# if !defined (EXOTIC_NO_SIGNAL)
96# include <signal.h>
97# endif
98#endif
99
100#include <sys/types.h>
101
102#define __EFL_UI_IS_REQUIRED
103
104#include <Efl_Net.h>
105
106#include <Evas.h>
107#include <Evas_GL.h>
108#include <Eio.h>
109#include <Edje.h>
110#include <Eldbus.h>
111#include <Efreet.h>
112#include <Efreet_Mime.h>
113#include <Efreet_Trash.h>
114#include <Ethumb_Client.h>
115
116#ifdef ELM_ELOCATION
117#include <Elocation.h>
118#endif
119
120#ifdef ELM_EMAP
121#include <EMap.h>
122#endif
123
124#ifdef __cplusplus
125extern "C" {
126#endif
127
128extern EAPI double _efl_startup_time;
129
130// EO types. Defined for legacy-only builds as legacy uses typedef of EO types.
131#include "efl_ui.eot.h"
132
133# include <efl_ui_focus_object.eo.h>
134# include <efl_ui_focus_manager.eo.h>
135# include <efl_ui_focus_manager_calc.eo.h>
136# include <efl_ui_focus_manager_sub.eo.h>
137# include <efl_ui_focus_manager_root_focus.eo.h>
138# include <efl_ui_focus_user.eo.h>
139# include <efl_ui_textpath.eo.h>
140# include <efl_ui_translatable.eo.h>
141# include <efl_ui_focus_composition.eo.h>
142# include <efl_ui_focus_layer.eo.h>
143# include <efl_access.h>
144# include <efl_access_text.h>
145# include <efl_access_window.h>
146
147# include <efl_access_action.eo.h>
148# include <efl_access_component.eo.h>
149# include <efl_access_editable_text.eo.h>
150# include <efl_access_image.eo.h>
151# include <efl_access_selection.eo.h>
152# include <efl_access_value.eo.h>
153
154# include <efl_config_global.eo.h>
155# include <efl_ui_widget_part.eo.h>
156# include <efl_ui_layout_part.eo.h>
157# include <efl_ui_layout_part_box.eo.h>
158# include <efl_ui_layout_part_content.eo.h>
159# include <efl_ui_layout_part_text.eo.h>
160# include <efl_ui_layout_part_table.eo.h>
161# include <efl_ui_win_part.eo.h>
162# include <efl_ui_box.eo.h>
163# include <efl_ui_box_flow.eo.h>
164# include <efl_ui_box_stack.eo.h>
165# include <efl_ui_grid.eo.h>
166# include <efl_ui_grid_static.eo.h>
167# include <efl_ui_image.eo.h>
168# include <efl_ui_win.eo.h>
169# include <efl_ui_win_inlined.eo.h>
170# include <efl_ui_win_socket.eo.h>
171# include <efl_ui_text_interactive.eo.h>
172# include <efl_ui_text.eo.h>
173# include <efl_ui_text_editable.eo.h>
174# include <efl_ui_text_async.eo.h>
175# include <efl_ui_clock.h>
176# include <efl_ui_image_factory.eo.h>
177# include <efl_ui_video.h>
178# include <efl_ui_nstate.h>
179# include <efl_ui_calendar.h>
180# include <efl_ui_button_eo.h>
181# include <efl_ui_multibuttonentry.h>
182# include <efl_ui_slider_eo.h>
183# include <efl_ui_flip_eo.h>
184# include <efl_ui_frame_eo.h>
185# include <efl_ui_check_eo.h>
186# include <efl_ui_image_zoomable_eo.h>
187# include <efl_ui_progressbar_eo.h>
188# include <efl_ui_radio_eo.h>
189# include <efl_ui_bg_eo.h>
190# include <efl_ui_panes_eo.h>
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
242#ifdef __cplusplus
243}
244#endif
245
246#undef EAPI
247#define EAPI
248
249#endif
250
251// We are including efl_general.h again, just in case Efl_Core.h was already included before this
252// and the __EFL_*_IS_REQUIRED changed since then.
253#include <efl_general.h>