summaryrefslogtreecommitdiff
path: root/legacy/ecore
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2005-12-27 17:17:31 +0000
committerCarsten Haitzler <raster@rasterman.com>2005-12-27 17:17:31 +0000
commit7554f8ee360ae75ace0a46ca079de7e5a28dba2b (patch)
treeac5a69b333e40cc14c366a7226c1bd05687bec1b /legacy/ecore
parentcdebf436cf3353ab658a37d9e468f8bd0de6a19c (diff)
actually make symbol hiding work!
SVN revision: 19314
Diffstat (limited to '')
-rw-r--r--legacy/ecore/src/lib/ecore/Ecore.h8
-rw-r--r--legacy/ecore/src/lib/ecore/Ecore_Data.h273
-rw-r--r--legacy/ecore/src/lib/ecore/ecore_private.h43
-rw-r--r--legacy/ecore/src/lib/ecore/ecore_value.c2
-rw-r--r--legacy/ecore/src/lib/ecore_con/Ecore_Con.h24
-rw-r--r--legacy/ecore/src/lib/ecore_config/Ecore_Config.h16
-rw-r--r--legacy/ecore/src/lib/ecore_dbus/Ecore_DBus.h14
-rw-r--r--legacy/ecore/src/lib/ecore_directfb/Ecore_DirectFB.h36
-rw-r--r--legacy/ecore/src/lib/ecore_evas/Ecore_Evas.h8
-rw-r--r--legacy/ecore/src/lib/ecore_fb/Ecore_Fb.h18
-rw-r--r--legacy/ecore/src/lib/ecore_file/Ecore_File.h8
-rw-r--r--legacy/ecore/src/lib/ecore_ipc/Ecore_Ipc.h20
-rw-r--r--legacy/ecore/src/lib/ecore_job/Ecore_Job.h8
-rw-r--r--legacy/ecore/src/lib/ecore_txt/Ecore_Txt.h8
-rw-r--r--legacy/ecore/src/lib/ecore_x/Ecore_X.h158
-rw-r--r--legacy/ecore/src/lib/ecore_x/Ecore_X_Atoms.h254
16 files changed, 497 insertions, 401 deletions
diff --git a/legacy/ecore/src/lib/ecore/Ecore.h b/legacy/ecore/src/lib/ecore/Ecore.h
index dfbfc72ce1..77d199a7f6 100644
--- a/legacy/ecore/src/lib/ecore/Ecore.h
+++ b/legacy/ecore/src/lib/ecore/Ecore.h
@@ -11,8 +11,12 @@
11# define EAPI __declspec(dllimport) 11# define EAPI __declspec(dllimport)
12# endif 12# endif
13#else 13#else
14# ifdef GCC_HASCLASSVISIBILITY 14# ifdef __GNUC__
15# define EAPI __attribute__ ((visibility("default"))) 15# if __GNUC__ >= 4
16# define EAPI __attribute__ ((visibility("default")))
17# else
18# define EAPI
19# endif
16# else 20# else
17# define EAPI 21# define EAPI
18# endif 22# endif
diff --git a/legacy/ecore/src/lib/ecore/Ecore_Data.h b/legacy/ecore/src/lib/ecore/Ecore_Data.h
index c1333bd063..37ef4c05c7 100644
--- a/legacy/ecore/src/lib/ecore/Ecore_Data.h
+++ b/legacy/ecore/src/lib/ecore/Ecore_Data.h
@@ -1,6 +1,27 @@
1#ifndef _ECORE_DATA_H 1#ifndef _ECORE_DATA_H
2# define _ECORE_DATA_H 2# define _ECORE_DATA_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 __GNUC__
15# if __GNUC__ >= 4
16# define EAPI __attribute__ ((visibility("default")))
17# else
18# define EAPI
19# endif
20# else
21# define EAPI
22# endif
23#endif
24
4/** 25/**
5 * @file Ecore_Data.h 26 * @file Ecore_Data.h
6 * @brief Contains threading, list, hash, debugging and tree functions. 27 * @brief Contains threading, list, hash, debugging and tree functions.
@@ -10,14 +31,14 @@
10extern "C" { 31extern "C" {
11# endif 32# endif
12 33
13#ifdef __sgi 34# ifdef __sgi
14#define __FUNCTION__ "unknown" 35# define __FUNCTION__ "unknown"
15#ifndef __cplusplus 36# ifndef __cplusplus
16#define inline 37# define inline
17#endif 38# endif
18#endif 39# endif
19 40
20 extern const unsigned int ecore_prime_table[]; 41 EAPI extern const unsigned int ecore_prime_table[];
21 42
22 typedef void (*Ecore_For_Each) (void *value, void *user_data); 43 typedef void (*Ecore_For_Each) (void *value, void *user_data);
23# define ECORE_FOR_EACH(function) ((Ecore_For_Each)function) 44# define ECORE_FOR_EACH(function) ((Ecore_For_Each)function)
@@ -31,13 +52,6 @@ extern "C" {
31 typedef int (*Ecore_Compare_Cb) (void *data1, void *data2); 52 typedef int (*Ecore_Compare_Cb) (void *data1, void *data2);
32# define ECORE_COMPARE_CB(function) ((Ecore_Compare_Cb)function) 53# define ECORE_COMPARE_CB(function) ((Ecore_Compare_Cb)function)
33 54
34 int ecore_direct_compare(void *key1, void *key2);
35 int ecore_str_compare(void *key1, void *key2);
36
37 unsigned int ecore_direct_hash(void *key);
38 unsigned int ecore_str_hash(void *key);
39
40
41# ifdef HAVE_PTHREADS /* pthreads are installed */ 55# ifdef HAVE_PTHREADS /* pthreads are installed */
42 56
43# include <pthread.h> 57# include <pthread.h>
@@ -144,54 +158,59 @@ extern "C" {
144 ECORE_DECLARE_LOCKS; 158 ECORE_DECLARE_LOCKS;
145 }; 159 };
146 160
161 EAPI int ecore_direct_compare(void *key1, void *key2);
162 EAPI int ecore_str_compare(void *key1, void *key2);
163
164 EAPI unsigned int ecore_direct_hash(void *key);
165 EAPI unsigned int ecore_str_hash(void *key);
147 166
148 /* Creating and initializing new list structures */ 167 /* Creating and initializing new list structures */
149 Ecore_List *ecore_list_new(void); 168 EAPI Ecore_List *ecore_list_new(void);
150 int ecore_list_init(Ecore_List *list); 169 EAPI int ecore_list_init(Ecore_List *list);
151 170
152 /* Adding items to the list */ 171 /* Adding items to the list */
153 inline int ecore_list_append(Ecore_List * list, void *_data); 172 EAPI int ecore_list_append(Ecore_List * list, void *_data);
154 inline int ecore_list_prepend(Ecore_List * list, void *_data); 173 EAPI int ecore_list_prepend(Ecore_List * list, void *_data);
155 inline int ecore_list_insert(Ecore_List * list, void *_data); 174 EAPI int ecore_list_insert(Ecore_List * list, void *_data);
156 175
157 /* Removing items from the list */ 176 /* Removing items from the list */
158 inline int ecore_list_remove_destroy(Ecore_List *list); 177 EAPI int ecore_list_remove_destroy(Ecore_List *list);
159 inline void *ecore_list_remove(Ecore_List * list); 178 EAPI void *ecore_list_remove(Ecore_List * list);
160 inline void *ecore_list_remove_first(Ecore_List * list); 179 EAPI void *ecore_list_remove_first(Ecore_List * list);
161 inline void *ecore_list_remove_last(Ecore_List * list); 180 EAPI void *ecore_list_remove_last(Ecore_List * list);
162 181
163 /* Retrieve the current position in the list */ 182 /* Retrieve the current position in the list */
164 inline void *ecore_list_current(Ecore_List * list); 183 EAPI void *ecore_list_current(Ecore_List * list);
165 int ecore_list_index(Ecore_List * list); 184 EAPI int ecore_list_index(Ecore_List * list);
166 int ecore_list_nodes(Ecore_List * list); 185 EAPI int ecore_list_nodes(Ecore_List * list);
167 186
168 /* Traversing the list */ 187 /* Traversing the list */
169 int ecore_list_for_each(Ecore_List *list, Ecore_For_Each function, 188 EAPI int ecore_list_for_each(Ecore_List *list, Ecore_For_Each function,
170 void *user_data); 189 void *user_data);
171 inline void *ecore_list_goto_first(Ecore_List * list); 190 EAPI void *ecore_list_goto_first(Ecore_List * list);
172 inline void *ecore_list_goto_last(Ecore_List * list); 191 EAPI void *ecore_list_goto_last(Ecore_List * list);
173 inline void *ecore_list_goto_index(Ecore_List * list, int index); 192 EAPI void *ecore_list_goto_index(Ecore_List * list, int index);
174 inline void *ecore_list_goto(Ecore_List * list, void *_data); 193 EAPI void *ecore_list_goto(Ecore_List * list, void *_data);
175 194
176 /* Traversing the list and returning data */ 195 /* Traversing the list and returning data */
177 inline void *ecore_list_next(Ecore_List * list); 196 EAPI void *ecore_list_next(Ecore_List * list);
178 197
179 /* Check to see if there is any data in the list */ 198 /* Check to see if there is any data in the list */
180 int ecore_list_is_empty(Ecore_List * list); 199 EAPI int ecore_list_is_empty(Ecore_List * list);
181 200
182 /* Remove every node in the list without freeing the list itself */ 201 /* Remove every node in the list without freeing the list itself */
183 int ecore_list_clear(Ecore_List * list); 202 EAPI int ecore_list_clear(Ecore_List * list);
184 /* Free the list and it's contents */ 203 /* Free the list and it's contents */
185 void ecore_list_destroy(Ecore_List *list); 204 EAPI void ecore_list_destroy(Ecore_List *list);
186 205
187 /* Creating and initializing list nodes */ 206 /* Creating and initializing list nodes */
188 Ecore_List_Node *ecore_list_node_new(void); 207 EAPI Ecore_List_Node *ecore_list_node_new(void);
189 int ecore_list_node_init(Ecore_List_Node *newNode); 208 EAPI int ecore_list_node_init(Ecore_List_Node *newNode);
190 209
191 /* Destroying nodes */ 210 /* Destroying nodes */
192 int ecore_list_node_destroy(Ecore_List_Node * _e_node, Ecore_Free_Cb free_func); 211 EAPI int ecore_list_node_destroy(Ecore_List_Node * _e_node, Ecore_Free_Cb free_func);
193 212
194 int ecore_list_set_free_cb(Ecore_List * list, Ecore_Free_Cb free_func); 213 EAPI int ecore_list_set_free_cb(Ecore_List * list, Ecore_Free_Cb free_func);
195 214
196 typedef Ecore_List Ecore_DList; 215 typedef Ecore_List Ecore_DList;
197# define ECORE_DLIST(dlist) ((Ecore_DList *)dlist) 216# define ECORE_DLIST(dlist) ((Ecore_DList *)dlist)
@@ -205,52 +224,52 @@ extern "C" {
205 }; 224 };
206 225
207 /* Creating and initializing new list structures */ 226 /* Creating and initializing new list structures */
208 Ecore_DList *ecore_dlist_new(void); 227 EAPI Ecore_DList *ecore_dlist_new(void);
209 int ecore_dlist_init(Ecore_DList *list); 228 EAPI int ecore_dlist_init(Ecore_DList *list);
210 void ecore_dlist_destroy(Ecore_DList *list); 229 EAPI void ecore_dlist_destroy(Ecore_DList *list);
211 230
212 /* Adding items to the list */ 231 /* Adding items to the list */
213 int ecore_dlist_append(Ecore_DList * _e_dlist, void *_data); 232 EAPI int ecore_dlist_append(Ecore_DList * _e_dlist, void *_data);
214 int ecore_dlist_prepend(Ecore_DList * _e_dlist, void *_data); 233 EAPI int ecore_dlist_prepend(Ecore_DList * _e_dlist, void *_data);
215 int ecore_dlist_insert(Ecore_DList * _e_dlist, void *_data); 234 EAPI int ecore_dlist_insert(Ecore_DList * _e_dlist, void *_data);
216 235
217 /* Info about list's state */ 236 /* Info about list's state */
218 void *ecore_dlist_current(Ecore_DList *list); 237 EAPI void *ecore_dlist_current(Ecore_DList *list);
219 int ecore_dlist_index(Ecore_DList *list); 238 EAPI int ecore_dlist_index(Ecore_DList *list);
220# define ecore_dlist_nodes(list) ecore_list_nodes(ECORE_LIST(list)) 239# define ecore_dlist_nodes(list) ecore_list_nodes(ECORE_LIST(list))
221 240
222 /* Removing items from the list */ 241 /* Removing items from the list */
223 void *ecore_dlist_remove(Ecore_DList * _e_dlist); 242 EAPI void *ecore_dlist_remove(Ecore_DList * _e_dlist);
224 void *ecore_dlist_remove_first(Ecore_DList * _e_dlist); 243 EAPI void *ecore_dlist_remove_first(Ecore_DList * _e_dlist);
225 int ecore_dlist_remove_destroy(Ecore_DList *list); 244 EAPI int ecore_dlist_remove_destroy(Ecore_DList *list);
226 void *ecore_dlist_remove_last(Ecore_DList * _e_dlist); 245 EAPI void *ecore_dlist_remove_last(Ecore_DList * _e_dlist);
227 246
228 /* Traversing the list */ 247 /* Traversing the list */
229# define ecore_dlist_for_each(list, function, user_data) \ 248# define ecore_dlist_for_each(list, function, user_data) \
230 ecore_list_for_each(ECORE_LIST(list), function, user_data) 249 ecore_list_for_each(ECORE_LIST(list), function, user_data)
231 inline void *ecore_dlist_goto_first(Ecore_DList * _e_dlist); 250 EAPI void *ecore_dlist_goto_first(Ecore_DList * _e_dlist);
232 inline void *ecore_dlist_goto_last(Ecore_DList * _e_dlist); 251 EAPI void *ecore_dlist_goto_last(Ecore_DList * _e_dlist);
233 inline void *ecore_dlist_goto_index(Ecore_DList * _e_dlist, int index); 252 EAPI void *ecore_dlist_goto_index(Ecore_DList * _e_dlist, int index);
234 inline void *ecore_dlist_goto(Ecore_DList * _e_dlist, void *_data); 253 EAPI void *ecore_dlist_goto(Ecore_DList * _e_dlist, void *_data);
235 254
236 /* Traversing the list and returning data */ 255 /* Traversing the list and returning data */
237 inline void *ecore_dlist_next(Ecore_DList * list); 256 EAPI void *ecore_dlist_next(Ecore_DList * list);
238 inline void *ecore_dlist_previous(Ecore_DList * list); 257 EAPI void *ecore_dlist_previous(Ecore_DList * list);
239 258
240 /* Check to see if there is any data in the list */ 259 /* Check to see if there is any data in the list */
241 int ecore_dlist_is_empty(Ecore_DList * _e_dlist); 260 EAPI int ecore_dlist_is_empty(Ecore_DList * _e_dlist);
242 261
243 /* Remove every node in the list without free'ing it */ 262 /* Remove every node in the list without free'ing it */
244 int ecore_dlist_clear(Ecore_DList * _e_dlist); 263 EAPI int ecore_dlist_clear(Ecore_DList * _e_dlist);
245 264
246 /* Creating and initializing list nodes */ 265 /* Creating and initializing list nodes */
247 int ecore_dlist_node_init(Ecore_DList_Node * node); 266 EAPI int ecore_dlist_node_init(Ecore_DList_Node * node);
248 Ecore_DList_Node *ecore_dlist_node_new(void); 267 EAPI Ecore_DList_Node *ecore_dlist_node_new(void);
249 268
250 /* Destroying nodes */ 269 /* Destroying nodes */
251 int ecore_dlist_node_destroy(Ecore_DList_Node * node, Ecore_Free_Cb free_func); 270 EAPI int ecore_dlist_node_destroy(Ecore_DList_Node * node, Ecore_Free_Cb free_func);
252 271
253 int ecore_dlist_set_free_cb(Ecore_DList * dlist, Ecore_Free_Cb free_func); 272 EAPI int ecore_dlist_set_free_cb(Ecore_DList * dlist, Ecore_Free_Cb free_func);
254 273
255 274
256 275
@@ -294,23 +313,23 @@ extern "C" {
294 }; 313 };
295 314
296 /* Create and initialize a hash */ 315 /* Create and initialize a hash */
297 Ecore_Hash *ecore_hash_new(Ecore_Hash_Cb hash_func, Ecore_Compare_Cb compare); 316 EAPI Ecore_Hash *ecore_hash_new(Ecore_Hash_Cb hash_func, Ecore_Compare_Cb compare);
298 int ecore_hash_init(Ecore_Hash *hash, Ecore_Hash_Cb hash_func, Ecore_Compare_Cb compare); 317 EAPI int ecore_hash_init(Ecore_Hash *hash, Ecore_Hash_Cb hash_func, Ecore_Compare_Cb compare);
299 318
300 /* Functions related to freeing the data in the hash table */ 319 /* Functions related to freeing the data in the hash table */
301 int ecore_hash_set_free_key(Ecore_Hash *hash, Ecore_Free_Cb function); 320 EAPI int ecore_hash_set_free_key(Ecore_Hash *hash, Ecore_Free_Cb function);
302 int ecore_hash_set_free_value(Ecore_Hash *hash, Ecore_Free_Cb function); 321 EAPI int ecore_hash_set_free_value(Ecore_Hash *hash, Ecore_Free_Cb function);
303 void ecore_hash_destroy(Ecore_Hash *hash); 322 EAPI void ecore_hash_destroy(Ecore_Hash *hash);
304 323
305 int ecore_hash_for_each_node(Ecore_Hash *hash, Ecore_For_Each for_each_func, 324 EAPI int ecore_hash_for_each_node(Ecore_Hash *hash, Ecore_For_Each for_each_func,
306 void *user_data); 325 void *user_data);
307 Ecore_List *ecore_hash_keys(Ecore_Hash *hash); 326 EAPI Ecore_List *ecore_hash_keys(Ecore_Hash *hash);
308 327
309 /* Retrieve and store data into the hash */ 328 /* Retrieve and store data into the hash */
310 void *ecore_hash_get(Ecore_Hash *hash, void *key); 329 EAPI void *ecore_hash_get(Ecore_Hash *hash, void *key);
311 int ecore_hash_set(Ecore_Hash *hash, void *key, void *value); 330 EAPI int ecore_hash_set(Ecore_Hash *hash, void *key, void *value);
312 void *ecore_hash_remove(Ecore_Hash *hash, void *key); 331 EAPI void *ecore_hash_remove(Ecore_Hash *hash, void *key);
313 void ecore_hash_dump_graph(Ecore_Hash *hash); 332 EAPI void ecore_hash_dump_graph(Ecore_Hash *hash);
314 333
315 334
316 typedef struct _ecore_path_group Ecore_Path_Group; 335 typedef struct _ecore_path_group Ecore_Path_Group;
@@ -324,32 +343,32 @@ extern "C" {
324 /* 343 /*
325 * Create a new path group 344 * Create a new path group
326 */ 345 */
327 int ecore_path_group_new(char *group_name); 346 EAPI int ecore_path_group_new(char *group_name);
328 347
329 /* 348 /*
330 * Destroy a previous path group 349 * Destroy a previous path group
331 */ 350 */
332 void ecore_path_group_del(int group_id); 351 EAPI void ecore_path_group_del(int group_id);
333 352
334 /* 353 /*
335 * Add a directory to be searched for files 354 * Add a directory to be searched for files
336 */ 355 */
337 void ecore_path_group_add(int group_id, char *path); 356 EAPI void ecore_path_group_add(int group_id, char *path);
338 357
339 /* 358 /*
340 * Remove a directory to be searched for files 359 * Remove a directory to be searched for files
341 */ 360 */
342 void ecore_path_group_remove(int group_id, char *path); 361 EAPI void ecore_path_group_remove(int group_id, char *path);
343 362
344 /* 363 /*
345 * Find the absolute path if it exists in the group of paths 364 * Find the absolute path if it exists in the group of paths
346 */ 365 */
347 char * ecore_path_group_find(int group_id, char *name); 366 EAPI char * ecore_path_group_find(int group_id, char *name);
348 367
349 /* 368 /*
350 * Get a list of all the available files in a path set 369 * Get a list of all the available files in a path set
351 */ 370 */
352 Ecore_List * ecore_path_group_available(int group_id); 371 EAPI Ecore_List * ecore_path_group_available(int group_id);
353 372
354 373
355 typedef struct _ecore_plugin Ecore_Plugin; 374 typedef struct _ecore_plugin Ecore_Plugin;
@@ -363,19 +382,19 @@ extern "C" {
363 /* 382 /*
364 * Load the specified plugin 383 * Load the specified plugin
365 */ 384 */
366 Ecore_Plugin *ecore_plugin_load(int group_id, char *plugin); 385 EAPI Ecore_Plugin *ecore_plugin_load(int group_id, char *plugin);
367 386
368 /* 387 /*
369 * Unload the specified plugin 388 * Unload the specified plugin
370 */ 389 */
371 void ecore_plugin_unload(Ecore_Plugin * plugin); 390 EAPI void ecore_plugin_unload(Ecore_Plugin * plugin);
372 391
373 /* 392 /*
374 * Lookup the specified symbol for the plugin 393 * Lookup the specified symbol for the plugin
375 */ 394 */
376 void *ecore_plugin_call(Ecore_Plugin * plugin, char *symbol_name); 395 EAPI void *ecore_plugin_call(Ecore_Plugin * plugin, char *symbol_name);
377 396
378 Ecore_List *ecore_plugin_get_available(int group_id); 397 EAPI Ecore_List *ecore_plugin_get_available(int group_id);
379 398
380 399
381# define ECORE_SHEAP_MIN 0 400# define ECORE_SHEAP_MIN 0
@@ -398,19 +417,19 @@ extern "C" {
398 Ecore_Free_Cb free_func; 417 Ecore_Free_Cb free_func;
399 }; 418 };
400 419
401 Ecore_Sheap *ecore_sheap_new(Ecore_Compare_Cb compare, int size); 420 EAPI Ecore_Sheap *ecore_sheap_new(Ecore_Compare_Cb compare, int size);
402 void ecore_sheap_destroy(Ecore_Sheap *heap); 421 EAPI void ecore_sheap_destroy(Ecore_Sheap *heap);
403 int ecore_sheap_init(Ecore_Sheap *heap, Ecore_Compare_Cb compare, int size); 422 EAPI int ecore_sheap_init(Ecore_Sheap *heap, Ecore_Compare_Cb compare, int size);
404 int ecore_sheap_set_free_cb(Ecore_Sheap *heap, Ecore_Free_Cb free_func); 423 EAPI int ecore_sheap_set_free_cb(Ecore_Sheap *heap, Ecore_Free_Cb free_func);
405 int ecore_sheap_insert(Ecore_Sheap *heap, void *data); 424 EAPI int ecore_sheap_insert(Ecore_Sheap *heap, void *data);
406 void *ecore_sheap_extract(Ecore_Sheap *heap); 425 EAPI void *ecore_sheap_extract(Ecore_Sheap *heap);
407 void *ecore_sheap_extreme(Ecore_Sheap *heap); 426 EAPI void *ecore_sheap_extreme(Ecore_Sheap *heap);
408 int ecore_sheap_change(Ecore_Sheap *heap, void *item, void *newval); 427 EAPI int ecore_sheap_change(Ecore_Sheap *heap, void *item, void *newval);
409 int ecore_sheap_set_compare(Ecore_Sheap *heap, Ecore_Compare_Cb compare); 428 EAPI int ecore_sheap_set_compare(Ecore_Sheap *heap, Ecore_Compare_Cb compare);
410 void ecore_sheap_set_order(Ecore_Sheap *heap, char order); 429 EAPI void ecore_sheap_set_order(Ecore_Sheap *heap, char order);
411 void ecore_sheap_sort(Ecore_Sheap *heap); 430 EAPI void ecore_sheap_sort(Ecore_Sheap *heap);
412 431
413 inline void *ecore_sheap_item(Ecore_Sheap *heap, int i); 432 EAPI void *ecore_sheap_item(Ecore_Sheap *heap, int i);
414 433
415 434
416 typedef struct _ecore_string Ecore_String; 435 typedef struct _ecore_string Ecore_String;
@@ -419,10 +438,10 @@ extern "C" {
419 int references; 438 int references;
420 }; 439 };
421 440
422 int ecore_string_init(void); 441 EAPI int ecore_string_init(void);
423 void ecore_string_shutdown(void); 442 EAPI void ecore_string_shutdown(void);
424 const char *ecore_string_instance(char *string); 443 EAPI const char *ecore_string_instance(char *string);
425 void ecore_string_release(const char *string); 444 EAPI void ecore_string_release(const char *string);
426 445
427 446
428 typedef struct _Ecore_Tree_Node Ecore_Tree_Node; 447 typedef struct _Ecore_Tree_Node Ecore_Tree_Node;
@@ -462,62 +481,62 @@ extern "C" {
462 481
463 /* Some basic tree functions */ 482 /* Some basic tree functions */
464 /* Allocate and initialize a new tree */ 483 /* Allocate and initialize a new tree */
465 Ecore_Tree *ecore_tree_new(Ecore_Compare_Cb compare_func); 484 EAPI Ecore_Tree *ecore_tree_new(Ecore_Compare_Cb compare_func);
466 /* Initialize a new tree */ 485 /* Initialize a new tree */
467 int ecore_tree_init(Ecore_Tree * tree, Ecore_Compare_Cb compare_func); 486 EAPI int ecore_tree_init(Ecore_Tree * tree, Ecore_Compare_Cb compare_func);
468 487
469 /* Free the tree */ 488 /* Free the tree */
470 int ecore_tree_destroy(Ecore_Tree * tree); 489 EAPI int ecore_tree_destroy(Ecore_Tree * tree);
471 /* Check to see if the tree has any nodes in it */ 490 /* Check to see if the tree has any nodes in it */
472 int ecore_tree_is_empty(Ecore_Tree * tree); 491 EAPI int ecore_tree_is_empty(Ecore_Tree * tree);
473 492
474 /* Retrieve the value associated with key */ 493 /* Retrieve the value associated with key */
475 void *ecore_tree_get(Ecore_Tree * tree, void *key); 494 EAPI void *ecore_tree_get(Ecore_Tree * tree, void *key);
476 Ecore_Tree_Node *ecore_tree_get_node(Ecore_Tree * tree, void *key); 495 EAPI Ecore_Tree_Node *ecore_tree_get_node(Ecore_Tree * tree, void *key);
477 /* Retrieve the value of node with key greater than or equal to key */ 496 /* Retrieve the value of node with key greater than or equal to key */
478 void *ecore_tree_get_closest_larger(Ecore_Tree * tree, void *key); 497 EAPI void *ecore_tree_get_closest_larger(Ecore_Tree * tree, void *key);
479 /* Retrieve the value of node with key less than or equal to key */ 498 /* Retrieve the value of node with key less than or equal to key */
480 void *ecore_tree_get_closest_smaller(Ecore_Tree * tree, void *key); 499 EAPI void *ecore_tree_get_closest_smaller(Ecore_Tree * tree, void *key);
481 500
482 /* Set the value associated with key to value */ 501 /* Set the value associated with key to value */
483 int ecore_tree_set(Ecore_Tree * tree, void *key, void *value); 502 EAPI int ecore_tree_set(Ecore_Tree * tree, void *key, void *value);
484 /* Remove the key from the tree */ 503 /* Remove the key from the tree */
485 int ecore_tree_remove(Ecore_Tree * tree, void *key); 504 EAPI int ecore_tree_remove(Ecore_Tree * tree, void *key);
486 505
487 /* Add a node to the tree */ 506 /* Add a node to the tree */
488 int ecore_tree_add_node(Ecore_Tree * tree, Ecore_Tree_Node * node); 507 EAPI int ecore_tree_add_node(Ecore_Tree * tree, Ecore_Tree_Node * node);
489 /* Remove a node from the tree */ 508 /* Remove a node from the tree */
490 int ecore_tree_remove_node(Ecore_Tree * tree, Ecore_Tree_Node * node); 509 EAPI int ecore_tree_remove_node(Ecore_Tree * tree, Ecore_Tree_Node * node);
491 510
492 /* For each node in the tree perform the for_each_func function */ 511 /* For each node in the tree perform the for_each_func function */
493 /* For this one pass in the node */ 512 /* For this one pass in the node */
494 int ecore_tree_for_each_node(Ecore_Tree * tree, Ecore_For_Each for_each_func, 513 EAPI int ecore_tree_for_each_node(Ecore_Tree * tree, Ecore_For_Each for_each_func,
495 void *user_data); 514 void *user_data);
496 /* And here pass in the node's value */ 515 /* And here pass in the node's value */
497 int ecore_tree_for_each_node_value(Ecore_Tree * tree, 516 EAPI int ecore_tree_for_each_node_value(Ecore_Tree * tree,
498 Ecore_For_Each for_each_func, 517 Ecore_For_Each for_each_func,
499 void *user_data); 518 void *user_data);
500 519
501 /* Some basic node functions */ 520 /* Some basic node functions */
502 /* Initialize a node */ 521 /* Initialize a node */
503 int ecore_tree_node_init(Ecore_Tree_Node * new_node); 522 EAPI int ecore_tree_node_init(Ecore_Tree_Node * new_node);
504 /* Allocate and initialize a new node */ 523 /* Allocate and initialize a new node */
505 Ecore_Tree_Node *ecore_tree_node_new(void); 524 EAPI Ecore_Tree_Node *ecore_tree_node_new(void);
506 /* Free the desired node */ 525 /* Free the desired node */
507 int ecore_tree_node_destroy(Ecore_Tree_Node * node, Ecore_Free_Cb free_data); 526 EAPI int ecore_tree_node_destroy(Ecore_Tree_Node * node, Ecore_Free_Cb free_data);
508 527
509 /* Set the node's key to key */ 528 /* Set the node's key to key */
510 int ecore_tree_node_key_set(Ecore_Tree_Node * node, void *key); 529 EAPI int ecore_tree_node_key_set(Ecore_Tree_Node * node, void *key);
511 /* Retrieve the key in node */ 530 /* Retrieve the key in node */
512 void *ecore_tree_node_key_get(Ecore_Tree_Node * node); 531 EAPI void *ecore_tree_node_key_get(Ecore_Tree_Node * node);
513 532
514 /* Set the node's value to value */ 533 /* Set the node's value to value */
515 int ecore_tree_node_value_set(Ecore_Tree_Node * node, void *value); 534 EAPI int ecore_tree_node_value_set(Ecore_Tree_Node * node, void *value);
516 /* Retrieve the value in node */ 535 /* Retrieve the value in node */
517 void *ecore_tree_node_value_get(Ecore_Tree_Node * node); 536 EAPI void *ecore_tree_node_value_get(Ecore_Tree_Node * node);
518 537
519 /* Add a function to free the data stored in nodes */ 538 /* Add a function to free the data stored in nodes */
520 int ecore_tree_set_free_cb(Ecore_Tree * tree, Ecore_Free_Cb free_func); 539 EAPI int ecore_tree_set_free_cb(Ecore_Tree * tree, Ecore_Free_Cb free_func);
521 540
522#ifdef __cplusplus 541#ifdef __cplusplus
523} 542}
diff --git a/legacy/ecore/src/lib/ecore/ecore_private.h b/legacy/ecore/src/lib/ecore/ecore_private.h
index 1df9dd181b..b41421123e 100644
--- a/legacy/ecore/src/lib/ecore/ecore_private.h
+++ b/legacy/ecore/src/lib/ecore/ecore_private.h
@@ -21,6 +21,33 @@
21#include <config.h> 21#include <config.h>
22#endif 22#endif
23 23
24#ifdef EAPI
25#undef EAPI
26#endif
27#ifdef WIN32
28# ifdef BUILDING_DLL
29# define EAPI __declspec(dllexport)
30# else
31# define EAPI __declspec(dllimport)
32# endif
33#else
34# ifdef __GNUC__
35# if __GNUC__ >= 4
36# define EAPI __attribute__ ((visibility("default")))
37# else
38# define EAPI
39# endif
40# else
41# define EAPI
42# endif
43#endif
44
45#ifdef __GNUC__
46# if __GNUC__ >= 4
47# pragma GCC visibility push(hidden)
48# endif
49#endif
50
24#if HAVE___ATTRIBUTE__ 51#if HAVE___ATTRIBUTE__
25#define __UNUSED__ __attribute__((unused)) 52#define __UNUSED__ __attribute__((unused))
26#else 53#else
@@ -273,7 +300,7 @@ struct _Ecore_Animator
273 300
274#endif 301#endif
275 302
276void _ecore_magic_fail(void *d, Ecore_Magic m, Ecore_Magic req_m, const char *fname); 303EAPI void _ecore_magic_fail(void *d, Ecore_Magic m, Ecore_Magic req_m, const char *fname);
277 304
278void _ecore_timer_shutdown(void); 305void _ecore_timer_shutdown(void);
279void _ecore_timer_cleanup(void); 306void _ecore_timer_cleanup(void);
@@ -303,7 +330,7 @@ void _ecore_event_call(void);
303void *_ecore_event_exe_exit_new(void); 330void *_ecore_event_exe_exit_new(void);
304void _ecore_event_exe_exit_free(void *data, void *ev); 331void _ecore_event_exe_exit_free(void *data, void *ev);
305#endif 332#endif
306void *_ecore_event_signal_user_new(void); 333EAPI void *_ecore_event_signal_user_new(void);
307void *_ecore_event_signal_hup_new(void); 334void *_ecore_event_signal_hup_new(void);
308void *_ecore_event_signal_exit_new(void); 335void *_ecore_event_signal_exit_new(void);
309void *_ecore_event_signal_power_new(void); 336void *_ecore_event_signal_power_new(void);
@@ -325,12 +352,12 @@ void *_ecore_exe_free(Ecore_Exe *exe);
325void _ecore_animator_shutdown(void); 352void _ecore_animator_shutdown(void);
326 353
327 354
328void *_ecore_list2_append (void *in_list, void *in_item); 355EAPI void *_ecore_list2_append (void *in_list, void *in_item);
329void *_ecore_list2_prepend (void *in_list, void *in_item); 356EAPI void *_ecore_list2_prepend (void *in_list, void *in_item);
330void *_ecore_list2_append_relative (void *in_list, void *in_item, void *in_relative); 357EAPI void *_ecore_list2_append_relative (void *in_list, void *in_item, void *in_relative);
331void *_ecore_list2_prepend_relative (void *in_list, void *in_item, void *in_relative); 358EAPI void *_ecore_list2_prepend_relative (void *in_list, void *in_item, void *in_relative);
332void *_ecore_list2_remove (void *in_list, void *in_item); 359EAPI void *_ecore_list2_remove (void *in_list, void *in_item);
333void *_ecore_list2_find (void *in_list, void *in_item); 360EAPI void *_ecore_list2_find (void *in_list, void *in_item);
334 361
335void _ecore_fps_debug_init(void); 362void _ecore_fps_debug_init(void);
336void _ecore_fps_debug_shutdown(void); 363void _ecore_fps_debug_shutdown(void);
diff --git a/legacy/ecore/src/lib/ecore/ecore_value.c b/legacy/ecore/src/lib/ecore/ecore_value.c
index 34a6d37912..93a58d6dd7 100644
--- a/legacy/ecore/src/lib/ecore/ecore_value.c
+++ b/legacy/ecore/src/lib/ecore/ecore_value.c
@@ -24,6 +24,8 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
24 24
25*/ 25*/
26 26
27#include "Ecore.h"
28#include "Ecore_Data.h"
27#include "ecore_private.h" 29#include "ecore_private.h"
28 30
29const unsigned int ecore_prime_table[] = { 17, 31, 61, 127, 257, 509, 1021, 31const unsigned int ecore_prime_table[] = { 17, 31, 61, 127, 257, 509, 1021,
diff --git a/legacy/ecore/src/lib/ecore_con/Ecore_Con.h b/legacy/ecore/src/lib/ecore_con/Ecore_Con.h
index 485bd7c9f9..de02560554 100644
--- a/legacy/ecore/src/lib/ecore_con/Ecore_Con.h
+++ b/legacy/ecore/src/lib/ecore_con/Ecore_Con.h
@@ -11,8 +11,12 @@
11# define EAPI __declspec(dllimport) 11# define EAPI __declspec(dllimport)
12# endif 12# endif
13#else 13#else
14# ifdef GCC_HASCLASSVISIBILITY 14# ifdef __GNUC__
15# define EAPI __attribute__ ((visibility("default"))) 15# if __GNUC__ >= 4
16# define EAPI __attribute__ ((visibility("default")))
17# else
18# define EAPI
19# endif
16# else 20# else
17# define EAPI 21# define EAPI
18# endif 22# endif
@@ -127,14 +131,14 @@ extern "C" {
127 int status; 131 int status;
128 }; 132 };
129 133
130 extern int ECORE_CON_EVENT_CLIENT_ADD; 134 EAPI extern int ECORE_CON_EVENT_CLIENT_ADD;
131 extern int ECORE_CON_EVENT_CLIENT_DEL; 135 EAPI extern int ECORE_CON_EVENT_CLIENT_DEL;
132 extern int ECORE_CON_EVENT_SERVER_ADD; 136 EAPI extern int ECORE_CON_EVENT_SERVER_ADD;
133 extern int ECORE_CON_EVENT_SERVER_DEL; 137 EAPI extern int ECORE_CON_EVENT_SERVER_DEL;
134 extern int ECORE_CON_EVENT_CLIENT_DATA; 138 EAPI extern int ECORE_CON_EVENT_CLIENT_DATA;
135 extern int ECORE_CON_EVENT_SERVER_DATA; 139 EAPI extern int ECORE_CON_EVENT_SERVER_DATA;
136 extern int ECORE_CON_EVENT_URL_DATA; 140 EAPI extern int ECORE_CON_EVENT_URL_DATA;
137 extern int ECORE_CON_EVENT_URL_COMPLETE; 141 EAPI extern int ECORE_CON_EVENT_URL_COMPLETE;
138 142
139 EAPI int ecore_con_init(void); 143 EAPI int ecore_con_init(void);
140 EAPI int ecore_con_shutdown(void); 144 EAPI int ecore_con_shutdown(void);
diff --git a/legacy/ecore/src/lib/ecore_config/Ecore_Config.h b/legacy/ecore/src/lib/ecore_config/Ecore_Config.h
index 3e4811c62c..76e290273c 100644
--- a/legacy/ecore/src/lib/ecore_config/Ecore_Config.h
+++ b/legacy/ecore/src/lib/ecore_config/Ecore_Config.h
@@ -11,8 +11,12 @@
11# define EAPI __declspec(dllimport) 11# define EAPI __declspec(dllimport)
12# endif 12# endif
13#else 13#else
14# ifdef GCC_HASCLASSVISIBILITY 14# ifdef __GNUC__
15# define EAPI __attribute__ ((visibility("default"))) 15# if __GNUC__ >= 4
16# define EAPI __attribute__ ((visibility("default")))
17# else
18# define EAPI
19# endif
16# else 20# else
17# define EAPI 21# define EAPI
18# endif 22# endif
@@ -125,10 +129,10 @@ extern "C"
125# endif 129# endif
126 130
127/* global ptrs to save passing them through the API */ 131/* global ptrs to save passing them through the API */
128 extern EAPI Ecore_Config_Server *__ecore_config_server_global; 132 EAPI extern Ecore_Config_Server *__ecore_config_server_global;
129 extern EAPI Ecore_Config_Server *__ecore_config_server_local; 133 EAPI extern Ecore_Config_Server *__ecore_config_server_local;
130 extern EAPI Ecore_Config_Bundle *__ecore_config_bundle_local; 134 EAPI extern Ecore_Config_Bundle *__ecore_config_bundle_local;
131 extern EAPI char *__ecore_config_app_name; 135 EAPI extern char *__ecore_config_app_name;
132 136
133 EAPI Ecore_Config_Prop *ecore_config_get(const char *key); 137 EAPI Ecore_Config_Prop *ecore_config_get(const char *key);
134 EAPI const char *ecore_config_type_get(const Ecore_Config_Prop *e); 138 EAPI const char *ecore_config_type_get(const Ecore_Config_Prop *e);
diff --git a/legacy/ecore/src/lib/ecore_dbus/Ecore_DBus.h b/legacy/ecore/src/lib/ecore_dbus/Ecore_DBus.h
index d77291f360..e28efa6155 100644
--- a/legacy/ecore/src/lib/ecore_dbus/Ecore_DBus.h
+++ b/legacy/ecore/src/lib/ecore_dbus/Ecore_DBus.h
@@ -15,8 +15,12 @@
15# define EAPI __declspec(dllimport) 15# define EAPI __declspec(dllimport)
16# endif 16# endif
17#else 17#else
18# ifdef GCC_HASCLASSVISIBILITY 18# ifdef __GNUC__
19# define EAPI __attribute__ ((visibility("default"))) 19# if __GNUC__ >= 4
20# define EAPI __attribute__ ((visibility("default")))
21# else
22# define EAPI
23# endif
20# else 24# else
21# define EAPI 25# define EAPI
22# endif 26# endif
@@ -86,9 +90,9 @@ extern "C" {
86 ECORE_DBUS_HEADER_FIELD_SIGNATURE 90 ECORE_DBUS_HEADER_FIELD_SIGNATURE
87 } Ecore_DBus_Message_Header_Field; 91 } Ecore_DBus_Message_Header_Field;
88 92
89 extern int ECORE_DBUS_EVENT_SERVER_ADD; 93 EAPI extern int ECORE_DBUS_EVENT_SERVER_ADD;
90 extern int ECORE_DBUS_EVENT_SERVER_DATA; 94 EAPI extern int ECORE_DBUS_EVENT_SERVER_DATA;
91 extern int ECORE_DBUS_EVENT_SERVER_DEL; 95 EAPI extern int ECORE_DBUS_EVENT_SERVER_DEL;
92 96
93 /* init */ 97 /* init */
94 EAPI int ecore_dbus_init(void); 98 EAPI int ecore_dbus_init(void);
diff --git a/legacy/ecore/src/lib/ecore_directfb/Ecore_DirectFB.h b/legacy/ecore/src/lib/ecore_directfb/Ecore_DirectFB.h
index a7b246f459..eace6595a1 100644
--- a/legacy/ecore/src/lib/ecore_directfb/Ecore_DirectFB.h
+++ b/legacy/ecore/src/lib/ecore_directfb/Ecore_DirectFB.h
@@ -11,8 +11,12 @@
11# define EAPI __declspec(dllimport) 11# define EAPI __declspec(dllimport)
12# endif 12# endif
13#else 13#else
14# ifdef GCC_HASCLASSVISIBILITY 14# ifdef __GNUC__
15# define EAPI __attribute__ ((visibility("default"))) 15# if __GNUC__ >= 4
16# define EAPI __attribute__ ((visibility("default")))
17# else
18# define EAPI
19# endif
16# else 20# else
17# define EAPI 21# define EAPI
18# endif 22# endif
@@ -26,20 +30,20 @@
26extern "C" { 30extern "C" {
27#endif 31#endif
28 32
29extern int ECORE_DIRECTFB_EVENT_POSITION; 33EAPI extern int ECORE_DIRECTFB_EVENT_POSITION;
30extern int ECORE_DIRECTFB_EVENT_SIZE; 34EAPI extern int ECORE_DIRECTFB_EVENT_SIZE;
31extern int ECORE_DIRECTFB_EVENT_CLOSE; 35EAPI extern int ECORE_DIRECTFB_EVENT_CLOSE;
32extern int ECORE_DIRECTFB_EVENT_DESTROYED; 36EAPI extern int ECORE_DIRECTFB_EVENT_DESTROYED;
33extern int ECORE_DIRECTFB_EVENT_GOT_FOCUS; 37EAPI extern int ECORE_DIRECTFB_EVENT_GOT_FOCUS;
34extern int ECORE_DIRECTFB_EVENT_LOST_FOCUS; 38EAPI extern int ECORE_DIRECTFB_EVENT_LOST_FOCUS;
35extern int ECORE_DIRECTFB_EVENT_KEY_DOWN; 39EAPI extern int ECORE_DIRECTFB_EVENT_KEY_DOWN;
36extern int ECORE_DIRECTFB_EVENT_KEY_UP; 40EAPI extern int ECORE_DIRECTFB_EVENT_KEY_UP;
37extern int ECORE_DIRECTFB_EVENT_BUTTON_DOWN; 41EAPI extern int ECORE_DIRECTFB_EVENT_BUTTON_DOWN;
38extern int ECORE_DIRECTFB_EVENT_BUTTON_UP; 42EAPI extern int ECORE_DIRECTFB_EVENT_BUTTON_UP;
39extern int ECORE_DIRECTFB_EVENT_MOTION; 43EAPI extern int ECORE_DIRECTFB_EVENT_MOTION;
40extern int ECORE_DIRECTFB_EVENT_ENTER; 44EAPI extern int ECORE_DIRECTFB_EVENT_ENTER;
41extern int ECORE_DIRECTFB_EVENT_LEAVE; 45EAPI extern int ECORE_DIRECTFB_EVENT_LEAVE;
42extern int ECORE_DIRECTFB_EVENT_WHEEL; 46EAPI extern int ECORE_DIRECTFB_EVENT_WHEEL;
43 47
44 48
45 49
diff --git a/legacy/ecore/src/lib/ecore_evas/Ecore_Evas.h b/legacy/ecore/src/lib/ecore_evas/Ecore_Evas.h
index 9719f1c1f9..3d8efc7ba8 100644
--- a/legacy/ecore/src/lib/ecore_evas/Ecore_Evas.h
+++ b/legacy/ecore/src/lib/ecore_evas/Ecore_Evas.h
@@ -11,8 +11,12 @@
11# define EAPI __declspec(dllimport) 11# define EAPI __declspec(dllimport)
12# endif 12# endif
13#else 13#else
14# ifdef GCC_HASCLASSVISIBILITY 14# ifdef __GNUC__
15# define EAPI __attribute__ ((visibility("default"))) 15# if __GNUC__ >= 4
16# define EAPI __attribute__ ((visibility("default")))
17# else
18# define EAPI
19# endif
16# else 20# else
17# define EAPI 21# define EAPI
18# endif 22# endif
diff --git a/legacy/ecore/src/lib/ecore_fb/Ecore_Fb.h b/legacy/ecore/src/lib/ecore_fb/Ecore_Fb.h
index 9ec1596bca..7627d82e81 100644
--- a/legacy/ecore/src/lib/ecore_fb/Ecore_Fb.h
+++ b/legacy/ecore/src/lib/ecore_fb/Ecore_Fb.h
@@ -11,8 +11,12 @@
11# define EAPI __declspec(dllimport) 11# define EAPI __declspec(dllimport)
12# endif 12# endif
13#else 13#else
14# ifdef GCC_HASCLASSVISIBILITY 14# ifdef __GNUC__
15# define EAPI __attribute__ ((visibility("default"))) 15# if __GNUC__ >= 4
16# define EAPI __attribute__ ((visibility("default")))
17# else
18# define EAPI
19# endif
16# else 20# else
17# define EAPI 21# define EAPI
18# endif 22# endif
@@ -33,11 +37,11 @@
33extern "C" { 37extern "C" {
34#endif 38#endif
35 39
36extern int ECORE_FB_EVENT_KEY_DOWN; /**< FB Key Down event */ 40EAPI extern int ECORE_FB_EVENT_KEY_DOWN; /**< FB Key Down event */
37extern int ECORE_FB_EVENT_KEY_UP; /**< FB Key Up event */ 41EAPI extern int ECORE_FB_EVENT_KEY_UP; /**< FB Key Up event */
38extern int ECORE_FB_EVENT_MOUSE_BUTTON_DOWN; /**< FB Mouse Down event */ 42EAPI extern int ECORE_FB_EVENT_MOUSE_BUTTON_DOWN; /**< FB Mouse Down event */
39extern int ECORE_FB_EVENT_MOUSE_BUTTON_UP; /**< FB Mouse Up event */ 43EAPI extern int ECORE_FB_EVENT_MOUSE_BUTTON_UP; /**< FB Mouse Up event */
40extern int ECORE_FB_EVENT_MOUSE_MOVE; /**< FB Mouse Move event */ 44EAPI extern int ECORE_FB_EVENT_MOUSE_MOVE; /**< FB Mouse Move event */
41 45
42typedef struct _Ecore_Fb_Event_Key_Down Ecore_Fb_Event_Key_Down; /**< FB Key Down event */ 46typedef struct _Ecore_Fb_Event_Key_Down Ecore_Fb_Event_Key_Down; /**< FB Key Down event */
43typedef struct _Ecore_Fb_Event_Key_Up Ecore_Fb_Event_Key_Up; /**< FB Key Up event */ 47typedef struct _Ecore_Fb_Event_Key_Up Ecore_Fb_Event_Key_Up; /**< FB Key Up event */
diff --git a/legacy/ecore/src/lib/ecore_file/Ecore_File.h b/legacy/ecore/src/lib/ecore_file/Ecore_File.h
index 4f38f843c2..80bfd152fe 100644
--- a/legacy/ecore/src/lib/ecore_file/Ecore_File.h
+++ b/legacy/ecore/src/lib/ecore_file/Ecore_File.h
@@ -19,8 +19,12 @@
19# define EAPI __declspec(dllimport) 19# define EAPI __declspec(dllimport)
20# endif 20# endif
21#else 21#else
22# ifdef GCC_HASCLASSVISIBILITY 22# ifdef __GNUC__
23# define EAPI __attribute__ ((visibility("default"))) 23# if __GNUC__ >= 4
24# define EAPI __attribute__ ((visibility("default")))
25# else
26# define EAPI
27# endif
24# else 28# else
25# define EAPI 29# define EAPI
26# endif 30# endif
diff --git a/legacy/ecore/src/lib/ecore_ipc/Ecore_Ipc.h b/legacy/ecore/src/lib/ecore_ipc/Ecore_Ipc.h
index 36b7b70208..9071cacc2c 100644
--- a/legacy/ecore/src/lib/ecore_ipc/Ecore_Ipc.h
+++ b/legacy/ecore/src/lib/ecore_ipc/Ecore_Ipc.h
@@ -11,8 +11,12 @@
11# define EAPI __declspec(dllimport) 11# define EAPI __declspec(dllimport)
12# endif 12# endif
13#else 13#else
14# ifdef GCC_HASCLASSVISIBILITY 14# ifdef __GNUC__
15# define EAPI __attribute__ ((visibility("default"))) 15# if __GNUC__ >= 4
16# define EAPI __attribute__ ((visibility("default")))
17# else
18# define EAPI
19# endif
16# else 20# else
17# define EAPI 21# define EAPI
18# endif 22# endif
@@ -272,12 +276,12 @@ EAPI unsigned long long _ecore_ipc_swap_64(unsigned long long v);
272 int size; 276 int size;
273 }; 277 };
274 278
275 extern int ECORE_IPC_EVENT_CLIENT_ADD; 279 EAPI extern int ECORE_IPC_EVENT_CLIENT_ADD;
276 extern int ECORE_IPC_EVENT_CLIENT_DEL; 280 EAPI extern int ECORE_IPC_EVENT_CLIENT_DEL;
277 extern int ECORE_IPC_EVENT_SERVER_ADD; 281 EAPI extern int ECORE_IPC_EVENT_SERVER_ADD;
278 extern int ECORE_IPC_EVENT_SERVER_DEL; 282 EAPI extern int ECORE_IPC_EVENT_SERVER_DEL;
279 extern int ECORE_IPC_EVENT_CLIENT_DATA; 283 EAPI extern int ECORE_IPC_EVENT_CLIENT_DATA;
280 extern int ECORE_IPC_EVENT_SERVER_DATA; 284 EAPI extern int ECORE_IPC_EVENT_SERVER_DATA;
281 285
282 EAPI int ecore_ipc_init(void); 286 EAPI int ecore_ipc_init(void);
283 EAPI int ecore_ipc_shutdown(void); 287 EAPI int ecore_ipc_shutdown(void);
diff --git a/legacy/ecore/src/lib/ecore_job/Ecore_Job.h b/legacy/ecore/src/lib/ecore_job/Ecore_Job.h
index e676ede988..e4a3eee76c 100644
--- a/legacy/ecore/src/lib/ecore_job/Ecore_Job.h
+++ b/legacy/ecore/src/lib/ecore_job/Ecore_Job.h
@@ -11,8 +11,12 @@
11# define EAPI __declspec(dllimport) 11# define EAPI __declspec(dllimport)
12# endif 12# endif
13#else 13#else
14# ifdef GCC_HASCLASSVISIBILITY 14# ifdef __GNUC__
15# define EAPI __attribute__ ((visibility("default"))) 15# if __GNUC__ >= 4
16# define EAPI __attribute__ ((visibility("default")))
17# else
18# define EAPI
19# endif
16# else 20# else
17# define EAPI 21# define EAPI
18# endif 22# endif
diff --git a/legacy/ecore/src/lib/ecore_txt/Ecore_Txt.h b/legacy/ecore/src/lib/ecore_txt/Ecore_Txt.h
index 60dc659a26..adfe0d17ed 100644
--- a/legacy/ecore/src/lib/ecore_txt/Ecore_Txt.h
+++ b/legacy/ecore/src/lib/ecore_txt/Ecore_Txt.h
@@ -11,8 +11,12 @@
11# define EAPI __declspec(dllimport) 11# define EAPI __declspec(dllimport)
12# endif 12# endif
13#else 13#else
14# ifdef GCC_HASCLASSVISIBILITY 14# ifdef __GNUC__
15# define EAPI __attribute__ ((visibility("default"))) 15# if __GNUC__ >= 4
16# define EAPI __attribute__ ((visibility("default")))
17# else
18# define EAPI
19# endif
16# else 20# else
17# define EAPI 21# define EAPI
18# endif 22# endif
diff --git a/legacy/ecore/src/lib/ecore_x/Ecore_X.h b/legacy/ecore/src/lib/ecore_x/Ecore_X.h
index cd6f0439f3..a1e6d96490 100644
--- a/legacy/ecore/src/lib/ecore_x/Ecore_X.h
+++ b/legacy/ecore/src/lib/ecore_x/Ecore_X.h
@@ -15,8 +15,12 @@
15# define EAPI __declspec(dllimport) 15# define EAPI __declspec(dllimport)
16# endif 16# endif
17#else 17#else
18# ifdef GCC_HASCLASSVISIBILITY 18# ifdef __GNUC__
19# define EAPI __attribute__ ((visibility("default"))) 19# if __GNUC__ >= 4
20# define EAPI __attribute__ ((visibility("default")))
21# else
22# define EAPI
23# endif
20# else 24# else
21# define EAPI 25# define EAPI
22# endif 26# endif
@@ -134,11 +138,11 @@ typedef enum _Ecore_X_Window_Stack_Mode {
134 138
135#define ECORE_X_DND_VERSION 5 139#define ECORE_X_DND_VERSION 5
136 140
137extern EAPI Ecore_X_Atom ECORE_X_DND_ACTION_COPY; 141EAPI extern Ecore_X_Atom ECORE_X_DND_ACTION_COPY;
138extern EAPI Ecore_X_Atom ECORE_X_DND_ACTION_MOVE; 142EAPI extern Ecore_X_Atom ECORE_X_DND_ACTION_MOVE;
139extern EAPI Ecore_X_Atom ECORE_X_DND_ACTION_LINK; 143EAPI extern Ecore_X_Atom ECORE_X_DND_ACTION_LINK;
140extern EAPI Ecore_X_Atom ECORE_X_DND_ACTION_ASK; 144EAPI extern Ecore_X_Atom ECORE_X_DND_ACTION_ASK;
141extern EAPI Ecore_X_Atom ECORE_X_DND_ACTION_PRIVATE; 145EAPI extern Ecore_X_Atom ECORE_X_DND_ACTION_PRIVATE;
142 146
143typedef enum _Ecore_X_Selection { 147typedef enum _Ecore_X_Selection {
144 ECORE_X_SELECTION_PRIMARY, 148 ECORE_X_SELECTION_PRIMARY,
@@ -761,80 +765,80 @@ struct _Ecore_X_Event_Desktop_Change
761 int source; 765 int source;
762}; 766};
763 767
764extern EAPI int ECORE_X_EVENT_KEY_DOWN; 768EAPI extern int ECORE_X_EVENT_KEY_DOWN;
765extern EAPI int ECORE_X_EVENT_KEY_UP; 769EAPI extern int ECORE_X_EVENT_KEY_UP;
766extern EAPI int ECORE_X_EVENT_MOUSE_BUTTON_DOWN; 770EAPI extern int ECORE_X_EVENT_MOUSE_BUTTON_DOWN;
767extern EAPI int ECORE_X_EVENT_MOUSE_BUTTON_UP; 771EAPI extern int ECORE_X_EVENT_MOUSE_BUTTON_UP;
768extern EAPI int ECORE_X_EVENT_MOUSE_MOVE; 772EAPI extern int ECORE_X_EVENT_MOUSE_MOVE;
769extern EAPI int ECORE_X_EVENT_MOUSE_IN; 773EAPI extern int ECORE_X_EVENT_MOUSE_IN;
770extern EAPI int ECORE_X_EVENT_MOUSE_OUT; 774EAPI extern int ECORE_X_EVENT_MOUSE_OUT;
771extern EAPI int ECORE_X_EVENT_MOUSE_WHEEL; 775EAPI extern int ECORE_X_EVENT_MOUSE_WHEEL;
772extern EAPI int ECORE_X_EVENT_WINDOW_FOCUS_IN; 776EAPI extern int ECORE_X_EVENT_WINDOW_FOCUS_IN;
773extern EAPI int ECORE_X_EVENT_WINDOW_FOCUS_OUT; 777EAPI extern int ECORE_X_EVENT_WINDOW_FOCUS_OUT;
774extern EAPI int ECORE_X_EVENT_WINDOW_KEYMAP; 778EAPI extern int ECORE_X_EVENT_WINDOW_KEYMAP;
775extern EAPI int ECORE_X_EVENT_WINDOW_DAMAGE; 779EAPI extern int ECORE_X_EVENT_WINDOW_DAMAGE;
776extern EAPI int ECORE_X_EVENT_WINDOW_VISIBILITY_CHANGE; 780EAPI extern int ECORE_X_EVENT_WINDOW_VISIBILITY_CHANGE;
777extern EAPI int ECORE_X_EVENT_WINDOW_CREATE; 781EAPI extern int ECORE_X_EVENT_WINDOW_CREATE;
778extern EAPI int ECORE_X_EVENT_WINDOW_DESTROY; 782EAPI extern int ECORE_X_EVENT_WINDOW_DESTROY;
779extern EAPI int ECORE_X_EVENT_WINDOW_HIDE; 783EAPI extern int ECORE_X_EVENT_WINDOW_HIDE;
780extern EAPI int ECORE_X_EVENT_WINDOW_SHOW; 784EAPI extern int ECORE_X_EVENT_WINDOW_SHOW;
781extern EAPI int ECORE_X_EVENT_WINDOW_SHOW_REQUEST; 785EAPI extern int ECORE_X_EVENT_WINDOW_SHOW_REQUEST;
782extern EAPI int ECORE_X_EVENT_WINDOW_REPARENT; 786EAPI extern int ECORE_X_EVENT_WINDOW_REPARENT;
783extern EAPI int ECORE_X_EVENT_WINDOW_CONFIGURE; 787EAPI extern int ECORE_X_EVENT_WINDOW_CONFIGURE;
784extern EAPI int ECORE_X_EVENT_WINDOW_CONFIGURE_REQUEST; 788EAPI extern int ECORE_X_EVENT_WINDOW_CONFIGURE_REQUEST;
785extern EAPI int ECORE_X_EVENT_WINDOW_GRAVITY; 789EAPI extern int ECORE_X_EVENT_WINDOW_GRAVITY;
786extern EAPI int ECORE_X_EVENT_WINDOW_RESIZE_REQUEST; 790EAPI extern int ECORE_X_EVENT_WINDOW_RESIZE_REQUEST;
787extern EAPI int ECORE_X_EVENT_WINDOW_STACK; 791EAPI extern int ECORE_X_EVENT_WINDOW_STACK;
788extern EAPI int ECORE_X_EVENT_WINDOW_STACK_REQUEST; 792EAPI extern int ECORE_X_EVENT_WINDOW_STACK_REQUEST;
789extern EAPI int ECORE_X_EVENT_WINDOW_PROPERTY; 793EAPI extern int ECORE_X_EVENT_WINDOW_PROPERTY;
790extern EAPI int ECORE_X_EVENT_WINDOW_COLORMAP; 794EAPI extern int ECORE_X_EVENT_WINDOW_COLORMAP;
791extern EAPI int ECORE_X_EVENT_WINDOW_MAPPING; 795EAPI extern int ECORE_X_EVENT_WINDOW_MAPPING;
792extern EAPI int ECORE_X_EVENT_SELECTION_CLEAR; 796EAPI extern int ECORE_X_EVENT_SELECTION_CLEAR;
793extern EAPI int ECORE_X_EVENT_SELECTION_REQUEST; 797EAPI extern int ECORE_X_EVENT_SELECTION_REQUEST;
794extern EAPI int ECORE_X_EVENT_SELECTION_NOTIFY; 798EAPI extern int ECORE_X_EVENT_SELECTION_NOTIFY;
795extern EAPI int ECORE_X_EVENT_CLIENT_MESSAGE; 799EAPI extern int ECORE_X_EVENT_CLIENT_MESSAGE;
796extern EAPI int ECORE_X_EVENT_WINDOW_SHAPE; 800EAPI extern int ECORE_X_EVENT_WINDOW_SHAPE;
797extern EAPI int ECORE_X_EVENT_SYNC_COUNTER; 801EAPI extern int ECORE_X_EVENT_SYNC_COUNTER;
798extern EAPI int ECORE_X_EVENT_SYNC_ALARM; 802EAPI extern int ECORE_X_EVENT_SYNC_ALARM;
799extern EAPI int ECORE_X_EVENT_SCREEN_CHANGE; 803EAPI extern int ECORE_X_EVENT_SCREEN_CHANGE;
800 804
801extern EAPI int ECORE_X_EVENT_WINDOW_DELETE_REQUEST; 805EAPI extern int ECORE_X_EVENT_WINDOW_DELETE_REQUEST;
802/* 806/*
803extern EAPI int ECORE_X_EVENT_WINDOW_PROP_TITLE_CHANGE; 807EAPI extern int ECORE_X_EVENT_WINDOW_PROP_TITLE_CHANGE;
804extern EAPI int ECORE_X_EVENT_WINDOW_PROP_VISIBLE_TITLE_CHANGE; 808EAPI extern int ECORE_X_EVENT_WINDOW_PROP_VISIBLE_TITLE_CHANGE;
805extern EAPI int ECORE_X_EVENT_WINDOW_PROP_ICON_NAME_CHANGE; 809EAPI extern int ECORE_X_EVENT_WINDOW_PROP_ICON_NAME_CHANGE;
806extern EAPI int ECORE_X_EVENT_WINDOW_PROP_VISIBLE_ICON_NAME_CHANGE; 810EAPI extern int ECORE_X_EVENT_WINDOW_PROP_VISIBLE_ICON_NAME_CHANGE;
807extern EAPI int ECORE_X_EVENT_WINDOW_PROP_CLIENT_MACHINE_CHANGE; 811EAPI extern int ECORE_X_EVENT_WINDOW_PROP_CLIENT_MACHINE_CHANGE;
808extern EAPI int ECORE_X_EVENT_WINDOW_PROP_NAME_CLASS_CHANGE; 812EAPI extern int ECORE_X_EVENT_WINDOW_PROP_NAME_CLASS_CHANGE;
809extern EAPI int ECORE_X_EVENT_WINDOW_PROP_PID_CHANGE; 813EAPI extern int ECORE_X_EVENT_WINDOW_PROP_PID_CHANGE;
810extern EAPI int ECORE_X_EVENT_WINDOW_PROP_DESKTOP_CHANGE; 814EAPI extern int ECORE_X_EVENT_WINDOW_PROP_DESKTOP_CHANGE;
811*/ 815*/
812 816
813extern EAPI int ECORE_X_EVENT_WINDOW_MOVE_RESIZE_REQUEST; 817EAPI extern int ECORE_X_EVENT_WINDOW_MOVE_RESIZE_REQUEST;
814extern EAPI int ECORE_X_EVENT_WINDOW_STATE_REQUEST; 818EAPI extern int ECORE_X_EVENT_WINDOW_STATE_REQUEST;
815extern EAPI int ECORE_X_EVENT_FRAME_EXTENTS_REQUEST; 819EAPI extern int ECORE_X_EVENT_FRAME_EXTENTS_REQUEST;
816extern EAPI int ECORE_X_EVENT_PING; 820EAPI extern int ECORE_X_EVENT_PING;
817extern EAPI int ECORE_X_EVENT_DESKTOP_CHANGE; 821EAPI extern int ECORE_X_EVENT_DESKTOP_CHANGE;
818 822
819extern EAPI int ECORE_X_EVENT_STARTUP_SEQUENCE_NEW; 823EAPI extern int ECORE_X_EVENT_STARTUP_SEQUENCE_NEW;
820extern EAPI int ECORE_X_EVENT_STARTUP_SEQUENCE_CHANGE; 824EAPI extern int ECORE_X_EVENT_STARTUP_SEQUENCE_CHANGE;
821extern EAPI int ECORE_X_EVENT_STARTUP_SEQUENCE_REMOVE; 825EAPI extern int ECORE_X_EVENT_STARTUP_SEQUENCE_REMOVE;
822 826
823extern EAPI int ECORE_X_EVENT_XDND_ENTER; 827EAPI extern int ECORE_X_EVENT_XDND_ENTER;
824extern EAPI int ECORE_X_EVENT_XDND_POSITION; 828EAPI extern int ECORE_X_EVENT_XDND_POSITION;
825extern EAPI int ECORE_X_EVENT_XDND_STATUS; 829EAPI extern int ECORE_X_EVENT_XDND_STATUS;
826extern EAPI int ECORE_X_EVENT_XDND_LEAVE; 830EAPI extern int ECORE_X_EVENT_XDND_LEAVE;
827extern EAPI int ECORE_X_EVENT_XDND_DROP; 831EAPI extern int ECORE_X_EVENT_XDND_DROP;
828extern EAPI int ECORE_X_EVENT_XDND_FINISHED; 832EAPI extern int ECORE_X_EVENT_XDND_FINISHED;
829 833
830extern EAPI int ECORE_X_MODIFIER_SHIFT; 834EAPI extern int ECORE_X_MODIFIER_SHIFT;
831extern EAPI int ECORE_X_MODIFIER_CTRL; 835EAPI extern int ECORE_X_MODIFIER_CTRL;
832extern EAPI int ECORE_X_MODIFIER_ALT; 836EAPI extern int ECORE_X_MODIFIER_ALT;
833extern EAPI int ECORE_X_MODIFIER_WIN; 837EAPI extern int ECORE_X_MODIFIER_WIN;
834 838
835extern EAPI int ECORE_X_LOCK_SCROLL; 839EAPI extern int ECORE_X_LOCK_SCROLL;
836extern EAPI int ECORE_X_LOCK_NUM; 840EAPI extern int ECORE_X_LOCK_NUM;
837extern EAPI int ECORE_X_LOCK_CAPS; 841EAPI extern int ECORE_X_LOCK_CAPS;
838 842
839typedef enum _Ecore_X_WM_Protocol { 843typedef enum _Ecore_X_WM_Protocol {
840 /** 844 /**
diff --git a/legacy/ecore/src/lib/ecore_x/Ecore_X_Atoms.h b/legacy/ecore/src/lib/ecore_x/Ecore_X_Atoms.h
index a194bb9547..97d4fc586a 100644
--- a/legacy/ecore/src/lib/ecore_x/Ecore_X_Atoms.h
+++ b/legacy/ecore/src/lib/ecore_x/Ecore_X_Atoms.h
@@ -10,144 +10,144 @@
10 */ 10 */
11 11
12/* General */ 12/* General */
13extern Ecore_X_Atom ECORE_X_ATOM_UTF8_STRING; 13EAPI extern Ecore_X_Atom ECORE_X_ATOM_UTF8_STRING;
14extern Ecore_X_Atom ECORE_X_ATOM_FILE_NAME; 14EAPI extern Ecore_X_Atom ECORE_X_ATOM_FILE_NAME;
15extern Ecore_X_Atom ECORE_X_ATOM_STRING; 15EAPI extern Ecore_X_Atom ECORE_X_ATOM_STRING;
16extern Ecore_X_Atom ECORE_X_ATOM_TEXT; 16EAPI extern Ecore_X_Atom ECORE_X_ATOM_TEXT;
17extern Ecore_X_Atom ECORE_X_ATOM_COMPOUND_TEXT; 17EAPI extern Ecore_X_Atom ECORE_X_ATOM_COMPOUND_TEXT;
18 18
19/* ICCCM */ 19/* ICCCM */
20extern Ecore_X_Atom ECORE_X_ATOM_WM_STATE; 20EAPI extern Ecore_X_Atom ECORE_X_ATOM_WM_STATE;
21extern Ecore_X_Atom ECORE_X_ATOM_WM_DELETE_WINDOW; 21EAPI extern Ecore_X_Atom ECORE_X_ATOM_WM_DELETE_WINDOW;
22extern Ecore_X_Atom ECORE_X_ATOM_WM_TAKE_FOCUS; 22EAPI extern Ecore_X_Atom ECORE_X_ATOM_WM_TAKE_FOCUS;
23extern Ecore_X_Atom ECORE_X_ATOM_WM_PROTOCOLS; 23EAPI extern Ecore_X_Atom ECORE_X_ATOM_WM_PROTOCOLS;
24extern Ecore_X_Atom ECORE_X_ATOM_WM_CLASS; 24EAPI extern Ecore_X_Atom ECORE_X_ATOM_WM_CLASS;
25extern Ecore_X_Atom ECORE_X_ATOM_WM_NAME; 25EAPI extern Ecore_X_Atom ECORE_X_ATOM_WM_NAME;
26extern Ecore_X_Atom ECORE_X_ATOM_WM_COMMAND; 26EAPI extern Ecore_X_Atom ECORE_X_ATOM_WM_COMMAND;
27extern Ecore_X_Atom ECORE_X_ATOM_WM_ICON_NAME; 27EAPI extern Ecore_X_Atom ECORE_X_ATOM_WM_ICON_NAME;
28extern Ecore_X_Atom ECORE_X_ATOM_WM_CLIENT_MACHINE; 28EAPI extern Ecore_X_Atom ECORE_X_ATOM_WM_CLIENT_MACHINE;
29extern Ecore_X_Atom ECORE_X_ATOM_WM_CHANGE_STATE; 29EAPI extern Ecore_X_Atom ECORE_X_ATOM_WM_CHANGE_STATE;
30extern Ecore_X_Atom ECORE_X_ATOM_WM_COLORMAP_WINDOWS; 30EAPI extern Ecore_X_Atom ECORE_X_ATOM_WM_COLORMAP_WINDOWS;
31extern Ecore_X_Atom ECORE_X_ATOM_WM_WINDOW_ROLE; 31EAPI extern Ecore_X_Atom ECORE_X_ATOM_WM_WINDOW_ROLE;
32extern Ecore_X_Atom ECORE_X_ATOM_WM_HINTS; 32EAPI extern Ecore_X_Atom ECORE_X_ATOM_WM_HINTS;
33extern Ecore_X_Atom ECORE_X_ATOM_WM_NORMAL_HINTS; 33EAPI extern Ecore_X_Atom ECORE_X_ATOM_WM_NORMAL_HINTS;
34extern Ecore_X_Atom ECORE_X_ATOM_WM_CLIENT_LEADER; 34EAPI extern Ecore_X_Atom ECORE_X_ATOM_WM_CLIENT_LEADER;
35extern Ecore_X_Atom ECORE_X_ATOM_WM_TRANSIENT_FOR; 35EAPI extern Ecore_X_Atom ECORE_X_ATOM_WM_TRANSIENT_FOR;
36extern Ecore_X_Atom ECORE_X_ATOM_WM_SAVE_YOURSELF; 36EAPI extern Ecore_X_Atom ECORE_X_ATOM_WM_SAVE_YOURSELF;
37 37
38/* MWM */ 38/* MWM */
39extern Ecore_X_Atom ECORE_X_ATOM_MOTIF_WM_HINTS; 39EAPI extern Ecore_X_Atom ECORE_X_ATOM_MOTIF_WM_HINTS;
40 40
41/* GNOME */ 41/* GNOME */
42extern Ecore_X_Atom ECORE_X_ATOM_WIN_LAYER; 42EAPI extern Ecore_X_Atom ECORE_X_ATOM_WIN_LAYER;
43 43
44/* EWMH */ 44/* EWMH */
45extern Ecore_X_Atom ECORE_X_ATOM_NET_SUPPORTED; 45EAPI extern Ecore_X_Atom ECORE_X_ATOM_NET_SUPPORTED;
46extern Ecore_X_Atom ECORE_X_ATOM_NET_SUPPORTING_WM_CHECK; 46EAPI extern Ecore_X_Atom ECORE_X_ATOM_NET_SUPPORTING_WM_CHECK;
47 47
48extern Ecore_X_Atom ECORE_X_ATOM_NET_NUMBER_OF_DESKTOPS; 48EAPI extern Ecore_X_Atom ECORE_X_ATOM_NET_NUMBER_OF_DESKTOPS;
49extern Ecore_X_Atom ECORE_X_ATOM_NET_VIRTUAL_ROOTS; 49EAPI extern Ecore_X_Atom ECORE_X_ATOM_NET_VIRTUAL_ROOTS;
50extern Ecore_X_Atom ECORE_X_ATOM_NET_DESKTOP_NAMES; 50EAPI extern Ecore_X_Atom ECORE_X_ATOM_NET_DESKTOP_NAMES;
51extern Ecore_X_Atom ECORE_X_ATOM_NET_DESKTOP_GEOMETRY; 51EAPI extern Ecore_X_Atom ECORE_X_ATOM_NET_DESKTOP_GEOMETRY;
52extern Ecore_X_Atom ECORE_X_ATOM_NET_DESKTOP_VIEWPORT; 52EAPI extern Ecore_X_Atom ECORE_X_ATOM_NET_DESKTOP_VIEWPORT;
53extern Ecore_X_Atom ECORE_X_ATOM_NET_DESKTOP_LAYOUT; 53EAPI extern Ecore_X_Atom ECORE_X_ATOM_NET_DESKTOP_LAYOUT;
54extern Ecore_X_Atom ECORE_X_ATOM_NET_WORKAREA; 54EAPI extern Ecore_X_Atom ECORE_X_ATOM_NET_WORKAREA;
55 55
56extern Ecore_X_Atom ECORE_X_ATOM_NET_CURRENT_DESKTOP; 56EAPI extern Ecore_X_Atom ECORE_X_ATOM_NET_CURRENT_DESKTOP;
57extern Ecore_X_Atom ECORE_X_ATOM_NET_SHOWING_DESKTOP; 57EAPI extern Ecore_X_Atom ECORE_X_ATOM_NET_SHOWING_DESKTOP;
58 58
59extern Ecore_X_Atom ECORE_X_ATOM_NET_CLIENT_LIST; 59EAPI extern Ecore_X_Atom ECORE_X_ATOM_NET_CLIENT_LIST;
60extern Ecore_X_Atom ECORE_X_ATOM_NET_CLIENT_LIST_STACKING; 60EAPI extern Ecore_X_Atom ECORE_X_ATOM_NET_CLIENT_LIST_STACKING;
61extern Ecore_X_Atom ECORE_X_ATOM_NET_ACTIVE_WINDOW; 61EAPI extern Ecore_X_Atom ECORE_X_ATOM_NET_ACTIVE_WINDOW;
62 62
63extern Ecore_X_Atom ECORE_X_ATOM_NET_WM_NAME; 63EAPI extern Ecore_X_Atom ECORE_X_ATOM_NET_WM_NAME;
64extern Ecore_X_Atom ECORE_X_ATOM_NET_WM_VISIBLE_NAME; 64EAPI extern Ecore_X_Atom ECORE_X_ATOM_NET_WM_VISIBLE_NAME;
65extern Ecore_X_Atom ECORE_X_ATOM_NET_WM_ICON_NAME; 65EAPI extern Ecore_X_Atom ECORE_X_ATOM_NET_WM_ICON_NAME;
66extern Ecore_X_Atom ECORE_X_ATOM_NET_WM_VISIBLE_ICON_NAME; 66EAPI extern Ecore_X_Atom ECORE_X_ATOM_NET_WM_VISIBLE_ICON_NAME;
67extern Ecore_X_Atom ECORE_X_ATOM_NET_WM_DESKTOP; 67EAPI extern Ecore_X_Atom ECORE_X_ATOM_NET_WM_DESKTOP;
68extern Ecore_X_Atom ECORE_X_ATOM_NET_WM_STRUT; 68EAPI extern Ecore_X_Atom ECORE_X_ATOM_NET_WM_STRUT;
69extern Ecore_X_Atom ECORE_X_ATOM_NET_WM_STRUT_PARTIAL; 69EAPI extern Ecore_X_Atom ECORE_X_ATOM_NET_WM_STRUT_PARTIAL;
70extern Ecore_X_Atom ECORE_X_ATOM_NET_WM_ICON_GEOMETRY; 70EAPI extern Ecore_X_Atom ECORE_X_ATOM_NET_WM_ICON_GEOMETRY;
71extern Ecore_X_Atom ECORE_X_ATOM_NET_WM_ICON; 71EAPI extern Ecore_X_Atom ECORE_X_ATOM_NET_WM_ICON;
72extern Ecore_X_Atom ECORE_X_ATOM_NET_WM_PID; 72EAPI extern Ecore_X_Atom ECORE_X_ATOM_NET_WM_PID;
73extern Ecore_X_Atom ECORE_X_ATOM_NET_WM_HANDLED_ICONS; 73EAPI extern Ecore_X_Atom ECORE_X_ATOM_NET_WM_HANDLED_ICONS;
74extern Ecore_X_Atom ECORE_X_ATOM_NET_WM_USER_TIME; 74EAPI extern Ecore_X_Atom ECORE_X_ATOM_NET_WM_USER_TIME;
75 75
76extern Ecore_X_Atom ECORE_X_ATOM_NET_CLOSE_WINDOW; 76EAPI extern Ecore_X_Atom ECORE_X_ATOM_NET_CLOSE_WINDOW;
77extern Ecore_X_Atom ECORE_X_ATOM_NET_WM_MOVERESIZE; 77EAPI extern Ecore_X_Atom ECORE_X_ATOM_NET_WM_MOVERESIZE;
78 78
79extern Ecore_X_Atom ECORE_X_ATOM_NET_WM_ALLOWED_ACTIONS; 79EAPI extern Ecore_X_Atom ECORE_X_ATOM_NET_WM_ALLOWED_ACTIONS;
80extern Ecore_X_Atom ECORE_X_ATOM_NET_WM_ACTION_MOVE; 80EAPI extern Ecore_X_Atom ECORE_X_ATOM_NET_WM_ACTION_MOVE;
81extern Ecore_X_Atom ECORE_X_ATOM_NET_WM_ACTION_RESIZE; 81EAPI extern Ecore_X_Atom ECORE_X_ATOM_NET_WM_ACTION_RESIZE;
82extern Ecore_X_Atom ECORE_X_ATOM_NET_WM_ACTION_MINIMIZE; 82EAPI extern Ecore_X_Atom ECORE_X_ATOM_NET_WM_ACTION_MINIMIZE;
83extern Ecore_X_Atom ECORE_X_ATOM_NET_WM_ACTION_SHADE; 83EAPI extern Ecore_X_Atom ECORE_X_ATOM_NET_WM_ACTION_SHADE;
84extern Ecore_X_Atom ECORE_X_ATOM_NET_WM_ACTION_STICK; 84EAPI extern Ecore_X_Atom ECORE_X_ATOM_NET_WM_ACTION_STICK;
85extern Ecore_X_Atom ECORE_X_ATOM_NET_WM_ACTION_MAXIMIZE_HORZ; 85EAPI extern Ecore_X_Atom ECORE_X_ATOM_NET_WM_ACTION_MAXIMIZE_HORZ;
86extern Ecore_X_Atom ECORE_X_ATOM_NET_WM_ACTION_MAXIMIZE_VERT; 86EAPI extern Ecore_X_Atom ECORE_X_ATOM_NET_WM_ACTION_MAXIMIZE_VERT;
87extern Ecore_X_Atom ECORE_X_ATOM_NET_WM_ACTION_FULLSCREEN; 87EAPI extern Ecore_X_Atom ECORE_X_ATOM_NET_WM_ACTION_FULLSCREEN;
88extern Ecore_X_Atom ECORE_X_ATOM_NET_WM_ACTION_CHANGE_DESKTOP; 88EAPI extern Ecore_X_Atom ECORE_X_ATOM_NET_WM_ACTION_CHANGE_DESKTOP;
89extern Ecore_X_Atom ECORE_X_ATOM_NET_WM_ACTION_CLOSE; /*x*/ 89EAPI extern Ecore_X_Atom ECORE_X_ATOM_NET_WM_ACTION_CLOSE; /*x*/
90 90
91extern Ecore_X_Atom ECORE_X_ATOM_NET_WM_WINDOW_TYPE; 91EAPI extern Ecore_X_Atom ECORE_X_ATOM_NET_WM_WINDOW_TYPE;
92extern Ecore_X_Atom ECORE_X_ATOM_NET_WM_WINDOW_TYPE_DESKTOP; 92EAPI extern Ecore_X_Atom ECORE_X_ATOM_NET_WM_WINDOW_TYPE_DESKTOP;
93extern Ecore_X_Atom ECORE_X_ATOM_NET_WM_WINDOW_TYPE_DOCK; 93EAPI extern Ecore_X_Atom ECORE_X_ATOM_NET_WM_WINDOW_TYPE_DOCK;
94extern Ecore_X_Atom ECORE_X_ATOM_NET_WM_WINDOW_TYPE_TOOLBAR; 94EAPI extern Ecore_X_Atom ECORE_X_ATOM_NET_WM_WINDOW_TYPE_TOOLBAR;
95extern Ecore_X_Atom ECORE_X_ATOM_NET_WM_WINDOW_TYPE_MENU; 95EAPI extern Ecore_X_Atom ECORE_X_ATOM_NET_WM_WINDOW_TYPE_MENU;
96extern Ecore_X_Atom ECORE_X_ATOM_NET_WM_WINDOW_TYPE_UTILITY; 96EAPI extern Ecore_X_Atom ECORE_X_ATOM_NET_WM_WINDOW_TYPE_UTILITY;
97extern Ecore_X_Atom ECORE_X_ATOM_NET_WM_WINDOW_TYPE_SPLASH; 97EAPI extern Ecore_X_Atom ECORE_X_ATOM_NET_WM_WINDOW_TYPE_SPLASH;
98extern Ecore_X_Atom ECORE_X_ATOM_NET_WM_WINDOW_TYPE_DIALOG; 98EAPI extern Ecore_X_Atom ECORE_X_ATOM_NET_WM_WINDOW_TYPE_DIALOG;
99extern Ecore_X_Atom ECORE_X_ATOM_NET_WM_WINDOW_TYPE_NORMAL; 99EAPI extern Ecore_X_Atom ECORE_X_ATOM_NET_WM_WINDOW_TYPE_NORMAL;
100 100
101extern Ecore_X_Atom ECORE_X_ATOM_NET_WM_STATE; 101EAPI extern Ecore_X_Atom ECORE_X_ATOM_NET_WM_STATE;
102extern Ecore_X_Atom ECORE_X_ATOM_NET_WM_STATE_MODAL; 102EAPI extern Ecore_X_Atom ECORE_X_ATOM_NET_WM_STATE_MODAL;
103extern Ecore_X_Atom ECORE_X_ATOM_NET_WM_STATE_STICKY; 103EAPI extern Ecore_X_Atom ECORE_X_ATOM_NET_WM_STATE_STICKY;
104extern Ecore_X_Atom ECORE_X_ATOM_NET_WM_STATE_MAXIMIZED_VERT; 104EAPI extern Ecore_X_Atom ECORE_X_ATOM_NET_WM_STATE_MAXIMIZED_VERT;
105extern Ecore_X_Atom ECORE_X_ATOM_NET_WM_STATE_MAXIMIZED_HORZ; 105EAPI extern Ecore_X_Atom ECORE_X_ATOM_NET_WM_STATE_MAXIMIZED_HORZ;
106extern Ecore_X_Atom ECORE_X_ATOM_NET_WM_STATE_SHADED; 106EAPI extern Ecore_X_Atom ECORE_X_ATOM_NET_WM_STATE_SHADED;
107extern Ecore_X_Atom ECORE_X_ATOM_NET_WM_STATE_SKIP_TASKBAR; 107EAPI extern Ecore_X_Atom ECORE_X_ATOM_NET_WM_STATE_SKIP_TASKBAR;
108extern Ecore_X_Atom ECORE_X_ATOM_NET_WM_STATE_SKIP_PAGER; 108EAPI extern Ecore_X_Atom ECORE_X_ATOM_NET_WM_STATE_SKIP_PAGER;
109extern Ecore_X_Atom ECORE_X_ATOM_NET_WM_STATE_HIDDEN; 109EAPI extern Ecore_X_Atom ECORE_X_ATOM_NET_WM_STATE_HIDDEN;
110extern Ecore_X_Atom ECORE_X_ATOM_NET_WM_STATE_FULLSCREEN; 110EAPI extern Ecore_X_Atom ECORE_X_ATOM_NET_WM_STATE_FULLSCREEN;
111extern Ecore_X_Atom ECORE_X_ATOM_NET_WM_STATE_ABOVE; 111EAPI extern Ecore_X_Atom ECORE_X_ATOM_NET_WM_STATE_ABOVE;
112extern Ecore_X_Atom ECORE_X_ATOM_NET_WM_STATE_BELOW; 112EAPI extern Ecore_X_Atom ECORE_X_ATOM_NET_WM_STATE_BELOW;
113extern Ecore_X_Atom ECORE_X_ATOM_NET_WM_STATE_DEMANDS_ATTENTION; 113EAPI extern Ecore_X_Atom ECORE_X_ATOM_NET_WM_STATE_DEMANDS_ATTENTION;
114 114
115extern Ecore_X_Atom ECORE_X_ATOM_NET_WM_WINDOW_OPACITY; 115EAPI extern Ecore_X_Atom ECORE_X_ATOM_NET_WM_WINDOW_OPACITY;
116 116
117extern Ecore_X_Atom ECORE_X_ATOM_NET_FRAME_EXTENTS; 117EAPI extern Ecore_X_Atom ECORE_X_ATOM_NET_FRAME_EXTENTS;
118extern Ecore_X_Atom ECORE_X_ATOM_NET_REQUEST_FRAME_EXTENTS; 118EAPI extern Ecore_X_Atom ECORE_X_ATOM_NET_REQUEST_FRAME_EXTENTS;
119 119
120extern Ecore_X_Atom ECORE_X_ATOM_NET_WM_PING; 120EAPI extern Ecore_X_Atom ECORE_X_ATOM_NET_WM_PING;
121extern Ecore_X_Atom ECORE_X_ATOM_NET_WM_SYNC_REQUEST; 121EAPI extern Ecore_X_Atom ECORE_X_ATOM_NET_WM_SYNC_REQUEST;
122extern Ecore_X_Atom ECORE_X_ATOM_NET_WM_SYNC_REQUEST_COUNTER; 122EAPI extern Ecore_X_Atom ECORE_X_ATOM_NET_WM_SYNC_REQUEST_COUNTER;
123 123
124extern Ecore_X_Atom ECORE_X_ATOM_NET_STARTUP_INFO_BEGIN; 124EAPI extern Ecore_X_Atom ECORE_X_ATOM_NET_STARTUP_INFO_BEGIN;
125extern Ecore_X_Atom ECORE_X_ATOM_NET_STARTUP_INFO; 125EAPI extern Ecore_X_Atom ECORE_X_ATOM_NET_STARTUP_INFO;
126 126
127/* Selections */ 127/* Selections */
128extern Ecore_X_Atom ECORE_X_ATOM_SELECTION_TARGETS; 128EAPI extern Ecore_X_Atom ECORE_X_ATOM_SELECTION_TARGETS;
129extern Ecore_X_Atom ECORE_X_ATOM_SELECTION_PRIMARY; 129EAPI extern Ecore_X_Atom ECORE_X_ATOM_SELECTION_PRIMARY;
130extern Ecore_X_Atom ECORE_X_ATOM_SELECTION_SECONDARY; 130EAPI extern Ecore_X_Atom ECORE_X_ATOM_SELECTION_SECONDARY;
131extern Ecore_X_Atom ECORE_X_ATOM_SELECTION_CLIPBOARD; 131EAPI extern Ecore_X_Atom ECORE_X_ATOM_SELECTION_CLIPBOARD;
132extern Ecore_X_Atom ECORE_X_ATOM_SELECTION_PROP_PRIMARY; 132EAPI extern Ecore_X_Atom ECORE_X_ATOM_SELECTION_PROP_PRIMARY;
133extern Ecore_X_Atom ECORE_X_ATOM_SELECTION_PROP_SECONDARY; 133EAPI extern Ecore_X_Atom ECORE_X_ATOM_SELECTION_PROP_SECONDARY;
134extern Ecore_X_Atom ECORE_X_ATOM_SELECTION_PROP_CLIPBOARD; 134EAPI extern Ecore_X_Atom ECORE_X_ATOM_SELECTION_PROP_CLIPBOARD;
135 135
136/* DND */ 136/* DND */
137extern Ecore_X_Atom ECORE_X_ATOM_SELECTION_XDND; 137EAPI extern Ecore_X_Atom ECORE_X_ATOM_SELECTION_XDND;
138extern Ecore_X_Atom ECORE_X_ATOM_SELECTION_PROP_XDND; 138EAPI extern Ecore_X_Atom ECORE_X_ATOM_SELECTION_PROP_XDND;
139extern Ecore_X_Atom ECORE_X_ATOM_XDND_AWARE; 139EAPI extern Ecore_X_Atom ECORE_X_ATOM_XDND_AWARE;
140extern Ecore_X_Atom ECORE_X_ATOM_XDND_TYPE_LIST; 140EAPI extern Ecore_X_Atom ECORE_X_ATOM_XDND_TYPE_LIST;
141extern Ecore_X_Atom ECORE_X_ATOM_XDND_ACTION_COPY; 141EAPI extern Ecore_X_Atom ECORE_X_ATOM_XDND_ACTION_COPY;
142extern Ecore_X_Atom ECORE_X_ATOM_XDND_ACTION_PRIVATE; 142EAPI extern Ecore_X_Atom ECORE_X_ATOM_XDND_ACTION_PRIVATE;
143extern Ecore_X_Atom ECORE_X_ATOM_XDND_ACTION_ASK; 143EAPI extern Ecore_X_Atom ECORE_X_ATOM_XDND_ACTION_ASK;
144extern Ecore_X_Atom ECORE_X_ATOM_XDND_ACTION_LIST; 144EAPI extern Ecore_X_Atom ECORE_X_ATOM_XDND_ACTION_LIST;
145extern Ecore_X_Atom ECORE_X_ATOM_XDND_ACTION_DESCRIPTION; 145EAPI extern Ecore_X_Atom ECORE_X_ATOM_XDND_ACTION_DESCRIPTION;
146extern Ecore_X_Atom ECORE_X_ATOM_XDND_ENTER; 146EAPI extern Ecore_X_Atom ECORE_X_ATOM_XDND_ENTER;
147extern Ecore_X_Atom ECORE_X_ATOM_XDND_LEAVE; 147EAPI extern Ecore_X_Atom ECORE_X_ATOM_XDND_LEAVE;
148extern Ecore_X_Atom ECORE_X_ATOM_XDND_STATUS; 148EAPI extern Ecore_X_Atom ECORE_X_ATOM_XDND_STATUS;
149extern Ecore_X_Atom ECORE_X_ATOM_XDND_POSITION; 149EAPI extern Ecore_X_Atom ECORE_X_ATOM_XDND_POSITION;
150extern Ecore_X_Atom ECORE_X_ATOM_XDND_DROP; 150EAPI extern Ecore_X_Atom ECORE_X_ATOM_XDND_DROP;
151extern Ecore_X_Atom ECORE_X_ATOM_XDND_FINISHED; 151EAPI extern Ecore_X_Atom ECORE_X_ATOM_XDND_FINISHED;
152 152
153#endif /* _ECORE_X_ATOMS_H */ 153#endif /* _ECORE_X_ATOMS_H */