summaryrefslogtreecommitdiff
path: root/legacy
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2004-11-25 05:18:31 +0000
committerCarsten Haitzler <raster@rasterman.com>2004-11-25 05:18:31 +0000
commitfeb5571092babd75eaf9bdbb3213663383c5043a (patch)
tree53887905a7619c70e00f61decfad76e55924e583 /legacy
parente984d6b4fb2670b0f63c039e71a6098962e4ae1c (diff)
hidden symbol support
SVN revision: 12252
Diffstat (limited to '')
-rw-r--r--legacy/ecore/src/lib/ecore/Ecore.h113
-rw-r--r--legacy/ecore/src/lib/ecore_con/Ecore_Con.h45
-rw-r--r--legacy/ecore/src/lib/ecore_config/Ecore_Config.h177
-rw-r--r--legacy/ecore/src/lib/ecore_evas/Ecore_Evas.h171
-rw-r--r--legacy/ecore/src/lib/ecore_fb/Ecore_Fb.h53
-rw-r--r--legacy/ecore/src/lib/ecore_ipc/Ecore_Ipc.h49
-rw-r--r--legacy/ecore/src/lib/ecore_job/Ecore_Job.h21
-rw-r--r--legacy/ecore/src/lib/ecore_txt/Ecore_Txt.h19
-rw-r--r--legacy/ecore/src/lib/ecore_x/Ecore_X.h549
-rw-r--r--legacy/edje/src/lib/Edje.h169
-rw-r--r--legacy/embryo/src/bin/embryo_main.c3
-rw-r--r--legacy/embryo/src/lib/Embryo.h87
-rw-r--r--legacy/evas/src/lib/Evas.h567
13 files changed, 1115 insertions, 908 deletions
diff --git a/legacy/ecore/src/lib/ecore/Ecore.h b/legacy/ecore/src/lib/ecore/Ecore.h
index 4d57c1f30c..f8b057c156 100644
--- a/legacy/ecore/src/lib/ecore/Ecore.h
+++ b/legacy/ecore/src/lib/ecore/Ecore.h
@@ -1,6 +1,23 @@
1#ifndef _ECORE_H 1#ifndef _ECORE_H
2#define _ECORE_H 2#define _ECORE_H
3 3
4#ifdef EAPI
5#undef EAPI
6#endif
7#ifdef WIN32
8# ifdef BUILDING_DLL
9# define EAPI __declspec(dllexport)
10# else
11# define EAPI __declspec(dllimport)
12# endif
13#else
14# ifdef GCC_HASCLASSVISIBILITY
15# define EAPI __attribute__ ((visibility("default")))
16# else
17# define EAPI
18# endif
19#endif
20
4/** 21/**
5 * @file Ecore.h 22 * @file Ecore.h
6 * @brief The file that provides the program utility, main loop and timer 23 * @brief The file that provides the program utility, main loop and timer
@@ -170,64 +187,64 @@ extern "C" {
170#endif 187#endif
171 }; 188 };
172 189
173 int ecore_init(void); 190 EAPI int ecore_init(void);
174 int ecore_shutdown(void); 191 EAPI int ecore_shutdown(void);
175 192
176 void ecore_app_args_set(int argc, const char **argv); 193 EAPI void ecore_app_args_set(int argc, const char **argv);
177 void ecore_app_args_get(int *argc, char ***argv); 194 EAPI void ecore_app_args_get(int *argc, char ***argv);
178 void ecore_app_restart(void); 195 EAPI void ecore_app_restart(void);
179 196
180 Ecore_Event_Handler *ecore_event_handler_add(int type, int (*func) (void *data, int type, void *event), const void *data); 197 EAPI Ecore_Event_Handler *ecore_event_handler_add(int type, int (*func) (void *data, int type, void *event), const void *data);
181 void *ecore_event_handler_del(Ecore_Event_Handler *event_handler); 198 EAPI void *ecore_event_handler_del(Ecore_Event_Handler *event_handler);
182 Ecore_Event *ecore_event_add(int type, void *ev, void (*func_free) (void *data, void *ev), void *data); 199 EAPI Ecore_Event *ecore_event_add(int type, void *ev, void (*func_free) (void *data, void *ev), void *data);
183 void *ecore_event_del(Ecore_Event *event); 200 EAPI void *ecore_event_del(Ecore_Event *event);
184 int ecore_event_type_new(void); 201 EAPI int ecore_event_type_new(void);
185 Ecore_Event_Filter *ecore_event_filter_add(void * (*func_start) (void *data), int (*func_filter) (void *data, void *loop_data, int type, void *event), void (*func_end) (void *data, void *loop_data), const void *data); 202 EAPI Ecore_Event_Filter *ecore_event_filter_add(void * (*func_start) (void *data), int (*func_filter) (void *data, void *loop_data, int type, void *event), void (*func_end) (void *data, void *loop_data), const void *data);
186 void *ecore_event_filter_del(Ecore_Event_Filter *ef); 203 EAPI void *ecore_event_filter_del(Ecore_Event_Filter *ef);
187 int ecore_event_current_type_get(void); 204 EAPI int ecore_event_current_type_get(void);
188 void *ecore_event_current_event_get(void); 205 EAPI void *ecore_event_current_event_get(void);
189 206
190 207
191#ifndef WIN32 208#ifndef WIN32
192 Ecore_Exe *ecore_exe_run(const char *exe_cmd, const void *data); 209 EAPI Ecore_Exe *ecore_exe_run(const char *exe_cmd, const void *data);
193 void *ecore_exe_free(Ecore_Exe *exe); 210 EAPI void *ecore_exe_free(Ecore_Exe *exe);
194 pid_t ecore_exe_pid_get(Ecore_Exe *exe); 211 EAPI pid_t ecore_exe_pid_get(Ecore_Exe *exe);
195 void *ecore_exe_data_get(Ecore_Exe *exe); 212 EAPI void *ecore_exe_data_get(Ecore_Exe *exe);
196 void ecore_exe_pause(Ecore_Exe *exe); 213 EAPI void ecore_exe_pause(Ecore_Exe *exe);
197 void ecore_exe_continue(Ecore_Exe *exe); 214 EAPI void ecore_exe_continue(Ecore_Exe *exe);
198 void ecore_exe_terminate(Ecore_Exe *exe); 215 EAPI void ecore_exe_terminate(Ecore_Exe *exe);
199 void ecore_exe_kill(Ecore_Exe *exe); 216 EAPI void ecore_exe_kill(Ecore_Exe *exe);
200 void ecore_exe_signal(Ecore_Exe *exe, int num); 217 EAPI void ecore_exe_signal(Ecore_Exe *exe, int num);
201 void ecore_exe_hup(Ecore_Exe *exe); 218 EAPI void ecore_exe_hup(Ecore_Exe *exe);
202#endif 219#endif
203 220
204 Ecore_Idler *ecore_idler_add(int (*func) (void *data), const void *data); 221 EAPI Ecore_Idler *ecore_idler_add(int (*func) (void *data), const void *data);
205 void *ecore_idler_del(Ecore_Idler *idler); 222 EAPI void *ecore_idler_del(Ecore_Idler *idler);
206 223
207 Ecore_Idle_Enterer *ecore_idle_enterer_add(int (*func) (void *data), const void *data); 224 EAPI Ecore_Idle_Enterer *ecore_idle_enterer_add(int (*func) (void *data), const void *data);
208 void *ecore_idle_enterer_del(Ecore_Idle_Enterer *idle_enterer); 225 EAPI void *ecore_idle_enterer_del(Ecore_Idle_Enterer *idle_enterer);
209 226
210 Ecore_Idle_Exiter *ecore_idle_exiter_add(int (*func) (void *data), const void *data); 227 EAPI Ecore_Idle_Exiter *ecore_idle_exiter_add(int (*func) (void *data), const void *data);
211 void *ecore_idle_exiter_del(Ecore_Idle_Exiter *idle_exiter); 228 EAPI void *ecore_idle_exiter_del(Ecore_Idle_Exiter *idle_exiter);
212 229
213 void ecore_main_loop_iterate(void); 230 EAPI void ecore_main_loop_iterate(void);
214 void ecore_main_loop_begin(void); 231 EAPI void ecore_main_loop_begin(void);
215 void ecore_main_loop_quit(void); 232 EAPI void ecore_main_loop_quit(void);
216 Ecore_Fd_Handler *ecore_main_fd_handler_add(int fd, Ecore_Fd_Handler_Flags flags, int (*func) (void *data, Ecore_Fd_Handler *fd_handler), const void *data, int (*buf_func) (void *buf_data, Ecore_Fd_Handler *fd_handler), const void *buf_data); 233 EAPI Ecore_Fd_Handler *ecore_main_fd_handler_add(int fd, Ecore_Fd_Handler_Flags flags, int (*func) (void *data, Ecore_Fd_Handler *fd_handler), const void *data, int (*buf_func) (void *buf_data, Ecore_Fd_Handler *fd_handler), const void *buf_data);
217 void *ecore_main_fd_handler_del(Ecore_Fd_Handler *fd_handler); 234 EAPI void *ecore_main_fd_handler_del(Ecore_Fd_Handler *fd_handler);
218 int ecore_main_fd_handler_fd_get(Ecore_Fd_Handler *fd_handler); 235 EAPI int ecore_main_fd_handler_fd_get(Ecore_Fd_Handler *fd_handler);
219 int ecore_main_fd_handler_active_get(Ecore_Fd_Handler *fd_handler, Ecore_Fd_Handler_Flags flags); 236 EAPI int ecore_main_fd_handler_active_get(Ecore_Fd_Handler *fd_handler, Ecore_Fd_Handler_Flags flags);
220 void ecore_main_fd_handler_active_set(Ecore_Fd_Handler *fd_handler, Ecore_Fd_Handler_Flags flags); 237 EAPI void ecore_main_fd_handler_active_set(Ecore_Fd_Handler *fd_handler, Ecore_Fd_Handler_Flags flags);
221 238
222 double ecore_time_get(void); 239 EAPI double ecore_time_get(void);
223 240
224 Ecore_Timer *ecore_timer_add(double in, int (*func) (void *data), const void *data); 241 EAPI Ecore_Timer *ecore_timer_add(double in, int (*func) (void *data), const void *data);
225 void *ecore_timer_del(Ecore_Timer *timer); 242 EAPI void *ecore_timer_del(Ecore_Timer *timer);
226 243
227 Ecore_Animator *ecore_animator_add(int (*func) (void *data), const void *data); 244 EAPI Ecore_Animator *ecore_animator_add(int (*func) (void *data), const void *data);
228 void *ecore_animator_del(Ecore_Animator *animator); 245 EAPI void *ecore_animator_del(Ecore_Animator *animator);
229 void ecore_animator_frametime_set(double frametime); 246 EAPI void ecore_animator_frametime_set(double frametime);
230 double ecore_animator_frametime_get(void); 247 EAPI double ecore_animator_frametime_get(void);
231 248
232#ifdef __cplusplus 249#ifdef __cplusplus
233} 250}
diff --git a/legacy/ecore/src/lib/ecore_con/Ecore_Con.h b/legacy/ecore/src/lib/ecore_con/Ecore_Con.h
index 401e16417b..3ae8bb19f0 100644
--- a/legacy/ecore/src/lib/ecore_con/Ecore_Con.h
+++ b/legacy/ecore/src/lib/ecore_con/Ecore_Con.h
@@ -1,6 +1,23 @@
1#ifndef _ECORE_CON_H 1#ifndef _ECORE_CON_H
2#define _ECORE_CON_H 2#define _ECORE_CON_H
3 3
4#ifdef EAPI
5#undef EAPI
6#endif
7#ifdef WIN32
8# ifdef BUILDING_DLL
9# define EAPI __declspec(dllexport)
10# else
11# define EAPI __declspec(dllimport)
12# endif
13#else
14# ifdef GCC_HASCLASSVISIBILITY
15# define EAPI __attribute__ ((visibility("default")))
16# else
17# define EAPI
18# endif
19#endif
20
4/** 21/**
5 * @file Ecore_Con.h 22 * @file Ecore_Con.h
6 * @brief Sockets functions. 23 * @brief Sockets functions.
@@ -99,24 +116,24 @@ extern "C" {
99 extern int ECORE_CON_EVENT_CLIENT_DATA; 116 extern int ECORE_CON_EVENT_CLIENT_DATA;
100 extern int ECORE_CON_EVENT_SERVER_DATA; 117 extern int ECORE_CON_EVENT_SERVER_DATA;
101 118
102 int ecore_con_init(void); 119 EAPI int ecore_con_init(void);
103 int ecore_con_shutdown(void); 120 EAPI int ecore_con_shutdown(void);
104 121
105 Ecore_Con_Server *ecore_con_server_add(Ecore_Con_Type type, char *name, int port, const void *data); 122 EAPI Ecore_Con_Server *ecore_con_server_add(Ecore_Con_Type type, char *name, int port, const void *data);
106 123
107 Ecore_Con_Server *ecore_con_server_connect(Ecore_Con_Type type, char *name, int port, const void *data); 124 EAPI Ecore_Con_Server *ecore_con_server_connect(Ecore_Con_Type type, char *name, int port, const void *data);
108 void *ecore_con_server_del(Ecore_Con_Server *svr); 125 EAPI void *ecore_con_server_del(Ecore_Con_Server *svr);
109 void *ecore_con_server_data_get(Ecore_Con_Server *svr); 126 EAPI void *ecore_con_server_data_get(Ecore_Con_Server *svr);
110 int ecore_con_server_connected_get(Ecore_Con_Server *svr); 127 EAPI int ecore_con_server_connected_get(Ecore_Con_Server *svr);
111 int ecore_con_server_send(Ecore_Con_Server *svr, void *data, int size); 128 EAPI int ecore_con_server_send(Ecore_Con_Server *svr, void *data, int size);
112 129
113 int ecore_con_client_send(Ecore_Con_Client *cl, void *data, int size); 130 EAPI int ecore_con_client_send(Ecore_Con_Client *cl, void *data, int size);
114 Ecore_Con_Server *ecore_con_client_server_get(Ecore_Con_Client *cl); 131 EAPI Ecore_Con_Server *ecore_con_client_server_get(Ecore_Con_Client *cl);
115 void *ecore_con_client_del(Ecore_Con_Client *cl); 132 EAPI void *ecore_con_client_del(Ecore_Con_Client *cl);
116 void ecore_con_client_data_set(Ecore_Con_Client *cl, const void *data); 133 EAPI void ecore_con_client_data_set(Ecore_Con_Client *cl, const void *data);
117 void *ecore_con_client_data_get(Ecore_Con_Client *cl); 134 EAPI void *ecore_con_client_data_get(Ecore_Con_Client *cl);
118 135
119 int ecore_con_ssl_available_get(void); 136 EAPI int ecore_con_ssl_available_get(void);
120 137
121 138
122#ifdef __cplusplus 139#ifdef __cplusplus
diff --git a/legacy/ecore/src/lib/ecore_config/Ecore_Config.h b/legacy/ecore/src/lib/ecore_config/Ecore_Config.h
index 17bb434055..ec9f5bd3fe 100644
--- a/legacy/ecore/src/lib/ecore_config/Ecore_Config.h
+++ b/legacy/ecore/src/lib/ecore_config/Ecore_Config.h
@@ -1,6 +1,23 @@
1#ifndef _ECORE_CONFIG_H 1#ifndef _ECORE_CONFIG_H
2# define _ECORE_CONFIG_H 2# define _ECORE_CONFIG_H
3 3
4#ifdef EAPI
5#undef EAPI
6#endif
7#ifdef WIN32
8# ifdef BUILDING_DLL
9# define EAPI __declspec(dllexport)
10# else
11# define EAPI __declspec(dllimport)
12# endif
13#else
14# ifdef GCC_HASCLASSVISIBILITY
15# define EAPI __attribute__ ((visibility("default")))
16# else
17# define EAPI
18# endif
19#endif
20
4/** 21/**
5 * @file 22 * @file
6 * @brief Provides the Enlightened Property Library. 23 * @brief Provides the Enlightened Property Library.
@@ -112,92 +129,92 @@ extern "C"
112# endif 129# endif
113 130
114/* global ptrs to save passing them through the API */ 131/* global ptrs to save passing them through the API */
115 extern Ecore_Config_Server *__ecore_config_server_global; 132 extern EAPI Ecore_Config_Server *__ecore_config_server_global;
116 extern Ecore_Config_Server *__ecore_config_server_local; 133 extern EAPI Ecore_Config_Server *__ecore_config_server_local;
117 extern Ecore_Config_Bundle *__ecore_config_bundle_local; 134 extern EAPI Ecore_Config_Bundle *__ecore_config_bundle_local;
118 extern char *__ecore_config_app_name; 135 extern EAPI char *__ecore_config_app_name;
119 136
120 Ecore_Config_Prop *ecore_config_get(const char *key); 137 EAPI Ecore_Config_Prop *ecore_config_get(const char *key);
121 const char *ecore_config_type_get(const Ecore_Config_Prop * e); 138 EAPI const char *ecore_config_type_get(const Ecore_Config_Prop * e);
122 int ecore_config_boolean_get(const char *key); 139 EAPI int ecore_config_boolean_get(const char *key);
123 void *ecore_config_data_get(const char *key); 140 EAPI void *ecore_config_data_get(const char *key);
124 char *ecore_config_string_get(const char *key); 141 EAPI char *ecore_config_string_get(const char *key);
125 long ecore_config_int_get(const char *key); 142 EAPI long ecore_config_int_get(const char *key);
126 int ecore_config_rgb_get(const char *key, int *r, int *g, 143 EAPI int ecore_config_rgb_get(const char *key, int *r, int *g,
127 int *b); 144 int *b);
128 int ecore_config_argb_get(const char *key, int *a, int *r, 145 EAPI int ecore_config_argb_get(const char *key, int *a, int *r,
129 int *g, int *b); 146 int *g, int *b);
130 char *ecore_config_rgbstr_get(const char *key); 147 EAPI char *ecore_config_rgbstr_get(const char *key);
131 char *ecore_config_argbstr_get(const char *key); 148 EAPI char *ecore_config_argbstr_get(const char *key);
132 float ecore_config_float_get(const char *key); 149 EAPI float ecore_config_float_get(const char *key);
133 char *ecore_config_theme_get(const char *key); 150 EAPI char *ecore_config_theme_get(const char *key);
134 char *ecore_config_as_string_get(const char *key); 151 EAPI char *ecore_config_as_string_get(const char *key);
135 int ecore_config_describe(const char *key, char *desc); 152 EAPI int ecore_config_describe(const char *key, char *desc);
136 int ecore_config_short_opt_set(const char *key, 153 EAPI int ecore_config_short_opt_set(const char *key,
137 char short_opt); 154 char short_opt);
138 int ecore_config_long_opt_set(const char *key, 155 EAPI int ecore_config_long_opt_set(const char *key,
139 char *long_opt); 156 char *long_opt);
140 int ecore_config_set(const char *key, char *val); 157 EAPI int ecore_config_set(const char *key, char *val);
141 int ecore_config_typed_set(const char *key, void *val, 158 EAPI int ecore_config_typed_set(const char *key, void *val,
142 int type); 159 int type);
143 int ecore_config_boolean_set(const char *key, int val); 160 EAPI int ecore_config_boolean_set(const char *key, int val);
144 int ecore_config_string_set(const char *key, char *val); 161 EAPI int ecore_config_string_set(const char *key, char *val);
145 int ecore_config_int_set(const char *key, int val); 162 EAPI int ecore_config_int_set(const char *key, int val);
146 int ecore_config_rgb_set(const char *key, char *val); 163 EAPI int ecore_config_rgb_set(const char *key, char *val);
147 int ecore_config_argb_set(const char *key, char *val); 164 EAPI int ecore_config_argb_set(const char *key, char *val);
148 int ecore_config_float_set(const char *key, float val); 165 EAPI int ecore_config_float_set(const char *key, float val);
149 int ecore_config_theme_set(const char *key, char *val); 166 EAPI int ecore_config_theme_set(const char *key, char *val);
150 int ecore_config_theme_preview_group_set(const char *key, 167 EAPI int ecore_config_theme_preview_group_set(const char *key,
151 char *group); 168 char *group);
152 int ecore_config_as_string_set(const char *key, char *val); 169 EAPI int ecore_config_as_string_set(const char *key, char *val);
153 170
154 int ecore_config_default(const char *key, char *val, 171 EAPI int ecore_config_default(const char *key, char *val,
155 float lo, float hi, float step); 172 float lo, float hi, float step);
156 int ecore_config_typed_default(const char *key, void *val, 173 EAPI int ecore_config_typed_default(const char *key, void *val,
157 int type); 174 int type);
158 int ecore_config_boolean_default(const char *key, int val); 175 EAPI int ecore_config_boolean_default(const char *key, int val);
159 int ecore_config_int_default(const char *key, int val); 176 EAPI int ecore_config_int_default(const char *key, int val);
160 int ecore_config_int_default_bound(const char *key, int val, 177 EAPI int ecore_config_int_default_bound(const char *key, int val,
161 int lo, int hi, int step); 178 int lo, int hi, int step);
162 int ecore_config_string_default(const char *key, char *val); 179 EAPI int ecore_config_string_default(const char *key, char *val);
163 int ecore_config_float_default(const char *key, float val); 180 EAPI int ecore_config_float_default(const char *key, float val);
164 int ecore_config_float_default_bound(const char *key, 181 EAPI int ecore_config_float_default_bound(const char *key,
165 float val, float lo, 182 float val, float lo,
166 float hi, float step); 183 float hi, float step);
167 int ecore_config_rgb_default(const char *key, char *val); 184 EAPI int ecore_config_rgb_default(const char *key, char *val);
168 int ecore_config_argb_default(const char *keym, char *val); 185 EAPI int ecore_config_argb_default(const char *keym, char *val);
169 int ecore_config_theme_default(const char *key, char *val); 186 EAPI int ecore_config_theme_default(const char *key, char *val);
170 187
171 int ecore_config_listen(const char *name, const char *key, 188 EAPI int ecore_config_listen(const char *name, const char *key,
172 Ecore_Config_Listener listener, 189 Ecore_Config_Listener listener,
173 int tag, void *data); 190 int tag, void *data);
174 int ecore_config_deaf(const char *name, const char *key, 191 EAPI int ecore_config_deaf(const char *name, const char *key,
175 Ecore_Config_Listener listener); 192 Ecore_Config_Listener listener);
176 Ecore_Config_Prop *ecore_config_dst(Ecore_Config_Prop * e); 193 EAPI Ecore_Config_Prop *ecore_config_dst(Ecore_Config_Prop * e);
177 int ecore_config_type_guess(const char *key, char *val); 194 EAPI int ecore_config_type_guess(const char *key, char *val);
178 195
179 Ecore_Config_Bundle *ecore_config_bundle_new(Ecore_Config_Server * srv, 196 EAPI Ecore_Config_Bundle *ecore_config_bundle_new(Ecore_Config_Server * srv,
180 const char *id); 197 const char *id);
181 Ecore_Config_Bundle *ecore_config_bundle_1st_get(Ecore_Config_Server * srv); 198 EAPI Ecore_Config_Bundle *ecore_config_bundle_1st_get(Ecore_Config_Server * srv);
182 Ecore_Config_Bundle *ecore_config_bundle_next_get(Ecore_Config_Bundle * ns); 199 EAPI Ecore_Config_Bundle *ecore_config_bundle_next_get(Ecore_Config_Bundle * ns);
183 Ecore_Config_Bundle *ecore_config_bundle_by_serial_get(Ecore_Config_Server * 200 EAPI Ecore_Config_Bundle *ecore_config_bundle_by_serial_get(Ecore_Config_Server *
184 srv, long serial); 201 srv, long serial);
185 Ecore_Config_Bundle *ecore_config_bundle_by_label_get(Ecore_Config_Server * 202 EAPI Ecore_Config_Bundle *ecore_config_bundle_by_label_get(Ecore_Config_Server *
186 srv, 203 srv,
187 const char *label); 204 const char *label);
188 long ecore_config_bundle_serial_get(Ecore_Config_Bundle * ns); 205 EAPI long ecore_config_bundle_serial_get(Ecore_Config_Bundle * ns);
189 char *ecore_config_bundle_label_get(Ecore_Config_Bundle * ns); 206 EAPI char *ecore_config_bundle_label_get(Ecore_Config_Bundle * ns);
190 207
191 int ecore_config_init(char *name); 208 EAPI int ecore_config_init(char *name);
192 int ecore_config_shutdown(void); 209 EAPI int ecore_config_shutdown(void);
193 210
194 int ecore_config_system_init(void); 211 EAPI int ecore_config_system_init(void);
195 int ecore_config_system_shutdown(void); 212 EAPI int ecore_config_system_shutdown(void);
196 213
197 int ecore_config_load(void); 214 EAPI int ecore_config_load(void);
198 int ecore_config_file_load(char *file); 215 EAPI int ecore_config_file_load(char *file);
199 int ecore_config_save(void); 216 EAPI int ecore_config_save(void);
200 int ecore_config_file_save(char *file); 217 EAPI int ecore_config_file_save(char *file);
201 218
202/* error codes */ 219/* error codes */
203# define ECORE_CONFIG_ERR_NOTSUPP (-16) 220# define ECORE_CONFIG_ERR_NOTSUPP (-16)
@@ -224,51 +241,51 @@ extern "C"
224 241
225/* convenience mathods in convenience.c */ 242/* convenience mathods in convenience.c */
226 /* FIXME: this should only be included if evas is present */ 243 /* FIXME: this should only be included if evas is present */
227 int ecore_config_evas_font_path_apply(Evas * evas); 244 EAPI int ecore_config_evas_font_path_apply(Evas * evas);
228 char *ecore_config_theme_search_path_get(void); 245 EAPI char *ecore_config_theme_search_path_get(void);
229 char *ecore_config_theme_default_path_get(void); 246 EAPI char *ecore_config_theme_default_path_get(void);
230 char *ecore_config_theme_with_path_from_name_get(char *name); 247 EAPI char *ecore_config_theme_with_path_from_name_get(char *name);
231 char *ecore_config_theme_with_path_get(const char *key); 248 EAPI char *ecore_config_theme_with_path_get(const char *key);
232 void ecore_config_args_display(void); 249 EAPI void ecore_config_args_display(void);
233 int ecore_config_args_parse(void); 250 EAPI int ecore_config_args_parse(void);
234 void ecore_config_app_describe(char *description); 251 EAPI void ecore_config_app_describe(char *description);
235 252
236 int ecore_config_create(const char *key, void *val, 253 EAPI int ecore_config_create(const char *key, void *val,
237 char short_opt, char *long_opt, 254 char short_opt, char *long_opt,
238 char *desc); 255 char *desc);
239 int ecore_config_typed_create(const char *key, void *val, 256 EAPI int ecore_config_typed_create(const char *key, void *val,
240 int type, char short_opt, 257 int type, char short_opt,
241 char *long_opt, char *desc); 258 char *long_opt, char *desc);
242 int ecore_config_boolean_create(const char *key, int val, 259 EAPI int ecore_config_boolean_create(const char *key, int val,
243 char short_opt, char *long_opt, 260 char short_opt, char *long_opt,
244 char *desc); 261 char *desc);
245 int ecore_config_int_create(const char *key, int val, 262 EAPI int ecore_config_int_create(const char *key, int val,
246 char short_opt, char *long_opt, 263 char short_opt, char *long_opt,
247 char *desc); 264 char *desc);
248 int ecore_config_int_create_bound(const char *key, int val, 265 EAPI int ecore_config_int_create_bound(const char *key, int val,
249 int low, int high, 266 int low, int high,
250 int step, char short_opt, 267 int step, char short_opt,
251 char *long_opt, 268 char *long_opt,
252 char *desc); 269 char *desc);
253 int ecore_config_string_create(const char *key, char *val, 270 EAPI int ecore_config_string_create(const char *key, char *val,
254 char short_opt, 271 char short_opt,
255 char *long_opt, char *desc); 272 char *long_opt, char *desc);
256 int ecore_config_float_create(const char *key, float val, 273 EAPI int ecore_config_float_create(const char *key, float val,
257 char short_opt, char *long_opt, 274 char short_opt, char *long_opt,
258 char *desc); 275 char *desc);
259 int ecore_config_float_create_bound(const char *key, 276 EAPI int ecore_config_float_create_bound(const char *key,
260 float val, float low, 277 float val, float low,
261 float high, float step, 278 float high, float step,
262 char short_opt, 279 char short_opt,
263 char *long_opt, 280 char *long_opt,
264 char *desc); 281 char *desc);
265 int ecore_config_rgb_create(const char *key, char *val, 282 EAPI int ecore_config_rgb_create(const char *key, char *val,
266 char short_opt, char *long_opt, 283 char short_opt, char *long_opt,
267 char *desc); 284 char *desc);
268 int ecore_config_argb_create(const char *key, char *val, 285 EAPI int ecore_config_argb_create(const char *key, char *val,
269 char short_opt, char *long_opt, 286 char short_opt, char *long_opt,
270 char *desc); 287 char *desc);
271 int ecore_config_theme_create(const char *key, char *val, 288 EAPI int ecore_config_theme_create(const char *key, char *val,
272 char short_opt, char *long_opt, 289 char short_opt, char *long_opt,
273 char *desc); 290 char *desc);
274 291
diff --git a/legacy/ecore/src/lib/ecore_evas/Ecore_Evas.h b/legacy/ecore/src/lib/ecore_evas/Ecore_Evas.h
index a20de6a16a..6f24d42689 100644
--- a/legacy/ecore/src/lib/ecore_evas/Ecore_Evas.h
+++ b/legacy/ecore/src/lib/ecore_evas/Ecore_Evas.h
@@ -1,6 +1,23 @@
1#ifndef _ECORE_EVAS_H 1#ifndef _ECORE_EVAS_H
2#define _ECORE_EVAS_H 2#define _ECORE_EVAS_H
3 3
4#ifdef EAPI
5#undef EAPI
6#endif
7#ifdef WIN32
8# ifdef BUILDING_DLL
9# define EAPI __declspec(dllexport)
10# else
11# define EAPI __declspec(dllimport)
12# endif
13#else
14# ifdef GCC_HASCLASSVISIBILITY
15# define EAPI __attribute__ ((visibility("default")))
16# else
17# define EAPI
18# endif
19#endif
20
4/** 21/**
5 * @file Ecore_Evas.h 22 * @file Ecore_Evas.h
6 * @brief Evas wrapper functions 23 * @brief Evas wrapper functions
@@ -50,90 +67,90 @@ typedef void Ecore_Evas;
50 67
51/* module setup/shutdown calls */ 68/* module setup/shutdown calls */
52 69
53int ecore_evas_engine_type_supported_get(Ecore_Evas_Engine_Type engine); 70EAPI int ecore_evas_engine_type_supported_get(Ecore_Evas_Engine_Type engine);
54 71
55int ecore_evas_init(void); 72EAPI int ecore_evas_init(void);
56int ecore_evas_shutdown(void); 73EAPI int ecore_evas_shutdown(void);
57 74
58/* engine/target specific init calls */ 75/* engine/target specific init calls */
59Ecore_Evas *ecore_evas_software_x11_new(const char *disp_name, Ecore_X_Window parent, int x, int y, int w, int h); 76EAPI Ecore_Evas *ecore_evas_software_x11_new(const char *disp_name, Ecore_X_Window parent, int x, int y, int w, int h);
60Ecore_X_Window ecore_evas_software_x11_window_get(Ecore_Evas *ee); 77EAPI Ecore_X_Window ecore_evas_software_x11_window_get(Ecore_Evas *ee);
61Ecore_X_Window ecore_evas_software_x11_subwindow_get(Ecore_Evas *ee); 78EAPI Ecore_X_Window ecore_evas_software_x11_subwindow_get(Ecore_Evas *ee);
62void ecore_evas_software_x11_direct_resize_set(Ecore_Evas *ee, int on); 79EAPI void ecore_evas_software_x11_direct_resize_set(Ecore_Evas *ee, int on);
63int ecore_evas_software_x11_direct_resize_get(Ecore_Evas *ee); 80EAPI int ecore_evas_software_x11_direct_resize_get(Ecore_Evas *ee);
64 81
65Ecore_Evas *ecore_evas_gl_x11_new(const char *disp_name, Ecore_X_Window parent, int x, int y, int w, int h); 82EAPI Ecore_Evas *ecore_evas_gl_x11_new(const char *disp_name, Ecore_X_Window parent, int x, int y, int w, int h);
66Ecore_X_Window ecore_evas_gl_x11_window_get(Ecore_Evas *ee); 83EAPI Ecore_X_Window ecore_evas_gl_x11_window_get(Ecore_Evas *ee);
67Ecore_X_Window ecore_evas_gl_x11_subwindow_get(Ecore_Evas *ee); 84EAPI Ecore_X_Window ecore_evas_gl_x11_subwindow_get(Ecore_Evas *ee);
68void ecore_evas_gl_x11_direct_resize_set(Ecore_Evas *ee, int on); 85EAPI void ecore_evas_gl_x11_direct_resize_set(Ecore_Evas *ee, int on);
69int ecore_evas_gl_x11_direct_resize_get(Ecore_Evas *ee); 86EAPI int ecore_evas_gl_x11_direct_resize_get(Ecore_Evas *ee);
70 87
71Ecore_Evas *ecore_evas_fb_new(char *disp_name, int rotation, int w, int h); 88EAPI Ecore_Evas *ecore_evas_fb_new(char *disp_name, int rotation, int w, int h);
72 89
73/* generic manipulation calls */ 90/* generic manipulation calls */
74void ecore_evas_free(Ecore_Evas *ee); 91EAPI void ecore_evas_free(Ecore_Evas *ee);
75void *ecore_evas_data_get(Ecore_Evas *ee, const char *key); 92EAPI void *ecore_evas_data_get(Ecore_Evas *ee, const char *key);
76void ecore_evas_data_set(Ecore_Evas *ee, const char *key, const void *data); 93EAPI void ecore_evas_data_set(Ecore_Evas *ee, const char *key, const void *data);
77void ecore_evas_callback_resize_set(Ecore_Evas *ee, void (*func) (Ecore_Evas *ee)); 94EAPI void ecore_evas_callback_resize_set(Ecore_Evas *ee, void (*func) (Ecore_Evas *ee));
78void ecore_evas_callback_move_set(Ecore_Evas *ee, void (*func) (Ecore_Evas *ee)); 95EAPI void ecore_evas_callback_move_set(Ecore_Evas *ee, void (*func) (Ecore_Evas *ee));
79void ecore_evas_callback_show_set(Ecore_Evas *ee, void (*func) (Ecore_Evas *ee)); 96EAPI void ecore_evas_callback_show_set(Ecore_Evas *ee, void (*func) (Ecore_Evas *ee));
80void ecore_evas_callback_hide_set(Ecore_Evas *ee, void (*func) (Ecore_Evas *ee)); 97EAPI void ecore_evas_callback_hide_set(Ecore_Evas *ee, void (*func) (Ecore_Evas *ee));
81void ecore_evas_callback_delete_request_set(Ecore_Evas *ee, void (*func) (Ecore_Evas *ee)); 98EAPI void ecore_evas_callback_delete_request_set(Ecore_Evas *ee, void (*func) (Ecore_Evas *ee));
82void ecore_evas_callback_destroy_set(Ecore_Evas *ee, void (*func) (Ecore_Evas *ee)); 99EAPI void ecore_evas_callback_destroy_set(Ecore_Evas *ee, void (*func) (Ecore_Evas *ee));
83void ecore_evas_callback_focus_in_set(Ecore_Evas *ee, void (*func) (Ecore_Evas *ee)); 100EAPI void ecore_evas_callback_focus_in_set(Ecore_Evas *ee, void (*func) (Ecore_Evas *ee));
84void ecore_evas_callback_focus_out_set(Ecore_Evas *ee, void (*func) (Ecore_Evas *ee)); 101EAPI void ecore_evas_callback_focus_out_set(Ecore_Evas *ee, void (*func) (Ecore_Evas *ee));
85void ecore_evas_callback_mouse_in_set(Ecore_Evas *ee, void (*func) (Ecore_Evas *ee)); 102EAPI void ecore_evas_callback_mouse_in_set(Ecore_Evas *ee, void (*func) (Ecore_Evas *ee));
86void ecore_evas_callback_mouse_out_set(Ecore_Evas *ee, void (*func) (Ecore_Evas *ee)); 103EAPI void ecore_evas_callback_mouse_out_set(Ecore_Evas *ee, void (*func) (Ecore_Evas *ee));
87void ecore_evas_callback_pre_render_set(Ecore_Evas *ee, void (*func) (Ecore_Evas *ee)); 104EAPI void ecore_evas_callback_pre_render_set(Ecore_Evas *ee, void (*func) (Ecore_Evas *ee));
88void ecore_evas_callback_post_render_set(Ecore_Evas *ee, void (*func) (Ecore_Evas *ee)); 105EAPI void ecore_evas_callback_post_render_set(Ecore_Evas *ee, void (*func) (Ecore_Evas *ee));
89Evas *ecore_evas_get(Ecore_Evas *ee); 106EAPI Evas *ecore_evas_get(Ecore_Evas *ee);
90void ecore_evas_move(Ecore_Evas *ee, int x, int y); 107EAPI void ecore_evas_move(Ecore_Evas *ee, int x, int y);
91void ecore_evas_resize(Ecore_Evas *ee, int w, int h); 108EAPI void ecore_evas_resize(Ecore_Evas *ee, int w, int h);
92void ecore_evas_move_resize(Ecore_Evas *ee, int x, int y, int w, int h); 109EAPI void ecore_evas_move_resize(Ecore_Evas *ee, int x, int y, int w, int h);
93void ecore_evas_geometry_get(Ecore_Evas *ee, int *x, int *y, int *w, int *h); 110EAPI void ecore_evas_geometry_get(Ecore_Evas *ee, int *x, int *y, int *w, int *h);
94void ecore_evas_rotation_set(Ecore_Evas *ee, int rot); 111EAPI void ecore_evas_rotation_set(Ecore_Evas *ee, int rot);
95int ecore_evas_rotation_get(Ecore_Evas *ee); 112EAPI int ecore_evas_rotation_get(Ecore_Evas *ee);
96void ecore_evas_shaped_set(Ecore_Evas *ee, int shaped); 113EAPI void ecore_evas_shaped_set(Ecore_Evas *ee, int shaped);
97int ecore_evas_shaped_get(Ecore_Evas *ee); 114EAPI int ecore_evas_shaped_get(Ecore_Evas *ee);
98void ecore_evas_show(Ecore_Evas *ee); 115EAPI void ecore_evas_show(Ecore_Evas *ee);
99void ecore_evas_hide(Ecore_Evas *ee); 116EAPI void ecore_evas_hide(Ecore_Evas *ee);
100int ecore_evas_visibility_get(Ecore_Evas *ee); 117EAPI int ecore_evas_visibility_get(Ecore_Evas *ee);
101void ecore_evas_raise(Ecore_Evas *ee); 118EAPI void ecore_evas_raise(Ecore_Evas *ee);
102void ecore_evas_lower(Ecore_Evas *ee); 119EAPI void ecore_evas_lower(Ecore_Evas *ee);
103void ecore_evas_title_set(Ecore_Evas *ee, const char *t); 120EAPI void ecore_evas_title_set(Ecore_Evas *ee, const char *t);
104const char *ecore_evas_title_get(Ecore_Evas *ee); 121EAPI const char *ecore_evas_title_get(Ecore_Evas *ee);
105void ecore_evas_name_class_set(Ecore_Evas *ee, const char *n, const char *c); 122EAPI void ecore_evas_name_class_set(Ecore_Evas *ee, const char *n, const char *c);
106void ecore_evas_name_class_get(Ecore_Evas *ee, const char **n, const char **c); 123EAPI void ecore_evas_name_class_get(Ecore_Evas *ee, const char **n, const char **c);
107void ecore_evas_size_min_set(Ecore_Evas *ee, int w, int h); 124EAPI void ecore_evas_size_min_set(Ecore_Evas *ee, int w, int h);
108void ecore_evas_size_min_get(Ecore_Evas *ee, int *w, int *h); 125EAPI void ecore_evas_size_min_get(Ecore_Evas *ee, int *w, int *h);
109void ecore_evas_size_max_set(Ecore_Evas *ee, int w, int h); 126EAPI void ecore_evas_size_max_set(Ecore_Evas *ee, int w, int h);
110void ecore_evas_size_max_get(Ecore_Evas *ee, int *w, int *h); 127EAPI void ecore_evas_size_max_get(Ecore_Evas *ee, int *w, int *h);
111void ecore_evas_size_base_set(Ecore_Evas *ee, int w, int h); 128EAPI void ecore_evas_size_base_set(Ecore_Evas *ee, int w, int h);
112void ecore_evas_size_base_get(Ecore_Evas *ee, int *w, int *h); 129EAPI void ecore_evas_size_base_get(Ecore_Evas *ee, int *w, int *h);
113void ecore_evas_size_step_set(Ecore_Evas *ee, int w, int h); 130EAPI void ecore_evas_size_step_set(Ecore_Evas *ee, int w, int h);
114void ecore_evas_size_step_get(Ecore_Evas *ee, int *w, int *h); 131EAPI void ecore_evas_size_step_get(Ecore_Evas *ee, int *w, int *h);
115void ecore_evas_cursor_set(Ecore_Evas *ee, const char *file, int layer, int hot_x, int hot_y); 132EAPI void ecore_evas_cursor_set(Ecore_Evas *ee, const char *file, int layer, int hot_x, int hot_y);
116void ecore_evas_cursor_get(Ecore_Evas *ee, char **file, int *layer, int *hot_x, int *hot_y); 133EAPI void ecore_evas_cursor_get(Ecore_Evas *ee, char **file, int *layer, int *hot_x, int *hot_y);
117void ecore_evas_layer_set(Ecore_Evas *ee, int layer); 134EAPI void ecore_evas_layer_set(Ecore_Evas *ee, int layer);
118int ecore_evas_layer_get(Ecore_Evas *ee); 135EAPI int ecore_evas_layer_get(Ecore_Evas *ee);
119void ecore_evas_focus_set(Ecore_Evas *ee, int on); 136EAPI void ecore_evas_focus_set(Ecore_Evas *ee, int on);
120int ecore_evas_focus_get(Ecore_Evas *ee); 137EAPI int ecore_evas_focus_get(Ecore_Evas *ee);
121void ecore_evas_iconified_set(Ecore_Evas *ee, int on); 138EAPI void ecore_evas_iconified_set(Ecore_Evas *ee, int on);
122int ecore_evas_iconified_get(Ecore_Evas *ee); 139EAPI int ecore_evas_iconified_get(Ecore_Evas *ee);
123void ecore_evas_borderless_set(Ecore_Evas *ee, int on); 140EAPI void ecore_evas_borderless_set(Ecore_Evas *ee, int on);
124int ecore_evas_borderless_get(Ecore_Evas *ee); 141EAPI int ecore_evas_borderless_get(Ecore_Evas *ee);
125void ecore_evas_override_set(Ecore_Evas *ee, int on); 142EAPI void ecore_evas_override_set(Ecore_Evas *ee, int on);
126int ecore_evas_override_get(Ecore_Evas *ee); 143EAPI int ecore_evas_override_get(Ecore_Evas *ee);
127void ecore_evas_maximized_set(Ecore_Evas *ee, int on); 144EAPI void ecore_evas_maximized_set(Ecore_Evas *ee, int on);
128int ecore_evas_maximized_get(Ecore_Evas *ee); 145EAPI int ecore_evas_maximized_get(Ecore_Evas *ee);
129void ecore_evas_fullscreen_set(Ecore_Evas *ee, int on); 146EAPI void ecore_evas_fullscreen_set(Ecore_Evas *ee, int on);
130int ecore_evas_fullscreen_get(Ecore_Evas *ee); 147EAPI int ecore_evas_fullscreen_get(Ecore_Evas *ee);
131void ecore_evas_avoid_damage_set(Ecore_Evas *ee, int on); 148EAPI void ecore_evas_avoid_damage_set(Ecore_Evas *ee, int on);
132int ecore_evas_avoid_damage_get(Ecore_Evas *ee); 149EAPI int ecore_evas_avoid_damage_get(Ecore_Evas *ee);
133void ecore_evas_withdrawn_set(Ecore_Evas *ee, int withdrawn); 150EAPI void ecore_evas_withdrawn_set(Ecore_Evas *ee, int withdrawn);
134int ecore_evas_withdrawn_get(Ecore_Evas *ee); 151EAPI int ecore_evas_withdrawn_get(Ecore_Evas *ee);
135void ecore_evas_sticky_set(Ecore_Evas *ee, int sticky); 152EAPI void ecore_evas_sticky_set(Ecore_Evas *ee, int sticky);
136int ecore_evas_sticky_get(Ecore_Evas *ee); 153EAPI int ecore_evas_sticky_get(Ecore_Evas *ee);
137 154
138#ifdef __cplusplus 155#ifdef __cplusplus
139} 156}
diff --git a/legacy/ecore/src/lib/ecore_fb/Ecore_Fb.h b/legacy/ecore/src/lib/ecore_fb/Ecore_Fb.h
index 0296c17c8f..9f2b907d2c 100644
--- a/legacy/ecore/src/lib/ecore_fb/Ecore_Fb.h
+++ b/legacy/ecore/src/lib/ecore_fb/Ecore_Fb.h
@@ -1,6 +1,23 @@
1#ifndef _ECORE_FB_H 1#ifndef _ECORE_FB_H
2#define _ECORE_FB_H 2#define _ECORE_FB_H
3 3
4#ifdef EAPI
5#undef EAPI
6#endif
7#ifdef WIN32
8# ifdef BUILDING_DLL
9# define EAPI __declspec(dllexport)
10# else
11# define EAPI __declspec(dllimport)
12# endif
13#else
14# ifdef GCC_HASCLASSVISIBILITY
15# define EAPI __attribute__ ((visibility("default")))
16# else
17# define EAPI
18# endif
19#endif
20
4/** 21/**
5 * @file 22 * @file
6 * @brief Ecore frame buffer system functions. 23 * @brief Ecore frame buffer system functions.
@@ -60,33 +77,33 @@ struct _Ecore_Fb_Event_Mouse_Move /** FB Mouse Move event */
60 int y; /**< Mouse co-ordinates where the mouse cursor moved to */ 77 int y; /**< Mouse co-ordinates where the mouse cursor moved to */
61}; 78};
62 79
63int ecore_fb_init(const char *name); 80EAPI int ecore_fb_init(const char *name);
64int ecore_fb_shutdown(void); 81EAPI int ecore_fb_shutdown(void);
65 82
66void ecore_fb_double_click_time_set(double t); 83EAPI void ecore_fb_double_click_time_set(double t);
67double ecore_fb_double_click_time_get(void); 84EAPI double ecore_fb_double_click_time_get(void);
68 85
69void ecore_fb_size_get(int *w, int *h); 86EAPI void ecore_fb_size_get(int *w, int *h);
70 87
71void ecore_fb_touch_screen_calibrate_set(int xscale, int xtrans, int yscale, int ytrans, int xyswap); 88EAPI void ecore_fb_touch_screen_calibrate_set(int xscale, int xtrans, int yscale, int ytrans, int xyswap);
72void ecore_fb_touch_screen_calibrate_get(int *xscale, int *xtrans, int *yscale, int *ytrans, int *xyswap); 89EAPI void ecore_fb_touch_screen_calibrate_get(int *xscale, int *xtrans, int *yscale, int *ytrans, int *xyswap);
73 90
74void ecore_fb_backlight_set(int on); 91EAPI void ecore_fb_backlight_set(int on);
75int ecore_fb_backlight_get(void); 92EAPI int ecore_fb_backlight_get(void);
76 93
77void ecore_fb_backlight_brightness_set(double br); 94EAPI void ecore_fb_backlight_brightness_set(double br);
78double ecore_fb_backlight_brightness_get(void); 95EAPI double ecore_fb_backlight_brightness_get(void);
79 96
80void ecore_fb_led_set(int on); 97EAPI void ecore_fb_led_set(int on);
81void ecore_fb_led_blink_set(double speed); 98EAPI void ecore_fb_led_blink_set(double speed);
82 99
83void ecore_fb_contrast_set(double cr); 100EAPI void ecore_fb_contrast_set(double cr);
84double ecore_fb_contrast_get(void); 101EAPI double ecore_fb_contrast_get(void);
85 102
86double ecore_fb_light_sensor_get(void); 103EAPI double ecore_fb_light_sensor_get(void);
87 104
88void ecore_fb_callback_gain_set(void (*func) (void *data), void *data); 105EAPI void ecore_fb_callback_gain_set(void (*func) (void *data), void *data);
89void ecore_fb_callback_lose_set(void (*func) (void *data), void *data); 106EAPI void ecore_fb_callback_lose_set(void (*func) (void *data), void *data);
90 107
91#ifdef __cplusplus 108#ifdef __cplusplus
92} 109}
diff --git a/legacy/ecore/src/lib/ecore_ipc/Ecore_Ipc.h b/legacy/ecore/src/lib/ecore_ipc/Ecore_Ipc.h
index 407c6a3575..ecb9c1c220 100644
--- a/legacy/ecore/src/lib/ecore_ipc/Ecore_Ipc.h
+++ b/legacy/ecore/src/lib/ecore_ipc/Ecore_Ipc.h
@@ -1,6 +1,23 @@
1#ifndef _ECORE_IPC_H 1#ifndef _ECORE_IPC_H
2#define _ECORE_IPC_H 2#define _ECORE_IPC_H
3 3
4#ifdef EAPI
5#undef EAPI
6#endif
7#ifdef WIN32
8# ifdef BUILDING_DLL
9# define EAPI __declspec(dllexport)
10# else
11# define EAPI __declspec(dllimport)
12# endif
13#else
14# ifdef GCC_HASCLASSVISIBILITY
15# define EAPI __attribute__ ((visibility("default")))
16# else
17# define EAPI
18# endif
19#endif
20
4/** 21/**
5 * @file Ecore_Ipc.h 22 * @file Ecore_Ipc.h
6 * @brief Ecore inter-process communication functions. 23 * @brief Ecore inter-process communication functions.
@@ -83,29 +100,31 @@ extern "C" {
83 extern int ECORE_IPC_EVENT_CLIENT_DATA; 100 extern int ECORE_IPC_EVENT_CLIENT_DATA;
84 extern int ECORE_IPC_EVENT_SERVER_DATA; 101 extern int ECORE_IPC_EVENT_SERVER_DATA;
85 102
86 int ecore_ipc_init(void); 103 EAPI int ecore_ipc_init(void);
87 int ecore_ipc_shutdown(void); 104 EAPI int ecore_ipc_shutdown(void);
88 105
89 /* FIXME: need to add protocol type parameter */ 106 /* FIXME: need to add protocol type parameter */
90 Ecore_Ipc_Server *ecore_ipc_server_add(Ecore_Ipc_Type type, char *name, int port, const void *data); 107 EAPI Ecore_Ipc_Server *ecore_ipc_server_add(Ecore_Ipc_Type type, char *name, int port, const void *data);
91 108
92 /* FIXME: need to add protocol type parameter */ 109 /* FIXME: need to add protocol type parameter */
93 Ecore_Ipc_Server *ecore_ipc_server_connect(Ecore_Ipc_Type type, char *name, int port, const void *data); 110 EAPI Ecore_Ipc_Server *ecore_ipc_server_connect(Ecore_Ipc_Type type, char *name, int port, const void *data);
94 void *ecore_ipc_server_del(Ecore_Ipc_Server *svr); 111 EAPI void *ecore_ipc_server_del(Ecore_Ipc_Server *svr);
95 void *ecore_ipc_server_data_get(Ecore_Ipc_Server *svr); 112 EAPI void *ecore_ipc_server_data_get(Ecore_Ipc_Server *svr);
96 int ecore_ipc_server_connected_get(Ecore_Ipc_Server *svr); 113 EAPI int ecore_ipc_server_connected_get(Ecore_Ipc_Server *svr);
97 /* FIXME: this needs to become an ipc message */ 114 /* FIXME: this needs to become an ipc message */
98 int ecore_ipc_server_send(Ecore_Ipc_Server *svr, int major, int minor, int ref, int ref_to, int response, void *data, int size); 115 EAPI int ecore_ipc_server_send(Ecore_Ipc_Server *svr, int major, int minor, int ref, int ref_to, int response, void *data, int size);
99 116
100 /* FIXME: this needs to become an ipc message */ 117 /* FIXME: this needs to become an ipc message */
101 int ecore_ipc_client_send(Ecore_Ipc_Client *cl, int major, int minor, int ref, int ref_to, int response, void *data, int size); 118 EAPI int ecore_ipc_client_send(Ecore_Ipc_Client *cl, int major, int minor, int ref, int ref_to, int response, void *data, int size);
102 Ecore_Ipc_Server *ecore_ipc_client_server_get(Ecore_Ipc_Client *cl); 119 EAPI Ecore_Ipc_Server *ecore_ipc_client_server_get(Ecore_Ipc_Client *cl);
103 void *ecore_ipc_client_del(Ecore_Ipc_Client *cl); 120 EAPI void *ecore_ipc_client_del(Ecore_Ipc_Client *cl);
104 void ecore_ipc_client_data_set(Ecore_Ipc_Client *cl, const void *data); 121 EAPI void ecore_ipc_client_data_set(Ecore_Ipc_Client *cl, const void *data);
105 void *ecore_ipc_client_data_get(Ecore_Ipc_Client *cl); 122 EAPI void *ecore_ipc_client_data_get(Ecore_Ipc_Client *cl);
123
124 EAPI int ecore_ipc_ssl_available_get(void);
125 /* FIXME: need to add a callback to "ok" large ipc messages greater than */
126 /* a certain size (seurity/DOS attack safety) */
106 127
107 int ecore_ipc_ssl_available_get(void);
108
109#ifdef __cplusplus 128#ifdef __cplusplus
110} 129}
111#endif 130#endif
diff --git a/legacy/ecore/src/lib/ecore_job/Ecore_Job.h b/legacy/ecore/src/lib/ecore_job/Ecore_Job.h
index 2eefac487b..e676ede988 100644
--- a/legacy/ecore/src/lib/ecore_job/Ecore_Job.h
+++ b/legacy/ecore/src/lib/ecore_job/Ecore_Job.h
@@ -1,6 +1,23 @@
1#ifndef _ECORE_JOB_H 1#ifndef _ECORE_JOB_H
2#define _ECORE_JOB_H 2#define _ECORE_JOB_H
3 3
4#ifdef EAPI
5#undef EAPI
6#endif
7#ifdef WIN32
8# ifdef BUILDING_DLL
9# define EAPI __declspec(dllexport)
10# else
11# define EAPI __declspec(dllimport)
12# endif
13#else
14# ifdef GCC_HASCLASSVISIBILITY
15# define EAPI __attribute__ ((visibility("default")))
16# else
17# define EAPI
18# endif
19#endif
20
4/** 21/**
5 * @file 22 * @file
6 * @brief Functions for dealing with Ecore jobs. 23 * @brief Functions for dealing with Ecore jobs.
@@ -14,8 +31,8 @@ extern "C" {
14typedef void Ecore_Job; /**< A job handle */ 31typedef void Ecore_Job; /**< A job handle */
15#endif 32#endif
16 33
17Ecore_Job *ecore_job_add(void (*func) (void *data), const void *data); 34EAPI Ecore_Job *ecore_job_add(void (*func) (void *data), const void *data);
18void *ecore_job_del(Ecore_Job *job); 35EAPI void *ecore_job_del(Ecore_Job *job);
19 36
20#ifdef __cplusplus 37#ifdef __cplusplus
21} 38}
diff --git a/legacy/ecore/src/lib/ecore_txt/Ecore_Txt.h b/legacy/ecore/src/lib/ecore_txt/Ecore_Txt.h
index bce6df3e23..ffdf53ff24 100644
--- a/legacy/ecore/src/lib/ecore_txt/Ecore_Txt.h
+++ b/legacy/ecore/src/lib/ecore_txt/Ecore_Txt.h
@@ -1,6 +1,23 @@
1#ifndef _ECORE_TXT_H 1#ifndef _ECORE_TXT_H
2#define _ECORE_TXT_H 2#define _ECORE_TXT_H
3 3
4#ifdef EAPI
5#undef EAPI
6#endif
7#ifdef WIN32
8# ifdef BUILDING_DLL
9# define EAPI __declspec(dllexport)
10# else
11# define EAPI __declspec(dllimport)
12# endif
13#else
14# ifdef GCC_HASCLASSVISIBILITY
15# define EAPI __attribute__ ((visibility("default")))
16# else
17# define EAPI
18# endif
19#endif
20
4/** 21/**
5 * @file Ecore_Txt.h 22 * @file Ecore_Txt.h
6 * @brief Provides a text encoding conversion function. 23 * @brief Provides a text encoding conversion function.
@@ -10,7 +27,7 @@
10extern "C" { 27extern "C" {
11#endif 28#endif
12 29
13char *ecore_txt_convert(char *enc_from, char *enc_to, char *text); 30EAPI char *ecore_txt_convert(char *enc_from, char *enc_to, char *text);
14 31
15#ifdef __cplusplus 32#ifdef __cplusplus
16} 33}
diff --git a/legacy/ecore/src/lib/ecore_x/Ecore_X.h b/legacy/ecore/src/lib/ecore_x/Ecore_X.h
index 4d86a4d978..2d14b14982 100644
--- a/legacy/ecore/src/lib/ecore_x/Ecore_X.h
+++ b/legacy/ecore/src/lib/ecore_x/Ecore_X.h
@@ -5,6 +5,23 @@
5#ifndef _ECORE_X_H 5#ifndef _ECORE_X_H
6#define _ECORE_X_H 6#define _ECORE_X_H
7 7
8#ifdef EAPI
9#undef EAPI
10#endif
11#ifdef WIN32
12# ifdef BUILDING_DLL
13# define EAPI __declspec(dllexport)
14# else
15# define EAPI __declspec(dllimport)
16# endif
17#else
18# ifdef GCC_HASCLASSVISIBILITY
19# define EAPI __attribute__ ((visibility("default")))
20# else
21# define EAPI
22# endif
23#endif
24
8/** 25/**
9 * @file 26 * @file
10 * @brief Ecore functions for dealing with the X Windows System 27 * @brief Ecore functions for dealing with the X Windows System
@@ -49,11 +66,11 @@ typedef struct _Ecore_X_Rectangle {
49 66
50#define ECORE_X_CURRENT_TIME 0 67#define ECORE_X_CURRENT_TIME 0
51 68
52extern Ecore_X_Atom ECORE_X_DND_ACTION_COPY; 69extern EAPI Ecore_X_Atom ECORE_X_DND_ACTION_COPY;
53extern Ecore_X_Atom ECORE_X_DND_ACTION_MOVE; 70extern EAPI Ecore_X_Atom ECORE_X_DND_ACTION_MOVE;
54extern Ecore_X_Atom ECORE_X_DND_ACTION_LINK; 71extern EAPI Ecore_X_Atom ECORE_X_DND_ACTION_LINK;
55extern Ecore_X_Atom ECORE_X_DND_ACTION_ASK; 72extern EAPI Ecore_X_Atom ECORE_X_DND_ACTION_ASK;
56extern Ecore_X_Atom ECORE_X_DND_ACTION_PRIVATE; 73extern EAPI Ecore_X_Atom ECORE_X_DND_ACTION_PRIVATE;
57 74
58typedef enum _Ecore_X_Selection { 75typedef enum _Ecore_X_Selection {
59 ECORE_X_SELECTION_PRIMARY, 76 ECORE_X_SELECTION_PRIMARY,
@@ -562,65 +579,65 @@ struct _Ecore_X_Event_Window_Prop_Desktop_Change
562 Ecore_X_Time time; 579 Ecore_X_Time time;
563}; 580};
564 581
565extern int ECORE_X_EVENT_KEY_DOWN; 582extern EAPI int ECORE_X_EVENT_KEY_DOWN;
566extern int ECORE_X_EVENT_KEY_UP; 583extern EAPI int ECORE_X_EVENT_KEY_UP;
567extern int ECORE_X_EVENT_MOUSE_BUTTON_DOWN; 584extern EAPI int ECORE_X_EVENT_MOUSE_BUTTON_DOWN;
568extern int ECORE_X_EVENT_MOUSE_BUTTON_UP; 585extern EAPI int ECORE_X_EVENT_MOUSE_BUTTON_UP;
569extern int ECORE_X_EVENT_MOUSE_MOVE; 586extern EAPI int ECORE_X_EVENT_MOUSE_MOVE;
570extern int ECORE_X_EVENT_MOUSE_IN; 587extern EAPI int ECORE_X_EVENT_MOUSE_IN;
571extern int ECORE_X_EVENT_MOUSE_OUT; 588extern EAPI int ECORE_X_EVENT_MOUSE_OUT;
572extern int ECORE_X_EVENT_MOUSE_WHEEL; 589extern EAPI int ECORE_X_EVENT_MOUSE_WHEEL;
573extern int ECORE_X_EVENT_WINDOW_FOCUS_IN; 590extern EAPI int ECORE_X_EVENT_WINDOW_FOCUS_IN;
574extern int ECORE_X_EVENT_WINDOW_FOCUS_OUT; 591extern EAPI int ECORE_X_EVENT_WINDOW_FOCUS_OUT;
575extern int ECORE_X_EVENT_WINDOW_KEYMAP; 592extern EAPI int ECORE_X_EVENT_WINDOW_KEYMAP;
576extern int ECORE_X_EVENT_WINDOW_DAMAGE; 593extern EAPI int ECORE_X_EVENT_WINDOW_DAMAGE;
577extern int ECORE_X_EVENT_WINDOW_VISIBILITY_CHANGE; 594extern EAPI int ECORE_X_EVENT_WINDOW_VISIBILITY_CHANGE;
578extern int ECORE_X_EVENT_WINDOW_CREATE; 595extern EAPI int ECORE_X_EVENT_WINDOW_CREATE;
579extern int ECORE_X_EVENT_WINDOW_DESTROY; 596extern EAPI int ECORE_X_EVENT_WINDOW_DESTROY;
580extern int ECORE_X_EVENT_WINDOW_HIDE; 597extern EAPI int ECORE_X_EVENT_WINDOW_HIDE;
581extern int ECORE_X_EVENT_WINDOW_SHOW; 598extern EAPI int ECORE_X_EVENT_WINDOW_SHOW;
582extern int ECORE_X_EVENT_WINDOW_SHOW_REQUEST; 599extern EAPI int ECORE_X_EVENT_WINDOW_SHOW_REQUEST;
583extern int ECORE_X_EVENT_WINDOW_REPARENT; 600extern EAPI int ECORE_X_EVENT_WINDOW_REPARENT;
584extern int ECORE_X_EVENT_WINDOW_CONFIGURE; 601extern EAPI int ECORE_X_EVENT_WINDOW_CONFIGURE;
585extern int ECORE_X_EVENT_WINDOW_CONFIGURE_REQUEST; 602extern EAPI int ECORE_X_EVENT_WINDOW_CONFIGURE_REQUEST;
586extern int ECORE_X_EVENT_WINDOW_GRAVITY; 603extern EAPI int ECORE_X_EVENT_WINDOW_GRAVITY;
587extern int ECORE_X_EVENT_WINDOW_RESIZE_REQUEST; 604extern EAPI int ECORE_X_EVENT_WINDOW_RESIZE_REQUEST;
588extern int ECORE_X_EVENT_WINDOW_STACK; 605extern EAPI int ECORE_X_EVENT_WINDOW_STACK;
589extern int ECORE_X_EVENT_WINDOW_STACK_REQUEST; 606extern EAPI int ECORE_X_EVENT_WINDOW_STACK_REQUEST;
590extern int ECORE_X_EVENT_WINDOW_PROPERTY; 607extern EAPI int ECORE_X_EVENT_WINDOW_PROPERTY;
591extern int ECORE_X_EVENT_WINDOW_COLORMAP; 608extern EAPI int ECORE_X_EVENT_WINDOW_COLORMAP;
592extern int ECORE_X_EVENT_WINDOW_MAPPING; 609extern EAPI int ECORE_X_EVENT_WINDOW_MAPPING;
593extern int ECORE_X_EVENT_SELECTION_CLEAR; 610extern EAPI int ECORE_X_EVENT_SELECTION_CLEAR;
594extern int ECORE_X_EVENT_SELECTION_REQUEST; 611extern EAPI int ECORE_X_EVENT_SELECTION_REQUEST;
595extern int ECORE_X_EVENT_SELECTION_NOTIFY; 612extern EAPI int ECORE_X_EVENT_SELECTION_NOTIFY;
596extern int ECORE_X_EVENT_CLIENT_MESSAGE; 613extern EAPI int ECORE_X_EVENT_CLIENT_MESSAGE;
597extern int ECORE_X_EVENT_WINDOW_SHAPE; 614extern EAPI int ECORE_X_EVENT_WINDOW_SHAPE;
598 615
599extern int ECORE_X_EVENT_WINDOW_DELETE_REQUEST; 616extern EAPI int ECORE_X_EVENT_WINDOW_DELETE_REQUEST;
600extern int ECORE_X_EVENT_WINDOW_PROP_TITLE_CHANGE; 617extern EAPI int ECORE_X_EVENT_WINDOW_PROP_TITLE_CHANGE;
601extern int ECORE_X_EVENT_WINDOW_PROP_VISIBLE_TITLE_CHANGE; 618extern EAPI int ECORE_X_EVENT_WINDOW_PROP_VISIBLE_TITLE_CHANGE;
602extern int ECORE_X_EVENT_WINDOW_PROP_ICON_NAME_CHANGE; 619extern EAPI int ECORE_X_EVENT_WINDOW_PROP_ICON_NAME_CHANGE;
603extern int ECORE_X_EVENT_WINDOW_PROP_VISIBLE_ICON_NAME_CHANGE; 620extern EAPI int ECORE_X_EVENT_WINDOW_PROP_VISIBLE_ICON_NAME_CHANGE;
604extern int ECORE_X_EVENT_WINDOW_PROP_CLIENT_MACHINE_CHANGE; 621extern EAPI int ECORE_X_EVENT_WINDOW_PROP_CLIENT_MACHINE_CHANGE;
605extern int ECORE_X_EVENT_WINDOW_PROP_NAME_CLASS_CHANGE; 622extern EAPI int ECORE_X_EVENT_WINDOW_PROP_NAME_CLASS_CHANGE;
606extern int ECORE_X_EVENT_WINDOW_PROP_PID_CHANGE; 623extern EAPI int ECORE_X_EVENT_WINDOW_PROP_PID_CHANGE;
607extern int ECORE_X_EVENT_WINDOW_PROP_DESKTOP_CHANGE; 624extern EAPI int ECORE_X_EVENT_WINDOW_PROP_DESKTOP_CHANGE;
608 625
609extern int ECORE_X_EVENT_XDND_ENTER; 626extern EAPI int ECORE_X_EVENT_XDND_ENTER;
610extern int ECORE_X_EVENT_XDND_POSITION; 627extern EAPI int ECORE_X_EVENT_XDND_POSITION;
611extern int ECORE_X_EVENT_XDND_STATUS; 628extern EAPI int ECORE_X_EVENT_XDND_STATUS;
612extern int ECORE_X_EVENT_XDND_LEAVE; 629extern EAPI int ECORE_X_EVENT_XDND_LEAVE;
613extern int ECORE_X_EVENT_XDND_DROP; 630extern EAPI int ECORE_X_EVENT_XDND_DROP;
614extern int ECORE_X_EVENT_XDND_FINISHED; 631extern EAPI int ECORE_X_EVENT_XDND_FINISHED;
615 632
616extern int ECORE_X_MODIFIER_SHIFT; 633extern EAPI int ECORE_X_MODIFIER_SHIFT;
617extern int ECORE_X_MODIFIER_CTRL; 634extern EAPI int ECORE_X_MODIFIER_CTRL;
618extern int ECORE_X_MODIFIER_ALT; 635extern EAPI int ECORE_X_MODIFIER_ALT;
619extern int ECORE_X_MODIFIER_WIN; 636extern EAPI int ECORE_X_MODIFIER_WIN;
620 637
621extern int ECORE_X_LOCK_SCROLL; 638extern EAPI int ECORE_X_LOCK_SCROLL;
622extern int ECORE_X_LOCK_NUM; 639extern EAPI int ECORE_X_LOCK_NUM;
623extern int ECORE_X_LOCK_CAPS; 640extern EAPI int ECORE_X_LOCK_CAPS;
624 641
625#ifndef _ECORE_X_PRIVATE_H 642#ifndef _ECORE_X_PRIVATE_H
626typedef enum _Ecore_X_WM_Protocol { 643typedef enum _Ecore_X_WM_Protocol {
@@ -744,198 +761,198 @@ typedef enum _Ecore_X_Window_Stack_Mode {
744#define ECORE_X_WINDOW_LAYER_NORMAL 4 761#define ECORE_X_WINDOW_LAYER_NORMAL 4
745#define ECORE_X_WINDOW_LAYER_ABOVE 6 762#define ECORE_X_WINDOW_LAYER_ABOVE 6
746 763
747int ecore_x_init(const char *name); 764EAPI int ecore_x_init(const char *name);
748int ecore_x_shutdown(void); 765EAPI int ecore_x_shutdown(void);
749int ecore_x_disconnect(void); 766EAPI int ecore_x_disconnect(void);
750Ecore_X_Display *ecore_x_display_get(void); 767EAPI Ecore_X_Display *ecore_x_display_get(void);
751int ecore_x_fd_get(void); 768EAPI int ecore_x_fd_get(void);
752void ecore_x_double_click_time_set(double t); 769EAPI void ecore_x_double_click_time_set(double t);
753double ecore_x_double_click_time_get(void); 770EAPI double ecore_x_double_click_time_get(void);
754void ecore_x_flush(void); 771EAPI void ecore_x_flush(void);
755void ecore_x_sync(void); 772EAPI void ecore_x_sync(void);
756void ecore_x_killall(Ecore_X_Window root); 773EAPI void ecore_x_killall(Ecore_X_Window root);
757 774
758void ecore_x_error_handler_set(void (*func) (void *data), const void *data); 775EAPI void ecore_x_error_handler_set(void (*func) (void *data), const void *data);
759void ecore_x_io_error_handler_set(void (*func) (void *data), const void *data); 776EAPI void ecore_x_io_error_handler_set(void (*func) (void *data), const void *data);
760int ecore_x_error_request_get(void); 777EAPI int ecore_x_error_request_get(void);
761int ecore_x_error_code_get(void); 778EAPI int ecore_x_error_code_get(void);
762 779
763void ecore_x_event_mask_set(Ecore_X_Window w, Ecore_X_Event_Mask mask); 780EAPI void ecore_x_event_mask_set(Ecore_X_Window w, Ecore_X_Event_Mask mask);
764void ecore_x_event_mask_unset(Ecore_X_Window w, Ecore_X_Event_Mask mask); 781EAPI void ecore_x_event_mask_unset(Ecore_X_Window w, Ecore_X_Event_Mask mask);
765 782
766int ecore_x_selection_primary_set(Ecore_X_Window w, unsigned char *data, int size); 783EAPI int ecore_x_selection_primary_set(Ecore_X_Window w, unsigned char *data, int size);
767int ecore_x_selection_primary_clear(void); 784EAPI int ecore_x_selection_primary_clear(void);
768int ecore_x_selection_secondary_set(Ecore_X_Window w, unsigned char *data, int size); 785EAPI int ecore_x_selection_secondary_set(Ecore_X_Window w, unsigned char *data, int size);
769int ecore_x_selection_secondary_clear(void); 786EAPI int ecore_x_selection_secondary_clear(void);
770int ecore_x_selection_clipboard_set(Ecore_X_Window w, unsigned char *data, int size); 787EAPI int ecore_x_selection_clipboard_set(Ecore_X_Window w, unsigned char *data, int size);
771int ecore_x_selection_clipboard_clear(void); 788EAPI int ecore_x_selection_clipboard_clear(void);
772void ecore_x_selection_primary_request(Ecore_X_Window w, char *target); 789EAPI void ecore_x_selection_primary_request(Ecore_X_Window w, char *target);
773void ecore_x_selection_secondary_request(Ecore_X_Window w, char *target); 790EAPI void ecore_x_selection_secondary_request(Ecore_X_Window w, char *target);
774void ecore_x_selection_clipboard_request(Ecore_X_Window w, char *target); 791EAPI void ecore_x_selection_clipboard_request(Ecore_X_Window w, char *target);
775void ecore_x_selection_primary_request_data_get(void **buf, int *len); 792EAPI void ecore_x_selection_primary_request_data_get(void **buf, int *len);
776void ecore_x_selection_secondary_request_data_get(void **buf, int *len); 793EAPI void ecore_x_selection_secondary_request_data_get(void **buf, int *len);
777void ecore_x_selection_clipboard_request_data_get(void **buf, int *len); 794EAPI void ecore_x_selection_clipboard_request_data_get(void **buf, int *len);
778void ecore_x_selection_converter_add(char *target, int (*func)(char *target, void *data, int size, void **data_ret, int *size_ret)); 795EAPI void ecore_x_selection_converter_add(char *target, int (*func)(char *target, void *data, int size, void **data_ret, int *size_ret));
779void ecore_x_selection_converter_atom_add(Ecore_X_Atom target, int (*func)(char *target, void *data, int size, void **data_ret, int *size_ret)); 796EAPI void ecore_x_selection_converter_atom_add(Ecore_X_Atom target, int (*func)(char *target, void *data, int size, void **data_ret, int *size_ret));
780void ecore_x_selection_converter_del(char *target); 797EAPI void ecore_x_selection_converter_del(char *target);
781void ecore_x_selection_converter_atom_del(Ecore_X_Atom target); 798EAPI void ecore_x_selection_converter_atom_del(Ecore_X_Atom target);
782 799
783void ecore_x_dnd_aware_set(Ecore_X_Window win, int on); 800EAPI void ecore_x_dnd_aware_set(Ecore_X_Window win, int on);
784int ecore_x_dnd_version_get(Ecore_X_Window win); 801EAPI int ecore_x_dnd_version_get(Ecore_X_Window win);
785int ecore_x_dnd_begin (Ecore_X_Window source, unsigned char *data, int size); 802EAPI int ecore_x_dnd_begin (Ecore_X_Window source, unsigned char *data, int size);
786 803
787Ecore_X_Window ecore_x_window_new(Ecore_X_Window parent, int x, int y, int w, int h); 804EAPI Ecore_X_Window ecore_x_window_new(Ecore_X_Window parent, int x, int y, int w, int h);
788Ecore_X_Window ecore_x_window_override_new(Ecore_X_Window parent, int x, int y, int w, int h); 805EAPI Ecore_X_Window ecore_x_window_override_new(Ecore_X_Window parent, int x, int y, int w, int h);
789Ecore_X_Window ecore_x_window_input_new(Ecore_X_Window parent, int x, int y, int w, int h); 806EAPI Ecore_X_Window ecore_x_window_input_new(Ecore_X_Window parent, int x, int y, int w, int h);
790void ecore_x_window_configure(Ecore_X_Window win, 807EAPI void ecore_x_window_configure(Ecore_X_Window win,
791 Ecore_X_Window_Configure_Mask mask, 808 Ecore_X_Window_Configure_Mask mask,
792 int x, int y, int w, int h, 809 int x, int y, int w, int h,
793 int border_width, 810 int border_width,
794 Ecore_X_Window sibling, 811 Ecore_X_Window sibling,
795 int stack_mode); 812 int stack_mode);
796void ecore_x_window_cursor_set(Ecore_X_Window win, 813EAPI void ecore_x_window_cursor_set(Ecore_X_Window win,
797 Ecore_X_Cursor c); 814 Ecore_X_Cursor c);
798void ecore_x_window_del(Ecore_X_Window win); 815EAPI void ecore_x_window_del(Ecore_X_Window win);
799void ecore_x_window_delete_request_send(Ecore_X_Window win); 816EAPI void ecore_x_window_delete_request_send(Ecore_X_Window win);
800void ecore_x_window_show(Ecore_X_Window win); 817EAPI void ecore_x_window_show(Ecore_X_Window win);
801void ecore_x_window_hide(Ecore_X_Window win); 818EAPI void ecore_x_window_hide(Ecore_X_Window win);
802void ecore_x_window_move(Ecore_X_Window win, int x, int y); 819EAPI void ecore_x_window_move(Ecore_X_Window win, int x, int y);
803void ecore_x_window_resize(Ecore_X_Window win, int w, int h); 820EAPI void ecore_x_window_resize(Ecore_X_Window win, int w, int h);
804void ecore_x_window_move_resize(Ecore_X_Window win, int x, int y, int w, int h); 821EAPI void ecore_x_window_move_resize(Ecore_X_Window win, int x, int y, int w, int h);
805void ecore_x_window_focus(Ecore_X_Window win); 822EAPI void ecore_x_window_focus(Ecore_X_Window win);
806void ecore_x_window_focus_at_time(Ecore_X_Window win, Ecore_X_Time t); 823EAPI void ecore_x_window_focus_at_time(Ecore_X_Window win, Ecore_X_Time t);
807Ecore_X_Window ecore_x_window_focus_get(void); 824EAPI Ecore_X_Window ecore_x_window_focus_get(void);
808void ecore_x_window_raise(Ecore_X_Window win); 825EAPI void ecore_x_window_raise(Ecore_X_Window win);
809void ecore_x_window_lower(Ecore_X_Window win); 826EAPI void ecore_x_window_lower(Ecore_X_Window win);
810void ecore_x_window_reparent(Ecore_X_Window win, Ecore_X_Window new_parent, int x, int y); 827EAPI void ecore_x_window_reparent(Ecore_X_Window win, Ecore_X_Window new_parent, int x, int y);
811void ecore_x_window_size_get(Ecore_X_Window win, int *w, int *h); 828EAPI void ecore_x_window_size_get(Ecore_X_Window win, int *w, int *h);
812void ecore_x_window_geometry_get(Ecore_X_Window win, int *x, int *y, int *w, int *h); 829EAPI void ecore_x_window_geometry_get(Ecore_X_Window win, int *x, int *y, int *w, int *h);
813int ecore_x_window_border_width_get(Ecore_X_Window win); 830EAPI int ecore_x_window_border_width_get(Ecore_X_Window win);
814void ecore_x_window_border_width_set(Ecore_X_Window win, int width); 831EAPI void ecore_x_window_border_width_set(Ecore_X_Window win, int width);
815int ecore_x_window_depth_get(Ecore_X_Window win); 832EAPI int ecore_x_window_depth_get(Ecore_X_Window win);
816void ecore_x_window_cursor_show(Ecore_X_Window win, int show); 833EAPI void ecore_x_window_cursor_show(Ecore_X_Window win, int show);
817void ecore_x_window_defaults_set(Ecore_X_Window win); 834EAPI void ecore_x_window_defaults_set(Ecore_X_Window win);
818int ecore_x_window_visible_get(Ecore_X_Window win); 835EAPI int ecore_x_window_visible_get(Ecore_X_Window win);
819Ecore_X_Window ecore_x_window_at_xy_get(int x, int y); 836EAPI Ecore_X_Window ecore_x_window_at_xy_get(int x, int y);
820Ecore_X_Window ecore_x_window_parent_get(Ecore_X_Window win); 837EAPI Ecore_X_Window ecore_x_window_parent_get(Ecore_X_Window win);
821 838
822void ecore_x_window_background_color_set(Ecore_X_Window win, 839EAPI void ecore_x_window_background_color_set(Ecore_X_Window win,
823 unsigned long color); 840 unsigned long color);
824void ecore_x_window_gravity_set(Ecore_X_Window win, 841EAPI void ecore_x_window_gravity_set(Ecore_X_Window win,
825 Ecore_X_Gravity grav); 842 Ecore_X_Gravity grav);
826void ecore_x_window_pixel_gravity_set(Ecore_X_Window win, 843EAPI void ecore_x_window_pixel_gravity_set(Ecore_X_Window win,
827 Ecore_X_Gravity grav); 844 Ecore_X_Gravity grav);
828 845
829Ecore_X_Atom ecore_x_window_prop_any_type(void); 846EAPI Ecore_X_Atom ecore_x_window_prop_any_type(void);
830void ecore_x_window_prop_property_set(Ecore_X_Window win, Ecore_X_Atom type, Ecore_X_Atom format, int size, void *data, int number); 847EAPI void ecore_x_window_prop_property_set(Ecore_X_Window win, Ecore_X_Atom type, Ecore_X_Atom format, int size, void *data, int number);
831int ecore_x_window_prop_property_get(Ecore_X_Window win, Ecore_X_Atom property, Ecore_X_Atom type, int size, unsigned char **data, int *num); 848EAPI int ecore_x_window_prop_property_get(Ecore_X_Window win, Ecore_X_Atom property, Ecore_X_Atom type, int size, unsigned char **data, int *num);
832void ecore_x_window_prop_property_del(Ecore_X_Window win, Ecore_X_Atom property); 849EAPI void ecore_x_window_prop_property_del(Ecore_X_Window win, Ecore_X_Atom property);
833void ecore_x_window_prop_property_notify(Ecore_X_Window win, const char *type, long *data); 850EAPI void ecore_x_window_prop_property_notify(Ecore_X_Window win, const char *type, long *data);
834void ecore_x_window_prop_string_set(Ecore_X_Window win, Ecore_X_Atom type, char *str); 851EAPI void ecore_x_window_prop_string_set(Ecore_X_Window win, Ecore_X_Atom type, char *str);
835char *ecore_x_window_prop_string_get(Ecore_X_Window win, Ecore_X_Atom type); 852EAPI char *ecore_x_window_prop_string_get(Ecore_X_Window win, Ecore_X_Atom type);
836void ecore_x_window_prop_title_set(Ecore_X_Window win, const char *t); 853EAPI void ecore_x_window_prop_title_set(Ecore_X_Window win, const char *t);
837char *ecore_x_window_prop_title_get(Ecore_X_Window win); 854EAPI char *ecore_x_window_prop_title_get(Ecore_X_Window win);
838void ecore_x_window_prop_command_set(Ecore_X_Window win, int argc, char **argv); 855EAPI void ecore_x_window_prop_command_set(Ecore_X_Window win, int argc, char **argv);
839void ecore_x_window_prop_command_get(Ecore_X_Window win, int *argc, char ***argv); 856EAPI void ecore_x_window_prop_command_get(Ecore_X_Window win, int *argc, char ***argv);
840void ecore_x_window_prop_visible_title_set(Ecore_X_Window win, const char *t); 857EAPI void ecore_x_window_prop_visible_title_set(Ecore_X_Window win, const char *t);
841char *ecore_x_window_prop_visible_title_get(Ecore_X_Window win); 858EAPI char *ecore_x_window_prop_visible_title_get(Ecore_X_Window win);
842void ecore_x_window_prop_icon_name_set(Ecore_X_Window win, const char *t); 859EAPI void ecore_x_window_prop_icon_name_set(Ecore_X_Window win, const char *t);
843char *ecore_x_window_prop_icon_name_get(Ecore_X_Window win); 860EAPI char *ecore_x_window_prop_icon_name_get(Ecore_X_Window win);
844void ecore_x_window_prop_visible_icon_name_set(Ecore_X_Window win, const char *t); 861EAPI void ecore_x_window_prop_visible_icon_name_set(Ecore_X_Window win, const char *t);
845char *ecore_x_window_prop_visible_icon_name_get(Ecore_X_Window win); 862EAPI char *ecore_x_window_prop_visible_icon_name_get(Ecore_X_Window win);
846char *ecore_x_window_prop_client_machine_get(Ecore_X_Window win); 863EAPI char *ecore_x_window_prop_client_machine_get(Ecore_X_Window win);
847pid_t ecore_x_window_prop_pid_get(Ecore_X_Window win); 864EAPI pid_t ecore_x_window_prop_pid_get(Ecore_X_Window win);
848void ecore_x_window_prop_name_class_set(Ecore_X_Window win, const char *n, const char *c); 865EAPI void ecore_x_window_prop_name_class_set(Ecore_X_Window win, const char *n, const char *c);
849void ecore_x_window_prop_name_class_get(Ecore_X_Window win, char **n, char **c); 866EAPI void ecore_x_window_prop_name_class_get(Ecore_X_Window win, char **n, char **c);
850void ecore_x_window_prop_protocol_set(Ecore_X_Window win, Ecore_X_WM_Protocol protocol, int on); 867EAPI void ecore_x_window_prop_protocol_set(Ecore_X_Window win, Ecore_X_WM_Protocol protocol, int on);
851int ecore_x_window_prop_protocol_isset(Ecore_X_Window win, Ecore_X_WM_Protocol protocol); 868EAPI int ecore_x_window_prop_protocol_isset(Ecore_X_Window win, Ecore_X_WM_Protocol protocol);
852Ecore_X_WM_Protocol *ecore_x_window_prop_protocol_list_get(Ecore_X_Window win, int *num_ret); 869EAPI Ecore_X_WM_Protocol *ecore_x_window_prop_protocol_list_get(Ecore_X_Window win, int *num_ret);
853void ecore_x_window_prop_sticky_set(Ecore_X_Window win, int on); 870EAPI void ecore_x_window_prop_sticky_set(Ecore_X_Window win, int on);
854int ecore_x_window_prop_input_mode_set(Ecore_X_Window win, Ecore_X_Window_Input_Mode mode); 871EAPI int ecore_x_window_prop_input_mode_set(Ecore_X_Window win, Ecore_X_Window_Input_Mode mode);
855void ecore_x_window_prop_min_size_set(Ecore_X_Window win, int w, int h); 872EAPI void ecore_x_window_prop_min_size_set(Ecore_X_Window win, int w, int h);
856void ecore_x_window_prop_max_size_set(Ecore_X_Window win, int w, int h); 873EAPI void ecore_x_window_prop_max_size_set(Ecore_X_Window win, int w, int h);
857void ecore_x_window_prop_base_size_set(Ecore_X_Window win, int w, int h); 874EAPI void ecore_x_window_prop_base_size_set(Ecore_X_Window win, int w, int h);
858void ecore_x_window_prop_step_size_set(Ecore_X_Window win, int x, int y); 875EAPI void ecore_x_window_prop_step_size_set(Ecore_X_Window win, int x, int y);
859void ecore_x_window_prop_xy_set(Ecore_X_Window win, int x, int y); 876EAPI void ecore_x_window_prop_xy_set(Ecore_X_Window win, int x, int y);
860void ecore_x_window_prop_borderless_set(Ecore_X_Window win, int borderless); 877EAPI void ecore_x_window_prop_borderless_set(Ecore_X_Window win, int borderless);
861int ecore_x_window_prop_borderless_get(Ecore_X_Window win); 878EAPI int ecore_x_window_prop_borderless_get(Ecore_X_Window win);
862int ecore_x_window_prop_layer_set(Ecore_X_Window win, int layer); 879EAPI int ecore_x_window_prop_layer_set(Ecore_X_Window win, int layer);
863void ecore_x_window_prop_withdrawn_set(Ecore_X_Window win, int withdrawn); 880EAPI void ecore_x_window_prop_withdrawn_set(Ecore_X_Window win, int withdrawn);
864void ecore_x_window_prop_desktop_request(Ecore_X_Window win, long desktop); 881EAPI void ecore_x_window_prop_desktop_request(Ecore_X_Window win, long desktop);
865void ecore_x_window_prop_state_request(Ecore_X_Window win, Ecore_X_Window_State state, int action); 882EAPI void ecore_x_window_prop_state_request(Ecore_X_Window win, Ecore_X_Window_State state, int action);
866void ecore_x_window_prop_desktop_set(Ecore_X_Window win, long desktop); 883EAPI void ecore_x_window_prop_desktop_set(Ecore_X_Window win, long desktop);
867long ecore_x_window_prop_desktop_get(Ecore_X_Window win); 884EAPI long ecore_x_window_prop_desktop_get(Ecore_X_Window win);
868/* API Change: use enum Ecore_X_Window_Type instead */ 885/* API Change: use enum Ecore_X_Window_Type instead */
869void ecore_x_window_prop_window_type_set(Ecore_X_Window win, Ecore_X_Window_Type type); 886EAPI void ecore_x_window_prop_window_type_set(Ecore_X_Window win, Ecore_X_Window_Type type);
870#if 0 887#if 0
871void ecore_x_window_prop_window_type_set(Ecore_X_Window win, Ecore_X_Atom type); 888EAPI void ecore_x_window_prop_window_type_set(Ecore_X_Window win, Ecore_X_Atom type);
872void ecore_x_window_prop_window_type_desktop_set(Ecore_X_Window win); 889EAPI void ecore_x_window_prop_window_type_desktop_set(Ecore_X_Window win);
873void ecore_x_window_prop_window_type_dock_set(Ecore_X_Window win); 890EAPI void ecore_x_window_prop_window_type_dock_set(Ecore_X_Window win);
874void ecore_x_window_prop_window_type_toolbar_set(Ecore_X_Window win); 891EAPI void ecore_x_window_prop_window_type_toolbar_set(Ecore_X_Window win);
875void ecore_x_window_prop_window_type_menu_set(Ecore_X_Window win); 892EAPI void ecore_x_window_prop_window_type_menu_set(Ecore_X_Window win);
876void ecore_x_window_prop_window_type_utility_set(Ecore_X_Window win); 893EAPI void ecore_x_window_prop_window_type_utility_set(Ecore_X_Window win);
877void ecore_x_window_prop_window_type_splash_set(Ecore_X_Window win); 894EAPI void ecore_x_window_prop_window_type_splash_set(Ecore_X_Window win);
878void ecore_x_window_prop_window_type_dialog_set(Ecore_X_Window win); 895EAPI void ecore_x_window_prop_window_type_dialog_set(Ecore_X_Window win);
879void ecore_x_window_prop_window_type_normal_set(Ecore_X_Window win); 896EAPI void ecore_x_window_prop_window_type_normal_set(Ecore_X_Window win);
880#endif 897#endif
881void ecore_x_window_prop_window_opacity_set(Ecore_X_Window win, int opacity); 898EAPI void ecore_x_window_prop_window_opacity_set(Ecore_X_Window win, int opacity);
882int ecore_x_window_prop_window_opacity_get(Ecore_X_Window win); 899EAPI int ecore_x_window_prop_window_opacity_get(Ecore_X_Window win);
883void ecore_x_window_prop_state_set(Ecore_X_Window win, Ecore_X_Window_State s); 900EAPI void ecore_x_window_prop_state_set(Ecore_X_Window win, Ecore_X_Window_State s);
884int ecore_x_window_prop_state_isset(Ecore_X_Window win, Ecore_X_Window_State s); 901EAPI int ecore_x_window_prop_state_isset(Ecore_X_Window win, Ecore_X_Window_State s);
885void ecore_x_window_prop_state_unset(Ecore_X_Window win, Ecore_X_Window_State s); 902EAPI void ecore_x_window_prop_state_unset(Ecore_X_Window win, Ecore_X_Window_State s);
886void ecore_x_window_shape_mask_set(Ecore_X_Window win, Ecore_X_Pixmap mask); 903EAPI void ecore_x_window_shape_mask_set(Ecore_X_Window win, Ecore_X_Pixmap mask);
887 904
888Ecore_X_Pixmap ecore_x_pixmap_new(Ecore_X_Window win, int w, int h, int dep); 905EAPI Ecore_X_Pixmap ecore_x_pixmap_new(Ecore_X_Window win, int w, int h, int dep);
889void ecore_x_pixmap_del(Ecore_X_Pixmap pmap); 906EAPI void ecore_x_pixmap_del(Ecore_X_Pixmap pmap);
890void ecore_x_pixmap_paste(Ecore_X_Pixmap pmap, Ecore_X_Drawable dest, Ecore_X_GC gc, int sx, int sy, int w, int h, int dx, int dy); 907EAPI void ecore_x_pixmap_paste(Ecore_X_Pixmap pmap, Ecore_X_Drawable dest, Ecore_X_GC gc, int sx, int sy, int w, int h, int dx, int dy);
891void ecore_x_pixmap_geometry_get(Ecore_X_Pixmap pmap, int *x, int *y, int *w, int *h); 908EAPI void ecore_x_pixmap_geometry_get(Ecore_X_Pixmap pmap, int *x, int *y, int *w, int *h);
892int ecore_x_pixmap_depth_get(Ecore_X_Pixmap pmap); 909EAPI int ecore_x_pixmap_depth_get(Ecore_X_Pixmap pmap);
893 910
894Ecore_X_GC ecore_x_gc_new(Ecore_X_Drawable draw); 911EAPI Ecore_X_GC ecore_x_gc_new(Ecore_X_Drawable draw);
895void ecore_x_gc_del(Ecore_X_GC gc); 912EAPI void ecore_x_gc_del(Ecore_X_GC gc);
896 913
897int ecore_x_client_message32_send(Ecore_X_Window win, Ecore_X_Atom type, long d0, long d1, long d2, long d3, long d4); 914EAPI int ecore_x_client_message32_send(Ecore_X_Window win, Ecore_X_Atom type, long d0, long d1, long d2, long d3, long d4);
898int ecore_x_client_message8_send(Ecore_X_Window win, Ecore_X_Atom type, const void *data, int len); 915EAPI int ecore_x_client_message8_send(Ecore_X_Window win, Ecore_X_Atom type, const void *data, int len);
899 916
900#if 0 /* ??? */ 917#if 0 /* ??? */
901 void ecore_x_netwm_init(void); 918 EAPI void ecore_x_netwm_init(void);
902#endif 919#endif
903 void ecore_x_netwm_desk_count_set(Ecore_X_Window root, int n_desks); 920 EAPI void ecore_x_netwm_desk_count_set(Ecore_X_Window root, int n_desks);
904 void ecore_x_netwm_desk_roots_set(Ecore_X_Window root, int n_desks, Ecore_X_Window * vroots); 921 EAPI void ecore_x_netwm_desk_roots_set(Ecore_X_Window root, int n_desks, Ecore_X_Window * vroots);
905 void ecore_x_netwm_desk_names_set(Ecore_X_Window root, int n_desks, const char **names); 922 EAPI void ecore_x_netwm_desk_names_set(Ecore_X_Window root, int n_desks, const char **names);
906 void ecore_x_netwm_desk_size_set(Ecore_X_Window root, int width, int height); 923 EAPI void ecore_x_netwm_desk_size_set(Ecore_X_Window root, int width, int height);
907 void ecore_x_netwm_desk_workareas_set(Ecore_X_Window root, int n_desks, int *areas); 924 EAPI void ecore_x_netwm_desk_workareas_set(Ecore_X_Window root, int n_desks, int *areas);
908 void ecore_x_netwm_desk_current_set(Ecore_X_Window root, int desk); 925 EAPI void ecore_x_netwm_desk_current_set(Ecore_X_Window root, int desk);
909 void ecore_x_netwm_desk_viewports_set(Ecore_X_Window root, int n_desks, int *origins); 926 EAPI void ecore_x_netwm_desk_viewports_set(Ecore_X_Window root, int n_desks, int *origins);
910 void ecore_x_netwm_showing_desktop_set(Ecore_X_Window root, int on); 927 EAPI void ecore_x_netwm_showing_desktop_set(Ecore_X_Window root, int on);
911 void ecore_x_netwm_client_list_set(Ecore_X_Window root, int n_clients, Ecore_X_Window * p_clients); 928 EAPI void ecore_x_netwm_client_list_set(Ecore_X_Window root, int n_clients, Ecore_X_Window * p_clients);
912 void ecore_x_netwm_client_list_stacking_set(Ecore_X_Window root, int n_clients, Ecore_X_Window * p_clients); 929 EAPI void ecore_x_netwm_client_list_stacking_set(Ecore_X_Window root, int n_clients, Ecore_X_Window * p_clients);
913 void ecore_x_netwm_client_active_set(Ecore_X_Window root, Ecore_X_Window win); 930 EAPI void ecore_x_netwm_client_active_set(Ecore_X_Window root, Ecore_X_Window win);
914 931
915 /* FIXME: these funcs need categorising */ 932 /* FIXME: these funcs need categorising */
916 void ecore_x_drawable_geometry_get(Ecore_X_Drawable d, int *x, int *y, int *w, int *h); 933 EAPI void ecore_x_drawable_geometry_get(Ecore_X_Drawable d, int *x, int *y, int *w, int *h);
917 int ecore_x_drawable_border_width_get(Ecore_X_Drawable d); 934 EAPI int ecore_x_drawable_border_width_get(Ecore_X_Drawable d);
918 int ecore_x_drawable_depth_get(Ecore_X_Drawable d); 935 EAPI int ecore_x_drawable_depth_get(Ecore_X_Drawable d);
919 Ecore_X_Window *ecore_x_window_root_list(int *num_ret); 936 EAPI Ecore_X_Window *ecore_x_window_root_list(int *num_ret);
920 int ecore_x_window_manage(Ecore_X_Window win); 937 EAPI int ecore_x_window_manage(Ecore_X_Window win);
921 void ecore_x_window_container_manage(Ecore_X_Window win); 938 EAPI void ecore_x_window_container_manage(Ecore_X_Window win);
922 void ecore_x_window_client_manage(Ecore_X_Window win); 939 EAPI void ecore_x_window_client_manage(Ecore_X_Window win);
923 void ecore_x_window_sniff(Ecore_X_Window win); 940 EAPI void ecore_x_window_sniff(Ecore_X_Window win);
924 void ecore_x_window_client_sniff(Ecore_X_Window win); 941 EAPI void ecore_x_window_client_sniff(Ecore_X_Window win);
925 Ecore_X_Atom ecore_x_atom_get(char *name); 942 EAPI Ecore_X_Atom ecore_x_atom_get(char *name);
926 943
927 void 944 EAPI void
928 ecore_x_icccm_state_set(Ecore_X_Window win, Ecore_X_Window_State_Hint state); 945 ecore_x_icccm_state_set(Ecore_X_Window win, Ecore_X_Window_State_Hint state);
929 void 946 EAPI void
930 ecore_x_icccm_delete_window_send(Ecore_X_Window win, Ecore_X_Time t); 947 ecore_x_icccm_delete_window_send(Ecore_X_Window win, Ecore_X_Time t);
931 void 948 EAPI void
932 ecore_x_icccm_take_focus_send(Ecore_X_Window win, Ecore_X_Time t); 949 ecore_x_icccm_take_focus_send(Ecore_X_Window win, Ecore_X_Time t);
933 void 950 EAPI void
934 ecore_x_icccm_save_yourself_send(Ecore_X_Window win, Ecore_X_Time t); 951 ecore_x_icccm_save_yourself_send(Ecore_X_Window win, Ecore_X_Time t);
935 void 952 EAPI void
936 ecore_x_icccm_move_resize_send(Ecore_X_Window win, 953 ecore_x_icccm_move_resize_send(Ecore_X_Window win,
937 int x, int y, int w, int h); 954 int x, int y, int w, int h);
938 void 955 EAPI void
939 ecore_x_icccm_hints_set(Ecore_X_Window win, 956 ecore_x_icccm_hints_set(Ecore_X_Window win,
940 int accepts_focus, 957 int accepts_focus,
941 Ecore_X_Window_State_Hint initial_state, 958 Ecore_X_Window_State_Hint initial_state,
@@ -944,7 +961,7 @@ int ecore_x_client_message8_send(Ecore_X_Window win, Ecore_X_Atom t
944 Ecore_X_Window icon_window, 961 Ecore_X_Window icon_window,
945 Ecore_X_Window window_group, 962 Ecore_X_Window window_group,
946 int is_urgent); 963 int is_urgent);
947 int 964 EAPI int
948 ecore_x_icccm_hints_get(Ecore_X_Window win, 965 ecore_x_icccm_hints_get(Ecore_X_Window win,
949 int *accepts_focus, 966 int *accepts_focus,
950 Ecore_X_Window_State_Hint *initial_state, 967 Ecore_X_Window_State_Hint *initial_state,
@@ -953,7 +970,7 @@ int ecore_x_client_message8_send(Ecore_X_Window win, Ecore_X_Atom t
953 Ecore_X_Window *icon_window, 970 Ecore_X_Window *icon_window,
954 Ecore_X_Window *window_group, 971 Ecore_X_Window *window_group,
955 int *is_urgent); 972 int *is_urgent);
956 void 973 EAPI void
957 ecore_x_icccm_size_pos_hints_set(Ecore_X_Window win, 974 ecore_x_icccm_size_pos_hints_set(Ecore_X_Window win,
958 int request_pos, 975 int request_pos,
959 Ecore_X_Gravity gravity, 976 Ecore_X_Gravity gravity,
@@ -964,7 +981,7 @@ int ecore_x_client_message8_send(Ecore_X_Window win, Ecore_X_Atom t
964 double min_aspect, 981 double min_aspect,
965 double max_aspect); 982 double max_aspect);
966 983
967 int 984 EAPI int
968 ecore_x_icccm_size_pos_hints_get(Ecore_X_Window win, 985 ecore_x_icccm_size_pos_hints_get(Ecore_X_Window win,
969 int *request_pos, 986 int *request_pos,
970 Ecore_X_Gravity *gravity, 987 Ecore_X_Gravity *gravity,
@@ -974,36 +991,36 @@ int ecore_x_client_message8_send(Ecore_X_Window win, Ecore_X_Atom t
974 int *step_x, int *step_y, 991 int *step_x, int *step_y,
975 double *min_aspect, 992 double *min_aspect,
976 double *max_aspect); 993 double *max_aspect);
977 void 994 EAPI void
978 ecore_x_icccm_title_set(Ecore_X_Window win, const char *t); 995 ecore_x_icccm_title_set(Ecore_X_Window win, const char *t);
979 char * 996 EAPI char *
980 ecore_x_icccm_title_get(Ecore_X_Window win); 997 ecore_x_icccm_title_get(Ecore_X_Window win);
981 998
982 void ecore_x_netwm_init(void); 999 EAPI void ecore_x_netwm_init(void);
983 void ecore_x_netwm_wm_identify(Ecore_X_Window root, Ecore_X_Window check, const char *wm_name); 1000 EAPI void ecore_x_netwm_wm_identify(Ecore_X_Window root, Ecore_X_Window check, const char *wm_name);
984 void ecore_x_netwm_desk_count_set(Ecore_X_Window root, int n_desks); 1001 EAPI void ecore_x_netwm_desk_count_set(Ecore_X_Window root, int n_desks);
985 void ecore_x_netwm_desk_roots_set(Ecore_X_Window root, int n_desks, Ecore_X_Window * vroots); 1002 EAPI void ecore_x_netwm_desk_roots_set(Ecore_X_Window root, int n_desks, Ecore_X_Window * vroots);
986 void ecore_x_netwm_desk_names_set(Ecore_X_Window root, int n_desks, const char **names); 1003 EAPI void ecore_x_netwm_desk_names_set(Ecore_X_Window root, int n_desks, const char **names);
987 void ecore_x_netwm_desk_size_set(Ecore_X_Window root, int width, int height); 1004 EAPI void ecore_x_netwm_desk_size_set(Ecore_X_Window root, int width, int height);
988 void ecore_x_netwm_desk_workareas_set(Ecore_X_Window root, int n_desks, int *areas); 1005 EAPI void ecore_x_netwm_desk_workareas_set(Ecore_X_Window root, int n_desks, int *areas);
989 void ecore_x_netwm_desk_current_set(Ecore_X_Window root, int desk); 1006 EAPI void ecore_x_netwm_desk_current_set(Ecore_X_Window root, int desk);
990 void ecore_x_netwm_desk_viewports_set(Ecore_X_Window root, int n_desks, int *origins); 1007 EAPI void ecore_x_netwm_desk_viewports_set(Ecore_X_Window root, int n_desks, int *origins);
991 void ecore_x_netwm_showing_desktop_set(Ecore_X_Window root, int on); 1008 EAPI void ecore_x_netwm_showing_desktop_set(Ecore_X_Window root, int on);
992 void ecore_x_netwm_client_list_set(Ecore_X_Window root, int n_clients, Ecore_X_Window * p_clients); 1009 EAPI void ecore_x_netwm_client_list_set(Ecore_X_Window root, int n_clients, Ecore_X_Window * p_clients);
993 void ecore_x_netwm_client_list_stacking_set(Ecore_X_Window root, int n_clients, Ecore_X_Window * p_clients); 1010 EAPI void ecore_x_netwm_client_list_stacking_set(Ecore_X_Window root, int n_clients, Ecore_X_Window * p_clients);
994 void ecore_x_netwm_client_active_set(Ecore_X_Window root, Ecore_X_Window win); 1011 EAPI void ecore_x_netwm_client_active_set(Ecore_X_Window root, Ecore_X_Window win);
995 1012
996 /* FIXME: these funcs need categorising */ 1013 /* FIXME: these funcs need categorising */
997 void ecore_x_drawable_geometry_get(Ecore_X_Drawable d, int *x, int *y, int *w, int *h); 1014 EAPI void ecore_x_drawable_geometry_get(Ecore_X_Drawable d, int *x, int *y, int *w, int *h);
998 int ecore_x_drawable_border_width_get(Ecore_X_Drawable d); 1015 EAPI int ecore_x_drawable_border_width_get(Ecore_X_Drawable d);
999 int ecore_x_drawable_depth_get(Ecore_X_Drawable d); 1016 EAPI int ecore_x_drawable_depth_get(Ecore_X_Drawable d);
1000 Ecore_X_Window *ecore_x_window_root_list(int *num_ret); 1017 EAPI Ecore_X_Window *ecore_x_window_root_list(int *num_ret);
1001 int ecore_x_window_manage(Ecore_X_Window win); 1018 EAPI int ecore_x_window_manage(Ecore_X_Window win);
1002 void ecore_x_window_container_manage(Ecore_X_Window win); 1019 EAPI void ecore_x_window_container_manage(Ecore_X_Window win);
1003 void ecore_x_window_client_manage(Ecore_X_Window win); 1020 EAPI void ecore_x_window_client_manage(Ecore_X_Window win);
1004 void ecore_x_window_sniff(Ecore_X_Window win); 1021 EAPI void ecore_x_window_sniff(Ecore_X_Window win);
1005 void ecore_x_window_client_sniff(Ecore_X_Window win); 1022 EAPI void ecore_x_window_client_sniff(Ecore_X_Window win);
1006 Ecore_X_Atom ecore_x_atom_get(char *name); 1023 EAPI Ecore_X_Atom ecore_x_atom_get(char *name);
1007 1024
1008 typedef struct _Ecore_X_Window_Attributes 1025 typedef struct _Ecore_X_Window_Attributes
1009 { 1026 {
@@ -1033,33 +1050,33 @@ int ecore_x_client_message8_send(Ecore_X_Window win, Ecore_X_Atom t
1033 } 1050 }
1034 Ecore_X_Window_Attributes; 1051 Ecore_X_Window_Attributes;
1035 1052
1036 int 1053 EAPI int
1037 ecore_x_window_attributes_get(Ecore_X_Window win, Ecore_X_Window_Attributes *att_ret); 1054 ecore_x_window_attributes_get(Ecore_X_Window win, Ecore_X_Window_Attributes *att_ret);
1038 void 1055 EAPI void
1039 ecore_x_window_save_set_add(Ecore_X_Window win); 1056 ecore_x_window_save_set_add(Ecore_X_Window win);
1040 void 1057 EAPI void
1041 ecore_x_window_save_set_del(Ecore_X_Window win); 1058 ecore_x_window_save_set_del(Ecore_X_Window win);
1042 Ecore_X_Window * 1059 EAPI Ecore_X_Window *
1043 ecore_x_window_children_get(Ecore_X_Window win, int *num); 1060 ecore_x_window_children_get(Ecore_X_Window win, int *num);
1044 1061
1045 Ecore_X_Cursor 1062 EAPI Ecore_X_Cursor
1046 ecore_x_cursor_new(Ecore_X_Window win, int *pixels, int w, int h, int hot_x, int hot_y); 1063 ecore_x_cursor_new(Ecore_X_Window win, int *pixels, int w, int h, int hot_x, int hot_y);
1047 void 1064 EAPI void
1048 ecore_x_cursor_free(Ecore_X_Cursor c); 1065 ecore_x_cursor_free(Ecore_X_Cursor c);
1049 Ecore_X_Cursor 1066 EAPI Ecore_X_Cursor
1050 ecore_x_cursor_shape_get(int shape); 1067 ecore_x_cursor_shape_get(int shape);
1051 1068
1052 int 1069 EAPI int
1053 ecore_x_pointer_grab(Ecore_X_Window win); 1070 ecore_x_pointer_grab(Ecore_X_Window win);
1054 void 1071 EAPI void
1055 ecore_x_pointer_ungrab(void); 1072 ecore_x_pointer_ungrab(void);
1056 int 1073 EAPI int
1057 ecore_x_keyboard_grab(Ecore_X_Window win); 1074 ecore_x_keyboard_grab(Ecore_X_Window win);
1058 void 1075 EAPI void
1059 ecore_x_keyboard_ungrab(void); 1076 ecore_x_keyboard_ungrab(void);
1060 void 1077 EAPI void
1061 ecore_x_grab(void); 1078 ecore_x_grab(void);
1062 void 1079 EAPI void
1063 ecore_x_ungrab(void); 1080 ecore_x_ungrab(void);
1064 1081
1065 1082
diff --git a/legacy/edje/src/lib/Edje.h b/legacy/edje/src/lib/Edje.h
index 7a865221e8..0e066e0ff2 100644
--- a/legacy/edje/src/lib/Edje.h
+++ b/legacy/edje/src/lib/Edje.h
@@ -3,6 +3,23 @@
3 3
4#include <Evas.h> 4#include <Evas.h>
5 5
6#ifdef EAPI
7#undef EAPI
8#endif
9#ifdef WIN32
10# ifdef BUILDING_DLL
11# define EAPI __declspec(dllexport)
12# else
13# define EAPI __declspec(dllimport)
14# endif
15#else
16# ifdef GCC_HASCLASSVISIBILITY
17# define EAPI __attribute__ ((visibility("default")))
18# else
19# define EAPI
20# endif
21#endif
22
6/* FIXDOC: Define these? */ 23/* FIXDOC: Define these? */
7enum _Edje_Message_Type 24enum _Edje_Message_Type
8{ 25{
@@ -120,84 +137,84 @@ enum
120extern "C" { 137extern "C" {
121#endif 138#endif
122 139
123 /* edje_main.c */ 140 /* edje_main.c */
124 int edje_init (void); 141 EAPI int edje_init (void);
125 int edje_shutdown (void); 142 EAPI int edje_shutdown (void);
126 143
127 /* edje_program.c */ 144 /* edje_program.c */
128 void edje_frametime_set (double t); 145 EAPI void edje_frametime_set (double t);
129 double edje_frametime_get (void); 146 EAPI double edje_frametime_get (void);
130 147
131 /* edje_util.c */ 148 /* edje_util.c */
132 void edje_freeze (void); 149 EAPI void edje_freeze (void);
133 void edje_thaw (void); 150 EAPI void edje_thaw (void);
151
152 /* edje_load.c */
153 EAPI Evas_List *edje_file_collection_list (const char *file);
154 EAPI void edje_file_collection_list_free (Evas_List *lst);
155 EAPI char *edje_file_data_get (const char *file, const char *key);
156
157 /* edje_util.c */
158 EAPI void edje_color_class_set(const char *color_class, int r, int g, int b, int a, int r2, int g2, int b2, int a2, int r3, int g3, int b3, int a3);
159 EAPI void edje_text_class_set(const char *text_class, const char *font, Evas_Font_Size size);
160 EAPI void edje_extern_object_min_size_set (Evas_Object *obj, Evas_Coord minw, Evas_Coord minh);
161 EAPI void edje_extern_object_max_size_set (Evas_Object *obj, Evas_Coord maxw, Evas_Coord maxh);
162
163 /* edje_smart.c */
164 EAPI Evas_Object *edje_object_add (Evas *evas);
165
166 /* edje_util.c */
167 EAPI const char *edje_object_data_get (Evas_Object *obj, const char *key);
168
169 /* edje_load.c */
170 EAPI int edje_object_file_set (Evas_Object *obj, const char *file, const char *part);
171 EAPI void edje_object_file_get (Evas_Object *obj, const char **file, const char **part);
172 EAPI int edje_object_load_error_get (Evas_Object *obj);
173
174 /* edje_program.c */
175 EAPI void edje_object_signal_callback_add (Evas_Object *obj, const char *emission, const char *source, void (*func) (void *data, Evas_Object *obj, const char *emission, const char *source), void *data);
176 EAPI void *edje_object_signal_callback_del (Evas_Object *obj, const char *emission, const char *source, void (*func) (void *data, Evas_Object *obj, const char *emission, const char *source));
177 EAPI void edje_object_signal_emit (Evas_Object *obj, const char *emission, const char *source);
178 EAPI void edje_object_play_set (Evas_Object *obj, int play);
179 EAPI int edje_object_play_get (Evas_Object *obj);
180 EAPI void edje_object_animation_set (Evas_Object *obj, int on);
181 EAPI int edje_object_animation_get (Evas_Object *obj);
182
183 /* edje_util.c */
184 EAPI int edje_object_freeze (Evas_Object *obj);
185 EAPI int edje_object_thaw (Evas_Object *obj);
186 EAPI void edje_object_color_class_set (Evas_Object *obj, const char *color_class, int r, int g, int b, int a, int r2, int g2, int b2, int a2, int r3, int g3, int b3, int a3);
187 EAPI void edje_object_text_class_set (Evas_Object *obj, const char *text_class, const char *font, Evas_Font_Size size);
188 EAPI void edje_object_size_min_get (Evas_Object *obj, Evas_Coord *minw, Evas_Coord *minh);
189 EAPI void edje_object_size_max_get (Evas_Object *obj, Evas_Coord *maxw, Evas_Coord *maxh);
190 EAPI void edje_object_size_min_calc (Evas_Object *obj, Evas_Coord *minw, Evas_Coord *minh);
191 EAPI int edje_object_part_exists (Evas_Object *obj, const char *part);
192 EAPI void edje_object_part_geometry_get (Evas_Object *obj, const char *part, Evas_Coord *x, Evas_Coord *y, Evas_Coord *w, Evas_Coord *h);
193 EAPI void edje_object_text_change_cb_set (Evas_Object *obj, void (*func) (void *data, Evas_Object *obj, const char *part), void *data);
194 EAPI void edje_object_part_text_set (Evas_Object *obj, const char *part, const char *text);
195 EAPI const char *edje_object_part_text_get (Evas_Object *obj, const char *part);
196 EAPI void edje_object_part_swallow (Evas_Object *obj, const char *part, Evas_Object *obj_swallow);
197 EAPI void edje_object_part_unswallow (Evas_Object *obj, Evas_Object *obj_swallow);
198 EAPI Evas_Object *edje_object_part_swallow_get (Evas_Object *obj, const char *part);
199 EAPI const char *edje_object_part_state_get (Evas_Object *obj, const char *part, double *val_ret);
200 EAPI int edje_object_part_drag_dir_get (Evas_Object *obj, const char *part);
201 EAPI void edje_object_part_drag_value_set (Evas_Object *obj, const char *part, double dx, double dy);
202 EAPI void edje_object_part_drag_value_get (Evas_Object *obj, const char *part, double *dx, double *dy);
203 EAPI void edje_object_part_drag_size_set (Evas_Object *obj, const char *part, double dw, double dh);
204 EAPI void edje_object_part_drag_size_get (Evas_Object *obj, const char *part, double *dw, double *dh);
205 EAPI void edje_object_part_drag_step_set (Evas_Object *obj, const char *part, double dx, double dy);
206 EAPI void edje_object_part_drag_step_get (Evas_Object *obj, const char *part, double *dx, double *dy);
207 EAPI void edje_object_part_drag_page_set (Evas_Object *obj, const char *part, double dx, double dy);
208 EAPI void edje_object_part_drag_page_get (Evas_Object *obj, const char *part, double *dx, double *dy);
209 EAPI void edje_object_part_drag_step (Evas_Object *obj, const char *part, double dx, double dy);
210 EAPI void edje_object_part_drag_page (Evas_Object *obj, const char *part, double dx, double dy);
134 211
135 /* edje_load.c */ 212 /* edje_message_queue.c */
136 Evas_List *edje_file_collection_list (const char *file); 213 EAPI void edje_object_message_send (Evas_Object *obj, Edje_Message_Type type, int id, void *msg);
137 void edje_file_collection_list_free (Evas_List *lst); 214 EAPI void edje_object_message_handler_set (Evas_Object *obj, void (*func) (void *data, Evas_Object *obj, Edje_Message_Type type, int id, void *msg), void *data);
138 char *edje_file_data_get (const char *file, const char *key); 215 EAPI void edje_object_message_signal_process (Evas_Object *obj);
139
140 /* edje_util.c */
141 void edje_color_class_set(const char *color_class, int r, int g, int b, int a, int r2, int g2, int b2, int a2, int r3, int g3, int b3, int a3);
142 void edje_text_class_set(const char *text_class, const char *font, Evas_Font_Size size);
143 void edje_extern_object_min_size_set (Evas_Object *obj, Evas_Coord minw, Evas_Coord minh);
144 void edje_extern_object_max_size_set (Evas_Object *obj, Evas_Coord maxw, Evas_Coord maxh);
145 216
146 /* edje_smart.c */ 217 EAPI void edje_message_signal_process (void);
147 Evas_Object *edje_object_add (Evas *evas);
148
149 /* edje_util.c */
150 const char *edje_object_data_get (Evas_Object *obj, const char *key);
151
152 /* edje_load.c */
153 int edje_object_file_set (Evas_Object *obj, const char *file, const char *part);
154 void edje_object_file_get (Evas_Object *obj, const char **file, const char **part);
155 int edje_object_load_error_get (Evas_Object *obj);
156
157 /* edje_program.c */
158 void edje_object_signal_callback_add (Evas_Object *obj, const char *emission, const char *source, void (*func) (void *data, Evas_Object *obj, const char *emission, const char *source), void *data);
159 void *edje_object_signal_callback_del (Evas_Object *obj, const char *emission, const char *source, void (*func) (void *data, Evas_Object *obj, const char *emission, const char *source));
160 void edje_object_signal_emit (Evas_Object *obj, const char *emission, const char *source);
161 void edje_object_play_set (Evas_Object *obj, int play);
162 int edje_object_play_get (Evas_Object *obj);
163 void edje_object_animation_set (Evas_Object *obj, int on);
164 int edje_object_animation_get (Evas_Object *obj);
165
166 /* edje_util.c */
167 int edje_object_freeze (Evas_Object *obj);
168 int edje_object_thaw (Evas_Object *obj);
169 void edje_object_color_class_set (Evas_Object *obj, const char *color_class, int r, int g, int b, int a, int r2, int g2, int b2, int a2, int r3, int g3, int b3, int a3);
170 void edje_object_text_class_set (Evas_Object *obj, const char *text_class, const char *font, Evas_Font_Size size);
171 void edje_object_size_min_get (Evas_Object *obj, Evas_Coord *minw, Evas_Coord *minh);
172 void edje_object_size_max_get (Evas_Object *obj, Evas_Coord *maxw, Evas_Coord *maxh);
173 void edje_object_size_min_calc (Evas_Object *obj, Evas_Coord *minw, Evas_Coord *minh);
174 int edje_object_part_exists (Evas_Object *obj, const char *part);
175 void edje_object_part_geometry_get (Evas_Object *obj, const char *part, Evas_Coord *x, Evas_Coord *y, Evas_Coord *w, Evas_Coord *h);
176 void edje_object_text_change_cb_set (Evas_Object *obj, void (*func) (void *data, Evas_Object *obj, const char *part), void *data);
177 void edje_object_part_text_set (Evas_Object *obj, const char *part, const char *text);
178 const char *edje_object_part_text_get (Evas_Object *obj, const char *part);
179 void edje_object_part_swallow (Evas_Object *obj, const char *part, Evas_Object *obj_swallow);
180 void edje_object_part_unswallow (Evas_Object *obj, Evas_Object *obj_swallow);
181 Evas_Object *edje_object_part_swallow_get (Evas_Object *obj, const char *part);
182 const char *edje_object_part_state_get (Evas_Object *obj, const char *part, double *val_ret);
183 int edje_object_part_drag_dir_get (Evas_Object *obj, const char *part);
184 void edje_object_part_drag_value_set (Evas_Object *obj, const char *part, double dx, double dy);
185 void edje_object_part_drag_value_get (Evas_Object *obj, const char *part, double *dx, double *dy);
186 void edje_object_part_drag_size_set (Evas_Object *obj, const char *part, double dw, double dh);
187 void edje_object_part_drag_size_get (Evas_Object *obj, const char *part, double *dw, double *dh);
188 void edje_object_part_drag_step_set (Evas_Object *obj, const char *part, double dx, double dy);
189 void edje_object_part_drag_step_get (Evas_Object *obj, const char *part, double *dx, double *dy);
190 void edje_object_part_drag_page_set (Evas_Object *obj, const char *part, double dx, double dy);
191 void edje_object_part_drag_page_get (Evas_Object *obj, const char *part, double *dx, double *dy);
192 void edje_object_part_drag_step (Evas_Object *obj, const char *part, double dx, double dy);
193 void edje_object_part_drag_page (Evas_Object *obj, const char *part, double dx, double dy);
194
195 /* edje_message_queue.c */
196 void edje_object_message_send (Evas_Object *obj, Edje_Message_Type type, int id, void *msg);
197 void edje_object_message_handler_set (Evas_Object *obj, void (*func) (void *data, Evas_Object *obj, Edje_Message_Type type, int id, void *msg), void *data);
198 void edje_object_message_signal_process (Evas_Object *obj);
199
200 void edje_message_signal_process (void);
201 218
202#ifdef __cplusplus 219#ifdef __cplusplus
203} 220}
diff --git a/legacy/embryo/src/bin/embryo_main.c b/legacy/embryo/src/bin/embryo_main.c
index d37c4c63dc..2cf1311a2a 100644
--- a/legacy/embryo/src/bin/embryo_main.c
+++ b/legacy/embryo/src/bin/embryo_main.c
@@ -285,7 +285,8 @@ main(int argc,char *argv[])
285 fn = EMBRYO_FUNCTION_MAIN; 285 fn = EMBRYO_FUNCTION_MAIN;
286 } 286 }
287 } 287 }
288 embryo_program_max_cycle_run_set(ep, 100000000); 288 if (!getenv("NOMAX"))
289 embryo_program_max_cycle_run_set(ep, 100000000);
289 for (;;) 290 for (;;)
290 { 291 {
291 r = embryo_program_run(ep, fn); 292 r = embryo_program_run(ep, fn);
diff --git a/legacy/embryo/src/lib/Embryo.h b/legacy/embryo/src/lib/Embryo.h
index d0a4eefab9..b3e7fa8133 100644
--- a/legacy/embryo/src/lib/Embryo.h
+++ b/legacy/embryo/src/lib/Embryo.h
@@ -1,6 +1,23 @@
1#ifndef _EMBRYO_H 1#ifndef _EMBRYO_H
2#define _EMBRYO_H 2#define _EMBRYO_H
3 3
4#ifdef EAPI
5#undef EAPI
6#endif
7#ifdef WIN32
8# ifdef BUILDING_DLL
9# define EAPI __declspec(dllexport)
10# else
11# define EAPI __declspec(dllimport)
12# endif
13#else
14# ifdef GCC_HASCLASSVISIBILITY
15# define EAPI __attribute__ ((visibility("default")))
16# else
17# define EAPI
18# endif
19#endif
20
4#ifdef __cplusplus 21#ifdef __cplusplus
5extern "C" { 22extern "C" {
6#endif 23#endif
@@ -64,42 +81,42 @@ extern "C" {
64/** Embryo_Cell to float */ 81/** Embryo_Cell to float */
65#define EMBRYO_CELL_TO_FLOAT(c) ((FloatEmbryoCell) c).f 82#define EMBRYO_CELL_TO_FLOAT(c) ((FloatEmbryoCell) c).f
66 83
67 int embryo_init(void); 84 EAPI int embryo_init(void);
68 int embryo_shutdown(void); 85 EAPI int embryo_shutdown(void);
69 86
70 Embryo_Program *embryo_program_new(void *data, int size); 87 EAPI Embryo_Program *embryo_program_new(void *data, int size);
71 Embryo_Program *embryo_program_const_new(void *data, int size); 88 EAPI Embryo_Program *embryo_program_const_new(void *data, int size);
72 Embryo_Program *embryo_program_load(char *file); 89 EAPI Embryo_Program *embryo_program_load(char *file);
73 void embryo_program_free(Embryo_Program *ep); 90 EAPI void embryo_program_free(Embryo_Program *ep);
74 void embryo_program_native_call_add(Embryo_Program *ep, char *name, Embryo_Cell (*func) (Embryo_Program *ep, Embryo_Cell *params)); 91 EAPI void embryo_program_native_call_add(Embryo_Program *ep, char *name, Embryo_Cell (*func) (Embryo_Program *ep, Embryo_Cell *params));
75 void embryo_program_vm_reset(Embryo_Program *ep); 92 EAPI void embryo_program_vm_reset(Embryo_Program *ep);
76 void embryo_program_vm_push(Embryo_Program *ep); 93 EAPI void embryo_program_vm_push(Embryo_Program *ep);
77 void embryo_program_vm_pop(Embryo_Program *ep); 94 EAPI void embryo_program_vm_pop(Embryo_Program *ep);
78 void embryo_swap_16(unsigned short *v); 95 EAPI void embryo_swap_16(unsigned short *v);
79 void embryo_swap_32(unsigned int *v); 96 EAPI void embryo_swap_32(unsigned int *v);
80 Embryo_Function embryo_program_function_find(Embryo_Program *ep, char *name); 97 EAPI Embryo_Function embryo_program_function_find(Embryo_Program *ep, char *name);
81 Embryo_Cell embryo_program_variable_find(Embryo_Program *ep, char *name); 98 EAPI Embryo_Cell embryo_program_variable_find(Embryo_Program *ep, char *name);
82 int embryo_program_variable_count_get(Embryo_Program *ep); 99 EAPI int embryo_program_variable_count_get(Embryo_Program *ep);
83 Embryo_Cell embryo_program_variable_get(Embryo_Program *ep, int num); 100 EAPI Embryo_Cell embryo_program_variable_get(Embryo_Program *ep, int num);
84 void embryo_program_error_set(Embryo_Program *ep, int error); 101 EAPI void embryo_program_error_set(Embryo_Program *ep, int error);
85 int embryo_program_error_get(Embryo_Program *ep); 102 EAPI int embryo_program_error_get(Embryo_Program *ep);
86 void embryo_program_data_set(Embryo_Program *ep, void *data); 103 EAPI void embryo_program_data_set(Embryo_Program *ep, void *data);
87 void *embryo_program_data_get(Embryo_Program *ep); 104 EAPI void *embryo_program_data_get(Embryo_Program *ep);
88 const char *embryo_error_string_get(int error); 105 EAPI const char *embryo_error_string_get(int error);
89 int embryo_data_string_length_get(Embryo_Program *ep, Embryo_Cell *str_cell); 106 EAPI int embryo_data_string_length_get(Embryo_Program *ep, Embryo_Cell *str_cell);
90 void embryo_data_string_get(Embryo_Program *ep, Embryo_Cell *str_cell, char *dst); 107 EAPI void embryo_data_string_get(Embryo_Program *ep, Embryo_Cell *str_cell, char *dst);
91 void embryo_data_string_set(Embryo_Program *ep, char *src, Embryo_Cell *str_cell); 108 EAPI void embryo_data_string_set(Embryo_Program *ep, char *src, Embryo_Cell *str_cell);
92 Embryo_Cell *embryo_data_address_get(Embryo_Program *ep, Embryo_Cell addr); 109 EAPI Embryo_Cell *embryo_data_address_get(Embryo_Program *ep, Embryo_Cell addr);
93 Embryo_Cell embryo_data_heap_push(Embryo_Program *ep, int cells); 110 EAPI Embryo_Cell embryo_data_heap_push(Embryo_Program *ep, int cells);
94 void embryo_data_heap_pop(Embryo_Program *ep, Embryo_Cell down_to); 111 EAPI void embryo_data_heap_pop(Embryo_Program *ep, Embryo_Cell down_to);
95 int embryo_program_recursion_get(Embryo_Program *ep); 112 EAPI int embryo_program_recursion_get(Embryo_Program *ep);
96 int embryo_program_run(Embryo_Program *ep, Embryo_Function func); 113 EAPI int embryo_program_run(Embryo_Program *ep, Embryo_Function func);
97 Embryo_Cell embryo_program_return_value_get(Embryo_Program *ep); 114 EAPI Embryo_Cell embryo_program_return_value_get(Embryo_Program *ep);
98 void embryo_program_max_cycle_run_set(Embryo_Program *ep, int max); 115 EAPI void embryo_program_max_cycle_run_set(Embryo_Program *ep, int max);
99 int embryo_program_max_cycle_run_get(Embryo_Program *ep); 116 EAPI int embryo_program_max_cycle_run_get(Embryo_Program *ep);
100 int embryo_parameter_cell_push(Embryo_Program *ep, Embryo_Cell cell); 117 EAPI int embryo_parameter_cell_push(Embryo_Program *ep, Embryo_Cell cell);
101 int embryo_parameter_string_push(Embryo_Program *ep, char *str); 118 EAPI int embryo_parameter_string_push(Embryo_Program *ep, char *str);
102 int embryo_parameter_cell_array_push(Embryo_Program *ep, Embryo_Cell *cells, int num); 119 EAPI int embryo_parameter_cell_array_push(Embryo_Program *ep, Embryo_Cell *cells, int num);
103 120
104#ifdef __cplusplus 121#ifdef __cplusplus
105} 122}
diff --git a/legacy/evas/src/lib/Evas.h b/legacy/evas/src/lib/Evas.h
index b698070ad0..8d00bce981 100644
--- a/legacy/evas/src/lib/Evas.h
+++ b/legacy/evas/src/lib/Evas.h
@@ -1,6 +1,23 @@
1#ifndef _EVAS_H 1#ifndef _EVAS_H
2#define _EVAS_H 2#define _EVAS_H
3 3
4#ifdef EAPI
5#undef EAPI
6#endif
7#ifdef WIN32
8# ifdef BUILDING_DLL
9# define EAPI __declspec(dllexport)
10# else
11# define EAPI __declspec(dllimport)
12# endif
13#else
14# ifdef GCC_HASCLASSVISIBILITY
15# define EAPI __attribute__ ((visibility("default")))
16# else
17# define EAPI
18# endif
19#endif
20
4#ifndef EVAS_COMMON_H 21#ifndef EVAS_COMMON_H
5#ifndef EVAS_PRIVATE_H 22#ifndef EVAS_PRIVATE_H
6 23
@@ -246,25 +263,25 @@ struct _Evas_Event_Key_Up /** Key release event */
246extern "C" { 263extern "C" {
247#endif 264#endif
248 265
249 Evas_List *evas_list_append (Evas_List *list, const void *data); 266 EAPI Evas_List *evas_list_append (Evas_List *list, const void *data);
250 Evas_List *evas_list_prepend (Evas_List *list, const void *data); 267 EAPI Evas_List *evas_list_prepend (Evas_List *list, const void *data);
251 Evas_List *evas_list_append_relative (Evas_List *list, const void *data, const void *relative); 268 EAPI Evas_List *evas_list_append_relative (Evas_List *list, const void *data, const void *relative);
252 Evas_List *evas_list_prepend_relative (Evas_List *list, const void *data, const void *relative); 269 EAPI Evas_List *evas_list_prepend_relative (Evas_List *list, const void *data, const void *relative);
253 Evas_List *evas_list_remove (Evas_List *list, const void *data); 270 EAPI Evas_List *evas_list_remove (Evas_List *list, const void *data);
254 Evas_List *evas_list_remove_list (Evas_List *list, Evas_List *remove_list); 271 EAPI Evas_List *evas_list_remove_list (Evas_List *list, Evas_List *remove_list);
255 void *evas_list_find (Evas_List *list, const void *data); 272 EAPI void *evas_list_find (Evas_List *list, const void *data);
256 Evas_List *evas_list_find_list (Evas_List *list, const void *data); 273 EAPI Evas_List *evas_list_find_list (Evas_List *list, const void *data);
257 Evas_List *evas_list_free (Evas_List *list); 274 EAPI Evas_List *evas_list_free (Evas_List *list);
258 Evas_List *evas_list_last (Evas_List *list); 275 EAPI Evas_List *evas_list_last (Evas_List *list);
259 Evas_List *evas_list_next (Evas_List *list); 276 EAPI Evas_List *evas_list_next (Evas_List *list);
260 Evas_List *evas_list_prev (Evas_List *list); 277 EAPI Evas_List *evas_list_prev (Evas_List *list);
261 void *evas_list_data (Evas_List *list); 278 EAPI void *evas_list_data (Evas_List *list);
262 int evas_list_count (Evas_List *list); 279 EAPI int evas_list_count (Evas_List *list);
263 void *evas_list_nth (Evas_List *list, int n); 280 EAPI void *evas_list_nth (Evas_List *list, int n);
264 Evas_List *evas_list_nth_list (Evas_List *list, int n); 281 EAPI Evas_List *evas_list_nth_list (Evas_List *list, int n);
265 Evas_List *evas_list_reverse (Evas_List *list); 282 EAPI Evas_List *evas_list_reverse (Evas_List *list);
266 Evas_List *evas_list_sort (Evas_List *list, int size, int(*func)(void*,void*)); 283 EAPI Evas_List *evas_list_sort (Evas_List *list, int size, int(*func)(void*,void*));
267 int evas_list_alloc_error (void); 284 EAPI int evas_list_alloc_error (void);
268 285
269 /* FIXME: add: 286 /* FIXME: add:
270 * api to add find, del members by data, size not just string and also 287 * api to add find, del members by data, size not just string and also
@@ -272,267 +289,267 @@ extern "C" {
272 * 289 *
273 * do we really need this? hmmm - let me think... there may be a better way 290 * do we really need this? hmmm - let me think... there may be a better way
274 */ 291 */
275 Evas_Hash *evas_hash_add (Evas_Hash *hash, const char *key, const void*data); 292 EAPI Evas_Hash *evas_hash_add (Evas_Hash *hash, const char *key, const void*data);
276 Evas_Hash *evas_hash_del (Evas_Hash *hash, const char *key, const void*data); 293 EAPI Evas_Hash *evas_hash_del (Evas_Hash *hash, const char *key, const void*data);
277 void *evas_hash_find (Evas_Hash *hash, const char *key); 294 EAPI void *evas_hash_find (Evas_Hash *hash, const char *key);
278 int evas_hash_size (Evas_Hash *hash); 295 EAPI int evas_hash_size (Evas_Hash *hash);
279 void evas_hash_free (Evas_Hash *hash); 296 EAPI void evas_hash_free (Evas_Hash *hash);
280 void evas_hash_foreach (Evas_Hash *hash, Evas_Bool (*func) (Evas_Hash *hash, const char *key, void *data, void *fdata), const void *fdata); 297 EAPI void evas_hash_foreach (Evas_Hash *hash, Evas_Bool (*func) (Evas_Hash *hash, const char *key, void *data, void *fdata), const void *fdata);
281 int evas_hash_alloc_error (void); 298 EAPI int evas_hash_alloc_error (void);
282 299
283 int evas_alloc_error (void); 300 EAPI int evas_alloc_error (void);
284 301
285 int evas_init (void); 302 EAPI int evas_init (void);
286 int evas_shutdown (void); 303 EAPI int evas_shutdown (void);
287 304
288 Evas *evas_new (void); 305 EAPI Evas *evas_new (void);
289 void evas_free (Evas *e); 306 EAPI void evas_free (Evas *e);
290 307
291 int evas_render_method_lookup (const char *name); 308 EAPI int evas_render_method_lookup (const char *name);
292 Evas_List *evas_render_method_list (void); 309 EAPI Evas_List *evas_render_method_list (void);
293 void evas_render_method_list_free (Evas_List *list); 310 EAPI void evas_render_method_list_free (Evas_List *list);
294 311
295 void evas_output_method_set (Evas *e, int render_method); 312 EAPI void evas_output_method_set (Evas *e, int render_method);
296 int evas_output_method_get (Evas *e); 313 EAPI int evas_output_method_get (Evas *e);
297 314
298 Evas_Engine_Info *evas_engine_info_get (Evas *e); 315 EAPI Evas_Engine_Info *evas_engine_info_get (Evas *e);
299 void evas_engine_info_set (Evas *e, Evas_Engine_Info *info); 316 EAPI void evas_engine_info_set (Evas *e, Evas_Engine_Info *info);
300 317
301 void evas_output_size_set (Evas *e, int w, int h); 318 EAPI void evas_output_size_set (Evas *e, int w, int h);
302 void evas_output_size_get (Evas *e, int *w, int *h); 319 EAPI void evas_output_size_get (Evas *e, int *w, int *h);
303 void evas_output_viewport_set (Evas *e, Evas_Coord x, Evas_Coord y, Evas_Coord w, Evas_Coord h); 320 EAPI void evas_output_viewport_set (Evas *e, Evas_Coord x, Evas_Coord y, Evas_Coord w, Evas_Coord h);
304 void evas_output_viewport_get (Evas *e, Evas_Coord *x, Evas_Coord *y, Evas_Coord *w, Evas_Coord *h); 321 EAPI void evas_output_viewport_get (Evas *e, Evas_Coord *x, Evas_Coord *y, Evas_Coord *w, Evas_Coord *h);
305 322
306 Evas_Coord evas_coord_screen_x_to_world (Evas *e, int x); 323 EAPI Evas_Coord evas_coord_screen_x_to_world (Evas *e, int x);
307 Evas_Coord evas_coord_screen_y_to_world (Evas *e, int y); 324 EAPI Evas_Coord evas_coord_screen_y_to_world (Evas *e, int y);
308 int evas_coord_world_x_to_screen (Evas *e, Evas_Coord x); 325 EAPI int evas_coord_world_x_to_screen (Evas *e, Evas_Coord x);
309 int evas_coord_world_y_to_screen (Evas *e, Evas_Coord y); 326 EAPI int evas_coord_world_y_to_screen (Evas *e, Evas_Coord y);
310 327
311 void evas_pointer_output_xy_get (Evas *e, int *x, int *y); 328 EAPI void evas_pointer_output_xy_get (Evas *e, int *x, int *y);
312 void evas_pointer_canvas_xy_get (Evas *e, Evas_Coord *x, Evas_Coord *y); 329 EAPI void evas_pointer_canvas_xy_get (Evas *e, Evas_Coord *x, Evas_Coord *y);
313 int evas_pointer_button_down_mask_get (Evas *e); 330 EAPI int evas_pointer_button_down_mask_get (Evas *e);
314 Evas_Bool evas_pointer_inside_get (Evas *e); 331 EAPI Evas_Bool evas_pointer_inside_get (Evas *e);
315/* DOC UP TO HERE */ 332/* DOC UP TO HERE */
316 void evas_damage_rectangle_add (Evas *e, int x, int y, int w, int h); 333 EAPI void evas_damage_rectangle_add (Evas *e, int x, int y, int w, int h);
317 void evas_obscured_rectangle_add (Evas *e, int x, int y, int w, int h); 334 EAPI void evas_obscured_rectangle_add (Evas *e, int x, int y, int w, int h);
318 void evas_obscured_clear (Evas *e); 335 EAPI void evas_obscured_clear (Evas *e);
319 Evas_List *evas_render_updates (Evas *e); 336 EAPI Evas_List *evas_render_updates (Evas *e);
320 void evas_render_updates_free (Evas_List *updates); 337 EAPI void evas_render_updates_free (Evas_List *updates);
321 void evas_render (Evas *e); 338 EAPI void evas_render (Evas *e);
322 339
323 Evas_Object *evas_object_rectangle_add (Evas *e); 340 EAPI Evas_Object *evas_object_rectangle_add (Evas *e);
324 341
325 Evas_Object *evas_object_line_add (Evas *e); 342 EAPI Evas_Object *evas_object_line_add (Evas *e);
326 void evas_object_line_xy_set (Evas_Object *obj, Evas_Coord x1, Evas_Coord y1, Evas_Coord x2, Evas_Coord y2); 343 EAPI void evas_object_line_xy_set (Evas_Object *obj, Evas_Coord x1, Evas_Coord y1, Evas_Coord x2, Evas_Coord y2);
327 void evas_object_line_xy_get (Evas_Object *obj, Evas_Coord *x1, Evas_Coord *y1, Evas_Coord *x2, Evas_Coord *y2); 344 EAPI void evas_object_line_xy_get (Evas_Object *obj, Evas_Coord *x1, Evas_Coord *y1, Evas_Coord *x2, Evas_Coord *y2);
328 345
329 Evas_Object *evas_object_gradient_add (Evas *e); 346 EAPI Evas_Object *evas_object_gradient_add (Evas *e);
330 void evas_object_gradient_color_add (Evas_Object *obj, int r, int g, int b, int a, int distance); 347 EAPI void evas_object_gradient_color_add (Evas_Object *obj, int r, int g, int b, int a, int distance);
331 void evas_object_gradient_colors_clear (Evas_Object *obj); 348 EAPI void evas_object_gradient_colors_clear (Evas_Object *obj);
332 void evas_object_gradient_angle_set (Evas_Object *obj, Evas_Angle angle); 349 EAPI void evas_object_gradient_angle_set (Evas_Object *obj, Evas_Angle angle);
333 Evas_Angle evas_object_gradient_angle_get (Evas_Object *obj); 350 EAPI Evas_Angle evas_object_gradient_angle_get (Evas_Object *obj);
334 351
335 Evas_Object *evas_object_polygon_add (Evas *e); 352 EAPI Evas_Object *evas_object_polygon_add (Evas *e);
336 void evas_object_polygon_point_add (Evas_Object *obj, Evas_Coord x, Evas_Coord y); 353 EAPI void evas_object_polygon_point_add (Evas_Object *obj, Evas_Coord x, Evas_Coord y);
337 void evas_object_polygon_points_clear (Evas_Object *obj); 354 EAPI void evas_object_polygon_points_clear (Evas_Object *obj);
338 355
339 Evas_Object *evas_object_image_add (Evas *e); 356 EAPI Evas_Object *evas_object_image_add (Evas *e);
340 void evas_object_image_file_set (Evas_Object *obj, const char *file, const char *key); 357 EAPI void evas_object_image_file_set (Evas_Object *obj, const char *file, const char *key);
341 void evas_object_image_file_get (Evas_Object *obj, char **file, char **key); 358 EAPI void evas_object_image_file_get (Evas_Object *obj, char **file, char **key);
342 void evas_object_image_border_set (Evas_Object *obj, int l, int r, int t, int b); 359 EAPI void evas_object_image_border_set (Evas_Object *obj, int l, int r, int t, int b);
343 void evas_object_image_border_get (Evas_Object *obj, int *l, int *r, int *t, int *b); 360 EAPI void evas_object_image_border_get (Evas_Object *obj, int *l, int *r, int *t, int *b);
344 void evas_object_image_fill_set (Evas_Object *obj, Evas_Coord x, Evas_Coord y, Evas_Coord w, Evas_Coord h); 361 EAPI void evas_object_image_fill_set (Evas_Object *obj, Evas_Coord x, Evas_Coord y, Evas_Coord w, Evas_Coord h);
345 void evas_object_image_fill_get (Evas_Object *obj, Evas_Coord *x, Evas_Coord *y, Evas_Coord *w, Evas_Coord *h); 362 EAPI void evas_object_image_fill_get (Evas_Object *obj, Evas_Coord *x, Evas_Coord *y, Evas_Coord *w, Evas_Coord *h);
346 void evas_object_image_size_set (Evas_Object *obj, int w, int h); 363 EAPI void evas_object_image_size_set (Evas_Object *obj, int w, int h);
347 void evas_object_image_size_get (Evas_Object *obj, int *w, int *h); 364 EAPI void evas_object_image_size_get (Evas_Object *obj, int *w, int *h);
348 int evas_object_image_load_error_get (Evas_Object *obj); 365 EAPI int evas_object_image_load_error_get (Evas_Object *obj);
349 void evas_object_image_data_set (Evas_Object *obj, void *data); 366 EAPI void evas_object_image_data_set (Evas_Object *obj, void *data);
350 void *evas_object_image_data_get (Evas_Object *obj, Evas_Bool for_writing); 367 EAPI void *evas_object_image_data_get (Evas_Object *obj, Evas_Bool for_writing);
351 void evas_object_image_data_copy_set (Evas_Object *obj, void *data); 368 EAPI void evas_object_image_data_copy_set (Evas_Object *obj, void *data);
352 void evas_object_image_data_update_add (Evas_Object *obj, int x, int y, int w, int h); 369 EAPI void evas_object_image_data_update_add (Evas_Object *obj, int x, int y, int w, int h);
353 void evas_object_image_alpha_set (Evas_Object *obj, Evas_Bool has_alpha); 370 EAPI void evas_object_image_alpha_set (Evas_Object *obj, Evas_Bool has_alpha);
354 Evas_Bool evas_object_image_alpha_get (Evas_Object *obj); 371 EAPI Evas_Bool evas_object_image_alpha_get (Evas_Object *obj);
355 void evas_object_image_smooth_scale_set(Evas_Object *obj, Evas_Bool smooth_scale); 372 EAPI void evas_object_image_smooth_scale_set(Evas_Object *obj, Evas_Bool smooth_scale);
356 Evas_Bool evas_object_image_smooth_scale_get(Evas_Object *obj); 373 EAPI Evas_Bool evas_object_image_smooth_scale_get(Evas_Object *obj);
357 void evas_object_image_reload (Evas_Object *obj); 374 EAPI void evas_object_image_reload (Evas_Object *obj);
358 Evas_Bool evas_object_image_pixels_import (Evas_Object *obj, Evas_Pixel_Import_Source *pixels); 375 EAPI Evas_Bool evas_object_image_pixels_import (Evas_Object *obj, Evas_Pixel_Import_Source *pixels);
359 void evas_object_image_pixels_get_callback_set(Evas_Object *obj, void (*func) (void *data, Evas_Object *o), void *data); 376 EAPI void evas_object_image_pixels_get_callback_set(Evas_Object *obj, void (*func) (void *data, Evas_Object *o), void *data);
360 void evas_object_image_pixels_dirty_set (Evas_Object *obj, Evas_Bool dirty); 377 EAPI void evas_object_image_pixels_dirty_set (Evas_Object *obj, Evas_Bool dirty);
361 Evas_Bool evas_object_image_pixels_dirty_get (Evas_Object *obj); 378 EAPI Evas_Bool evas_object_image_pixels_dirty_get (Evas_Object *obj);
362 379
363 void evas_image_cache_flush (Evas *e); 380 EAPI void evas_image_cache_flush (Evas *e);
364 void evas_image_cache_reload (Evas *e); 381 EAPI void evas_image_cache_reload (Evas *e);
365 void evas_image_cache_set (Evas *e, int size); 382 EAPI void evas_image_cache_set (Evas *e, int size);
366 int evas_image_cache_get (Evas *e); 383 EAPI int evas_image_cache_get (Evas *e);
367 384
368 Evas_Object *evas_object_text_add (Evas *e); 385 EAPI Evas_Object *evas_object_text_add (Evas *e);
369 void evas_object_text_font_source_set (Evas_Object *obj, const char *font); 386 EAPI void evas_object_text_font_source_set (Evas_Object *obj, const char *font);
370 const char *evas_object_text_font_source_get (Evas_Object *obj); 387 EAPI const char *evas_object_text_font_source_get (Evas_Object *obj);
371 void evas_object_text_font_set (Evas_Object *obj, const char *font, Evas_Font_Size size); 388 EAPI void evas_object_text_font_set (Evas_Object *obj, const char *font, Evas_Font_Size size);
372 void evas_object_text_font_get (Evas_Object *obj, char **font, Evas_Font_Size *size); 389 EAPI void evas_object_text_font_get (Evas_Object *obj, char **font, Evas_Font_Size *size);
373 void evas_object_text_text_set (Evas_Object *obj, const char *text); 390 EAPI void evas_object_text_text_set (Evas_Object *obj, const char *text);
374 const char *evas_object_text_text_get (Evas_Object *obj); 391 EAPI const char *evas_object_text_text_get (Evas_Object *obj);
375 Evas_Coord evas_object_text_ascent_get (Evas_Object *obj); 392 EAPI Evas_Coord evas_object_text_ascent_get (Evas_Object *obj);
376 Evas_Coord evas_object_text_descent_get (Evas_Object *obj); 393 EAPI Evas_Coord evas_object_text_descent_get (Evas_Object *obj);
377 Evas_Coord evas_object_text_max_ascent_get (Evas_Object *obj); 394 EAPI Evas_Coord evas_object_text_max_ascent_get (Evas_Object *obj);
378 Evas_Coord evas_object_text_max_descent_get (Evas_Object *obj); 395 EAPI Evas_Coord evas_object_text_max_descent_get (Evas_Object *obj);
379 Evas_Coord evas_object_text_horiz_advance_get(Evas_Object *obj); 396 EAPI Evas_Coord evas_object_text_horiz_advance_get(Evas_Object *obj);
380 Evas_Coord evas_object_text_vert_advance_get (Evas_Object *obj); 397 EAPI Evas_Coord evas_object_text_vert_advance_get (Evas_Object *obj);
381 Evas_Coord evas_object_text_inset_get (Evas_Object *obj); 398 EAPI Evas_Coord evas_object_text_inset_get (Evas_Object *obj);
382 int evas_object_text_char_pos_get (Evas_Object *obj, int pos, Evas_Coord *cx, Evas_Coord *cy, Evas_Coord *cw, Evas_Coord *ch); 399 EAPI int evas_object_text_char_pos_get (Evas_Object *obj, int pos, Evas_Coord *cx, Evas_Coord *cy, Evas_Coord *cw, Evas_Coord *ch);
383 int evas_object_text_char_coords_get (Evas_Object *obj, Evas_Coord x, Evas_Coord y, Evas_Coord *cx, Evas_Coord *cy, Evas_Coord *cw, Evas_Coord *ch); 400 EAPI int evas_object_text_char_coords_get (Evas_Object *obj, Evas_Coord x, Evas_Coord y, Evas_Coord *cx, Evas_Coord *cy, Evas_Coord *cw, Evas_Coord *ch);
384 401
385 int evas_string_char_next_get (const char *str, int pos, int *decoded); 402 EAPI int evas_string_char_next_get (const char *str, int pos, int *decoded);
386 int evas_string_char_prev_get (const char *str, int pos, int *decoded); 403 EAPI int evas_string_char_prev_get (const char *str, int pos, int *decoded);
387 404
388 void evas_font_path_clear (Evas *e); 405 EAPI void evas_font_path_clear (Evas *e);
389 void evas_font_path_append (Evas *e, const char *path); 406 EAPI void evas_font_path_append (Evas *e, const char *path);
390 void evas_font_path_prepend (Evas *e, const char *path); 407 EAPI void evas_font_path_prepend (Evas *e, const char *path);
391 const Evas_List *evas_font_path_list (Evas *e); 408 EAPI const Evas_List *evas_font_path_list (Evas *e);
392 409
393 void evas_font_cache_flush (Evas *e); 410 EAPI void evas_font_cache_flush (Evas *e);
394 void evas_font_cache_set (Evas *e, int size); 411 EAPI void evas_font_cache_set (Evas *e, int size);
395 int evas_font_cache_get (Evas *e); 412 EAPI int evas_font_cache_get (Evas *e);
396 413
397 void evas_object_del (Evas_Object *obj); 414 EAPI void evas_object_del (Evas_Object *obj);
398 415
399 const char *evas_object_type_get (Evas_Object *obj); 416 EAPI const char *evas_object_type_get (Evas_Object *obj);
400 417
401 void evas_object_layer_set (Evas_Object *obj, int l); 418 EAPI void evas_object_layer_set (Evas_Object *obj, int l);
402 int evas_object_layer_get (Evas_Object *obj); 419 EAPI int evas_object_layer_get (Evas_Object *obj);
403 420
404 void evas_object_raise (Evas_Object *obj); 421 EAPI void evas_object_raise (Evas_Object *obj);
405 void evas_object_lower (Evas_Object *obj); 422 EAPI void evas_object_lower (Evas_Object *obj);
406 void evas_object_stack_above (Evas_Object *obj, Evas_Object *above); 423 EAPI void evas_object_stack_above (Evas_Object *obj, Evas_Object *above);
407 void evas_object_stack_below (Evas_Object *obj, Evas_Object *below); 424 EAPI void evas_object_stack_below (Evas_Object *obj, Evas_Object *below);
408 Evas_Object *evas_object_above_get (Evas_Object *obj); 425 EAPI Evas_Object *evas_object_above_get (Evas_Object *obj);
409 Evas_Object *evas_object_below_get (Evas_Object *obj); 426 EAPI Evas_Object *evas_object_below_get (Evas_Object *obj);
410 Evas_Object *evas_object_bottom_get (Evas *e); 427 EAPI Evas_Object *evas_object_bottom_get (Evas *e);
411 Evas_Object *evas_object_top_get (Evas *e); 428 EAPI Evas_Object *evas_object_top_get (Evas *e);
412 429
413 void evas_object_move (Evas_Object *obj, Evas_Coord x, Evas_Coord y); 430 EAPI void evas_object_move (Evas_Object *obj, Evas_Coord x, Evas_Coord y);
414 void evas_object_resize (Evas_Object *obj, Evas_Coord w, Evas_Coord h); 431 EAPI void evas_object_resize (Evas_Object *obj, Evas_Coord w, Evas_Coord h);
415 void evas_object_geometry_get (Evas_Object *obj, Evas_Coord *x, Evas_Coord *y, Evas_Coord *w, Evas_Coord *h); 432 EAPI void evas_object_geometry_get (Evas_Object *obj, Evas_Coord *x, Evas_Coord *y, Evas_Coord *w, Evas_Coord *h);
416 433
417 void evas_object_show (Evas_Object *obj); 434 EAPI void evas_object_show (Evas_Object *obj);
418 void evas_object_hide (Evas_Object *obj); 435 EAPI void evas_object_hide (Evas_Object *obj);
419 Evas_Bool evas_object_visible_get (Evas_Object *obj); 436 EAPI Evas_Bool evas_object_visible_get (Evas_Object *obj);
420 437
421 void evas_object_color_set (Evas_Object *obj, int r, int g, int b, int a); 438 EAPI void evas_object_color_set (Evas_Object *obj, int r, int g, int b, int a);
422 void evas_object_color_get (Evas_Object *obj, int *r, int *g, int *b, int *a); 439 EAPI void evas_object_color_get (Evas_Object *obj, int *r, int *g, int *b, int *a);
423 440
424 void evas_object_clip_set (Evas_Object *obj, Evas_Object *clip); 441 EAPI void evas_object_clip_set (Evas_Object *obj, Evas_Object *clip);
425 Evas_Object *evas_object_clip_get (Evas_Object *obj); 442 EAPI Evas_Object *evas_object_clip_get (Evas_Object *obj);
426 void evas_object_clip_unset (Evas_Object *obj); 443 EAPI void evas_object_clip_unset (Evas_Object *obj);
427 const Evas_List *evas_object_clipees_get (Evas_Object *obj); 444 EAPI const Evas_List *evas_object_clipees_get (Evas_Object *obj);
428 445
429 void evas_object_data_set (Evas_Object *obj, const char *key, const void *data); 446 EAPI void evas_object_data_set (Evas_Object *obj, const char *key, const void *data);
430 void *evas_object_data_get (Evas_Object *obj, const char *key); 447 EAPI void *evas_object_data_get (Evas_Object *obj, const char *key);
431 void *evas_object_data_del (Evas_Object *obj, const char *key); 448 EAPI void *evas_object_data_del (Evas_Object *obj, const char *key);
432 449
433 void evas_object_name_set (Evas_Object *obj, const char *name); 450 EAPI void evas_object_name_set (Evas_Object *obj, const char *name);
434 const char *evas_object_name_get (Evas_Object *obj); 451 EAPI const char *evas_object_name_get (Evas_Object *obj);
435 Evas_Object *evas_object_name_find (Evas *e, const char *name); 452 EAPI Evas_Object *evas_object_name_find (Evas *e, const char *name);
436 453
437 Evas *evas_object_evas_get (Evas_Object *obj); 454 EAPI Evas *evas_object_evas_get (Evas_Object *obj);
438 455
439 Evas_Object *evas_object_top_at_xy_get (Evas *e, Evas_Coord x, Evas_Coord y, Evas_Bool include_pass_events_objects, Evas_Bool include_hidden_objects); 456 EAPI Evas_Object *evas_object_top_at_xy_get (Evas *e, Evas_Coord x, Evas_Coord y, Evas_Bool include_pass_events_objects, Evas_Bool include_hidden_objects);
440 Evas_Object *evas_object_top_at_pointer_get (Evas *e); 457 EAPI Evas_Object *evas_object_top_at_pointer_get (Evas *e);
441 Evas_Object *evas_object_top_in_rectangle_get (Evas *e, Evas_Coord x, Evas_Coord y, Evas_Coord w, Evas_Coord h, Evas_Bool include_pass_events_objects, Evas_Bool include_hidden_objects); 458 EAPI Evas_Object *evas_object_top_in_rectangle_get (Evas *e, Evas_Coord x, Evas_Coord y, Evas_Coord w, Evas_Coord h, Evas_Bool include_pass_events_objects, Evas_Bool include_hidden_objects);
442 459
443 Evas_List *evas_objects_at_xy_get (Evas *e, Evas_Coord x, Evas_Coord y, Evas_Bool include_pass_events_objects, Evas_Bool include_hidden_objects); 460 EAPI Evas_List *evas_objects_at_xy_get (Evas *e, Evas_Coord x, Evas_Coord y, Evas_Bool include_pass_events_objects, Evas_Bool include_hidden_objects);
444 Evas_List *evas_objects_in_rectangle_get (Evas *e, Evas_Coord x, Evas_Coord y, Evas_Coord w, Evas_Coord h, Evas_Bool include_pass_events_objects, Evas_Bool include_hidden_objects); 461 EAPI Evas_List *evas_objects_in_rectangle_get (Evas *e, Evas_Coord x, Evas_Coord y, Evas_Coord w, Evas_Coord h, Evas_Bool include_pass_events_objects, Evas_Bool include_hidden_objects);
445 462
446 Evas_Smart *evas_smart_new (const char *name, void (*func_add) (Evas_Object *obj), void (*func_del) (Evas_Object *obj), void (*func_layer_set) (Evas_Object *obj, int l), void (*func_raise) (Evas_Object *obj), void (*func_lower) (Evas_Object *obj), void (*func_stack_above) (Evas_Object *obj, Evas_Object *above), void (*func_stack_below) (Evas_Object *obj, Evas_Object *below), void (*func_move) (Evas_Object *obj, Evas_Coord x, Evas_Coord y), void (*func_resize) (Evas_Object *obj, Evas_Coord w, Evas_Coord h), void (*func_show) (Evas_Object *obj), void (*func_hide) (Evas_Object *obj), void (*func_color_set) (Evas_Object *obj, int r, int g, int b, int a), void (*func_clip_set) (Evas_Object *obj, Evas_Object *clip), void (*func_clip_unset) (Evas_Object *obj), const void *data); 463 EAPI Evas_Smart *evas_smart_new (const char *name, void (*func_add) (Evas_Object *obj), void (*func_del) (Evas_Object *obj), void (*func_layer_set) (Evas_Object *obj, int l), void (*func_raise) (Evas_Object *obj), void (*func_lower) (Evas_Object *obj), void (*func_stack_above) (Evas_Object *obj, Evas_Object *above), void (*func_stack_below) (Evas_Object *obj, Evas_Object *below), void (*func_move) (Evas_Object *obj, Evas_Coord x, Evas_Coord y), void (*func_resize) (Evas_Object *obj, Evas_Coord w, Evas_Coord h), void (*func_show) (Evas_Object *obj), void (*func_hide) (Evas_Object *obj), void (*func_color_set) (Evas_Object *obj, int r, int g, int b, int a), void (*func_clip_set) (Evas_Object *obj, Evas_Object *clip), void (*func_clip_unset) (Evas_Object *obj), const void *data);
447 void evas_smart_free (Evas_Smart *s); 464 EAPI void evas_smart_free (Evas_Smart *s);
448 Evas_Smart *evas_smart_class_new (Evas_Smart_Class *sc); 465 EAPI Evas_Smart *evas_smart_class_new (Evas_Smart_Class *sc);
449 Evas_Smart_Class *evas_smart_class_get (Evas_Smart *s); 466 EAPI Evas_Smart_Class *evas_smart_class_get (Evas_Smart *s);
450 467
451 void *evas_smart_data_get (Evas_Smart *s); 468 EAPI void *evas_smart_data_get (Evas_Smart *s);
452 469
453 Evas_Object *evas_object_smart_add (Evas *e, Evas_Smart *s); 470 EAPI Evas_Object *evas_object_smart_add (Evas *e, Evas_Smart *s);
454 void evas_object_smart_member_add (Evas_Object *obj, Evas_Object *smart_obj); 471 EAPI void evas_object_smart_member_add (Evas_Object *obj, Evas_Object *smart_obj);
455 void evas_object_smart_member_del (Evas_Object *obj); 472 EAPI void evas_object_smart_member_del (Evas_Object *obj);
456 Evas_Smart *evas_object_smart_smart_get (Evas_Object *obj); 473 EAPI Evas_Smart *evas_object_smart_smart_get (Evas_Object *obj);
457 void *evas_object_smart_data_get (Evas_Object *obj); 474 EAPI void *evas_object_smart_data_get (Evas_Object *obj);
458 void evas_object_smart_data_set (Evas_Object *obj, void *data); 475 EAPI void evas_object_smart_data_set (Evas_Object *obj, void *data);
459 void evas_object_smart_callback_add (Evas_Object *obj, const char *event, void (*func) (void *data, Evas_Object *obj, void *event_info), const void *data); 476 EAPI void evas_object_smart_callback_add (Evas_Object *obj, const char *event, void (*func) (void *data, Evas_Object *obj, void *event_info), const void *data);
460 void *evas_object_smart_callback_del (Evas_Object *obj, const char *event, void (*func) (void *data, Evas_Object *obj, void *event_info)); 477 EAPI void *evas_object_smart_callback_del (Evas_Object *obj, const char *event, void (*func) (void *data, Evas_Object *obj, void *event_info));
461 void evas_object_smart_callback_call (Evas_Object *obj, const char *event, void *event_info); 478 EAPI void evas_object_smart_callback_call (Evas_Object *obj, const char *event, void *event_info);
462 479
463 void evas_event_freeze (Evas *e); 480 EAPI void evas_event_freeze (Evas *e);
464 void evas_event_thaw (Evas *e); 481 EAPI void evas_event_thaw (Evas *e);
465 int evas_event_freeze_get (Evas *e); 482 EAPI int evas_event_freeze_get (Evas *e);
466 void evas_event_feed_mouse_down_data (Evas *e, int b, const void *data); 483 EAPI void evas_event_feed_mouse_down_data (Evas *e, int b, const void *data);
467 void evas_event_feed_mouse_up_data (Evas *e, int b, const void *data); 484 EAPI void evas_event_feed_mouse_up_data (Evas *e, int b, const void *data);
468 void evas_event_feed_mouse_move_data (Evas *e, int x, int y, const void *data); 485 EAPI void evas_event_feed_mouse_move_data (Evas *e, int x, int y, const void *data);
469 void evas_event_feed_mouse_in_data (Evas *e, const void *data); 486 EAPI void evas_event_feed_mouse_in_data (Evas *e, const void *data);
470 void evas_event_feed_mouse_out_data (Evas *e, const void *data); 487 EAPI void evas_event_feed_mouse_out_data (Evas *e, const void *data);
471 void evas_event_feed_mouse_wheel_data (Evas *e, int direction, int z, const void *data); 488 EAPI void evas_event_feed_mouse_wheel_data (Evas *e, int direction, int z, const void *data);
472 void evas_event_feed_key_down_data (Evas *e, const char *keyname, const void *data); 489 EAPI void evas_event_feed_key_down_data (Evas *e, const char *keyname, const void *data);
473 void evas_event_feed_key_up_data (Evas *e, const char *keyname, const void *data); 490 EAPI void evas_event_feed_key_up_data (Evas *e, const char *keyname, const void *data);
474 void evas_event_feed_mouse_down (Evas *e, int b); 491 EAPI void evas_event_feed_mouse_down (Evas *e, int b);
475 void evas_event_feed_mouse_up (Evas *e, int b); 492 EAPI void evas_event_feed_mouse_up (Evas *e, int b);
476 void evas_event_feed_mouse_move (Evas *e, int x, int y); 493 EAPI void evas_event_feed_mouse_move (Evas *e, int x, int y);
477 void evas_event_feed_mouse_in (Evas *e); 494 EAPI void evas_event_feed_mouse_in (Evas *e);
478 void evas_event_feed_mouse_out (Evas *e); 495 EAPI void evas_event_feed_mouse_out (Evas *e);
479 void evas_event_feed_mouse_wheel (Evas *e, int direction, int z); 496 EAPI void evas_event_feed_mouse_wheel (Evas *e, int direction, int z);
480 void evas_event_feed_key_down (Evas *e, const char *keyname); 497 EAPI void evas_event_feed_key_down (Evas *e, const char *keyname);
481 void evas_event_feed_key_up (Evas *e, const char *keyname); 498 EAPI void evas_event_feed_key_up (Evas *e, const char *keyname);
482 499
483 void evas_object_focus_set (Evas_Object *obj, Evas_Bool focus); 500 EAPI void evas_object_focus_set (Evas_Object *obj, Evas_Bool focus);
484 Evas_Bool evas_object_focus_get (Evas_Object *obj); 501 EAPI Evas_Bool evas_object_focus_get (Evas_Object *obj);
485 502
486 Evas_Object *evas_focus_get (Evas *e); 503 EAPI Evas_Object *evas_focus_get (Evas *e);
487 504
488 Evas_Modifier *evas_key_modifier_get (Evas *e); 505 EAPI Evas_Modifier *evas_key_modifier_get (Evas *e);
489 Evas_Lock *evas_key_lock_get (Evas *e); 506 EAPI Evas_Lock *evas_key_lock_get (Evas *e);
490 507
491 Evas_Bool evas_key_modifier_is_set_get (Evas_Modifier *m, const char *keyname); 508 EAPI Evas_Bool evas_key_modifier_is_set_get (Evas_Modifier *m, const char *keyname);
492 509
493 Evas_Bool evas_key_lock_is_set_get (Evas_Lock *l, const char *keyname); 510 EAPI Evas_Bool evas_key_lock_is_set_get (Evas_Lock *l, const char *keyname);
494 511
495 void evas_key_modifier_add (Evas *e, const char *keyname); 512 EAPI void evas_key_modifier_add (Evas *e, const char *keyname);
496 void evas_key_modifier_del (Evas *e, const char *keyname); 513 EAPI void evas_key_modifier_del (Evas *e, const char *keyname);
497 void evas_key_lock_add (Evas *e, const char *keyname); 514 EAPI void evas_key_lock_add (Evas *e, const char *keyname);
498 void evas_key_lock_del (Evas *e, const char *keyname); 515 EAPI void evas_key_lock_del (Evas *e, const char *keyname);
499 516
500 void evas_key_modifier_on (Evas *e, const char *keyname); 517 EAPI void evas_key_modifier_on (Evas *e, const char *keyname);
501 void evas_key_modifier_off (Evas *e, const char *keyname); 518 EAPI void evas_key_modifier_off (Evas *e, const char *keyname);
502 void evas_key_lock_on (Evas *e, const char *keyname); 519 EAPI void evas_key_lock_on (Evas *e, const char *keyname);
503 void evas_key_lock_off (Evas *e, const char *keyname); 520 EAPI void evas_key_lock_off (Evas *e, const char *keyname);
504 521
505 Evas_Modifier_Mask evas_key_modifier_mask_get (Evas *e, const char *keyname); 522 EAPI Evas_Modifier_Mask evas_key_modifier_mask_get (Evas *e, const char *keyname);
506 523
507 Evas_Bool evas_object_key_grab (Evas_Object *obj, const char *keyname, Evas_Modifier_Mask modifiers, Evas_Modifier_Mask not_modifiers, Evas_Bool exclusive); 524 EAPI Evas_Bool evas_object_key_grab (Evas_Object *obj, const char *keyname, Evas_Modifier_Mask modifiers, Evas_Modifier_Mask not_modifiers, Evas_Bool exclusive);
508 void evas_object_key_ungrab (Evas_Object *obj, const char *keyname, Evas_Modifier_Mask modifiers, Evas_Modifier_Mask not_modifiers); 525 EAPI void evas_object_key_ungrab (Evas_Object *obj, const char *keyname, Evas_Modifier_Mask modifiers, Evas_Modifier_Mask not_modifiers);
509 526
510 void evas_object_pass_events_set (Evas_Object *obj, Evas_Bool pass); 527 EAPI void evas_object_pass_events_set (Evas_Object *obj, Evas_Bool pass);
511 Evas_Bool evas_object_pass_events_get (Evas_Object *obj); 528 EAPI Evas_Bool evas_object_pass_events_get (Evas_Object *obj);
512 void evas_object_repeat_events_set (Evas_Object *obj, Evas_Bool repeat); 529 EAPI void evas_object_repeat_events_set (Evas_Object *obj, Evas_Bool repeat);
513 Evas_Bool evas_object_repeat_events_get (Evas_Object *obj); 530 EAPI Evas_Bool evas_object_repeat_events_get (Evas_Object *obj);
514 531
515 void evas_object_event_callback_add (Evas_Object *obj, Evas_Callback_Type type, void (*func) (void *data, Evas *e, Evas_Object *obj, void *event_info), const void *data); 532 EAPI void evas_object_event_callback_add (Evas_Object *obj, Evas_Callback_Type type, void (*func) (void *data, Evas *e, Evas_Object *obj, void *event_info), const void *data);
516 void *evas_object_event_callback_del (Evas_Object *obj, Evas_Callback_Type type, void (*func) (void *data, Evas *e, Evas_Object *obj, void *event_info)); 533 EAPI void *evas_object_event_callback_del (Evas_Object *obj, Evas_Callback_Type type, void (*func) (void *data, Evas *e, Evas_Object *obj, void *event_info));
517 534
518 void evas_object_intercept_show_callback_add (Evas_Object *obj, void (*func) (void *data, Evas_Object *obj), const void *data); 535 EAPI void evas_object_intercept_show_callback_add (Evas_Object *obj, void (*func) (void *data, Evas_Object *obj), const void *data);
519 void *evas_object_intercept_show_callback_del (Evas_Object *obj, void (*func) (void *data, Evas_Object *obj)); 536 EAPI void *evas_object_intercept_show_callback_del (Evas_Object *obj, void (*func) (void *data, Evas_Object *obj));
520 void evas_object_intercept_hide_callback_add (Evas_Object *obj, void (*func) (void *data, Evas_Object *obj), const void *data); 537 EAPI void evas_object_intercept_hide_callback_add (Evas_Object *obj, void (*func) (void *data, Evas_Object *obj), const void *data);
521 void *evas_object_intercept_hide_callback_del (Evas_Object *obj, void (*func) (void *data, Evas_Object *obj)); 538 EAPI void *evas_object_intercept_hide_callback_del (Evas_Object *obj, void (*func) (void *data, Evas_Object *obj));
522 void evas_object_intercept_move_callback_add (Evas_Object *obj, void (*func) (void *data, Evas_Object *obj, Evas_Coord x, Evas_Coord y), const void *data); 539 EAPI void evas_object_intercept_move_callback_add (Evas_Object *obj, void (*func) (void *data, Evas_Object *obj, Evas_Coord x, Evas_Coord y), const void *data);
523 void *evas_object_intercept_move_callback_del (Evas_Object *obj, void (*func) (void *data, Evas_Object *obj, Evas_Coord x, Evas_Coord y)); 540 EAPI void *evas_object_intercept_move_callback_del (Evas_Object *obj, void (*func) (void *data, Evas_Object *obj, Evas_Coord x, Evas_Coord y));
524 void evas_object_intercept_resize_callback_add (Evas_Object *obj, void (*func) (void *data, Evas_Object *obj, Evas_Coord w, Evas_Coord h), const void *data); 541 EAPI void evas_object_intercept_resize_callback_add (Evas_Object *obj, void (*func) (void *data, Evas_Object *obj, Evas_Coord w, Evas_Coord h), const void *data);
525 void *evas_object_intercept_resize_callback_del (Evas_Object *obj, void (*func) (void *data, Evas_Object *obj, Evas_Coord w, Evas_Coord h)); 542 EAPI void *evas_object_intercept_resize_callback_del (Evas_Object *obj, void (*func) (void *data, Evas_Object *obj, Evas_Coord w, Evas_Coord h));
526 void evas_object_intercept_raise_callback_add (Evas_Object *obj, void (*func) (void *data, Evas_Object *obj), const void *data); 543 EAPI void evas_object_intercept_raise_callback_add (Evas_Object *obj, void (*func) (void *data, Evas_Object *obj), const void *data);
527 void *evas_object_intercept_raise_callback_del (Evas_Object *obj, void (*func) (void *data, Evas_Object *obj)); 544 EAPI void *evas_object_intercept_raise_callback_del (Evas_Object *obj, void (*func) (void *data, Evas_Object *obj));
528 void evas_object_intercept_lower_callback_add (Evas_Object *obj, void (*func) (void *data, Evas_Object *obj), const void *data); 545 EAPI void evas_object_intercept_lower_callback_add (Evas_Object *obj, void (*func) (void *data, Evas_Object *obj), const void *data);
529 void *evas_object_intercept_lower_callback_del (Evas_Object *obj, void (*func) (void *data, Evas_Object *obj)); 546 EAPI void *evas_object_intercept_lower_callback_del (Evas_Object *obj, void (*func) (void *data, Evas_Object *obj));
530 void evas_object_intercept_stack_above_callback_add (Evas_Object *obj, void (*func) (void *data, Evas_Object *obj, Evas_Object *above), const void *data); 547 EAPI void evas_object_intercept_stack_above_callback_add (Evas_Object *obj, void (*func) (void *data, Evas_Object *obj, Evas_Object *above), const void *data);
531 void *evas_object_intercept_stack_above_callback_del (Evas_Object *obj, void (*func) (void *data, Evas_Object *obj, Evas_Object *above)); 548 EAPI void *evas_object_intercept_stack_above_callback_del (Evas_Object *obj, void (*func) (void *data, Evas_Object *obj, Evas_Object *above));
532 void evas_object_intercept_stack_below_callback_add (Evas_Object *obj, void (*func) (void *data, Evas_Object *obj, Evas_Object *below), const void *data); 549 EAPI void evas_object_intercept_stack_below_callback_add (Evas_Object *obj, void (*func) (void *data, Evas_Object *obj, Evas_Object *below), const void *data);
533 void *evas_object_intercept_stack_below_callback_del (Evas_Object *obj, void (*func) (void *data, Evas_Object *obj, Evas_Object *below)); 550 EAPI void *evas_object_intercept_stack_below_callback_del (Evas_Object *obj, void (*func) (void *data, Evas_Object *obj, Evas_Object *below));
534 void evas_object_intercept_layer_set_callback_add (Evas_Object *obj, void (*func) (void *data, Evas_Object *obj, int l), const void *data); 551 EAPI void evas_object_intercept_layer_set_callback_add (Evas_Object *obj, void (*func) (void *data, Evas_Object *obj, int l), const void *data);
535 void *evas_object_intercept_layer_set_callback_del (Evas_Object *obj, void (*func) (void *data, Evas_Object *obj, int l)); 552 EAPI void *evas_object_intercept_layer_set_callback_del (Evas_Object *obj, void (*func) (void *data, Evas_Object *obj, int l));
536 553
537/* Evas imaging api - exports some of the comon gfx engine routines */ 554/* Evas imaging api - exports some of the comon gfx engine routines */
538/* this is not complete and should be considered experimental. use at your */ 555/* this is not complete and should be considered experimental. use at your */
@@ -547,28 +564,28 @@ extern "C" {
547#endif 564#endif
548#endif 565#endif
549 566
550 Evas_Imaging_Image *evas_imaging_image_load (const char *file, const char *key); 567 EAPI Evas_Imaging_Image *evas_imaging_image_load (const char *file, const char *key);
551 void evas_imaging_image_free (Evas_Imaging_Image *im); 568 EAPI void evas_imaging_image_free (Evas_Imaging_Image *im);
552 void evas_imaging_image_size_get (Evas_Imaging_Image *im, int *w, int *h); 569 EAPI void evas_imaging_image_size_get (Evas_Imaging_Image *im, int *w, int *h);
553 Evas_Bool evas_imaging_image_alpha_get (Evas_Imaging_Image *im); 570 EAPI Evas_Bool evas_imaging_image_alpha_get (Evas_Imaging_Image *im);
554 void evas_imaging_image_cache_set (int bytes); 571 EAPI void evas_imaging_image_cache_set (int bytes);
555 int evas_imaging_image_cache_get (void); 572 EAPI int evas_imaging_image_cache_get (void);
556 573
557 Evas_Imaging_Font *evas_imaging_font_load (const char *file, const char *key, int size); 574 EAPI Evas_Imaging_Font *evas_imaging_font_load (const char *file, const char *key, int size);
558 void evas_imaging_font_free (Evas_Imaging_Font *fn); 575 EAPI void evas_imaging_font_free (Evas_Imaging_Font *fn);
559 int evas_imaging_font_ascent_get (Evas_Imaging_Font *fn); 576 EAPI int evas_imaging_font_ascent_get (Evas_Imaging_Font *fn);
560 int evas_imaging_font_descent_get (Evas_Imaging_Font *fn); 577 EAPI int evas_imaging_font_descent_get (Evas_Imaging_Font *fn);
561 int evas_imaging_font_max_ascent_get (Evas_Imaging_Font *fn); 578 EAPI int evas_imaging_font_max_ascent_get (Evas_Imaging_Font *fn);
562 int evas_imaging_font_max_descent_get (Evas_Imaging_Font *fn); 579 EAPI int evas_imaging_font_max_descent_get (Evas_Imaging_Font *fn);
563 int evas_imaging_font_line_advance_get (Evas_Imaging_Font *fn); 580 EAPI int evas_imaging_font_line_advance_get (Evas_Imaging_Font *fn);
564 void evas_imaging_font_string_advance_get (Evas_Imaging_Font *fn, char *str, int *x, int *y); 581 EAPI void evas_imaging_font_string_advance_get (Evas_Imaging_Font *fn, char *str, int *x, int *y);
565 void evas_imaging_font_string_size_query (Evas_Imaging_Font *fn, char *str, int *w, int *h); 582 EAPI void evas_imaging_font_string_size_query (Evas_Imaging_Font *fn, char *str, int *w, int *h);
566 int evas_imaging_font_string_inset_get (Evas_Imaging_Font *fn, char *str); 583 EAPI int evas_imaging_font_string_inset_get (Evas_Imaging_Font *fn, char *str);
567 int evas_imaging_font_string_char_coords_get (Evas_Imaging_Font *fn, char *str, int pos, int *cx, int *cy, int *cw, int *ch); 584 EAPI int evas_imaging_font_string_char_coords_get (Evas_Imaging_Font *fn, char *str, int pos, int *cx, int *cy, int *cw, int *ch);
568 int evas_imaging_font_string_char_at_coords_get (Evas_Imaging_Font *fn, char *str, int x, int y, int *cx, int *cy, int *cw, int *ch); 585 EAPI int evas_imaging_font_string_char_at_coords_get (Evas_Imaging_Font *fn, char *str, int x, int y, int *cx, int *cy, int *cw, int *ch);
569 586
570 void evas_imaging_font_cache_set (int bytes); 587 EAPI void evas_imaging_font_cache_set (int bytes);
571 int evas_imaging_font_cache_get (void); 588 EAPI int evas_imaging_font_cache_get (void);
572 589
573#ifdef __cplusplus 590#ifdef __cplusplus
574} 591}