summaryrefslogtreecommitdiff
path: root/legacy/ecore
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/ecore
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
9 files changed, 676 insertions, 521 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