Enlightenment CVS committal
Author : raster
Project : e17
Module : libs/edje
Dir : e17/libs/edje/src/lib
Modified Files:
Edje.h
Log Message:
hidden symbol support
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/edje/src/lib/Edje.h,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -3 -r1.37 -r1.38
--- Edje.h 11 Sep 2004 02:59:23 -0000 1.37
+++ Edje.h 25 Nov 2004 05:18:31 -0000 1.38
@@ -3,6 +3,23 @@
#include <Evas.h>
+#ifdef EAPI
+#undef EAPI
+#endif
+#ifdef WIN32
+# ifdef BUILDING_DLL
+# define EAPI __declspec(dllexport)
+# else
+# define EAPI __declspec(dllimport)
+# endif
+#else
+# ifdef GCC_HASCLASSVISIBILITY
+# define EAPI __attribute__ ((visibility("default")))
+# else
+# define EAPI
+# endif
+#endif
+
/* FIXDOC: Define these? */
enum _Edje_Message_Type
{
@@ -120,84 +137,84 @@
extern "C" {
#endif
- /* edje_main.c */
- int edje_init (void);
- int edje_shutdown (void);
-
- /* edje_program.c */
- void edje_frametime_set (double t);
- double edje_frametime_get (void);
-
- /* edje_util.c */
- void edje_freeze (void);
- void edje_thaw (void);
-
- /* edje_load.c */
- Evas_List *edje_file_collection_list (const char *file);
- void edje_file_collection_list_free (Evas_List *lst);
- char *edje_file_data_get (const char *file, const char
*key);
-
- /* edje_util.c */
- void edje_color_class_set(const char *color_class, int r, int g,
int b, int a, int r2, int g2, int b2, int a2, int r3, int g3, int b3, int a3);
- void edje_text_class_set(const char *text_class, const char *font,
Evas_Font_Size size);
- void edje_extern_object_min_size_set (Evas_Object *obj, Evas_Coord
minw, Evas_Coord minh);
- void edje_extern_object_max_size_set (Evas_Object *obj, Evas_Coord
maxw, Evas_Coord maxh);
-
- /* edje_smart.c */
- Evas_Object *edje_object_add (Evas *evas);
-
- /* edje_util.c */
- const char *edje_object_data_get (Evas_Object *obj, const char
*key);
-
- /* edje_load.c */
- int edje_object_file_set (Evas_Object *obj, const char
*file, const char *part);
- void edje_object_file_get (Evas_Object *obj, const char
**file, const char **part);
- int edje_object_load_error_get (Evas_Object *obj);
-
- /* edje_program.c */
- void edje_object_signal_callback_add (Evas_Object *obj, const char
*emission, const char *source, void (*func) (void *data, Evas_Object *obj,
const char *emission, const char *source), void *data);
- void *edje_object_signal_callback_del (Evas_Object *obj, const char
*emission, const char *source, void (*func) (void *data, Evas_Object *obj,
const char *emission, const char *source));
- void edje_object_signal_emit (Evas_Object *obj, const char
*emission, const char *source);
- void edje_object_play_set (Evas_Object *obj, int play);
- int edje_object_play_get (Evas_Object *obj);
- void edje_object_animation_set (Evas_Object *obj, int on);
- int edje_object_animation_get (Evas_Object *obj);
-
- /* edje_util.c */
- int edje_object_freeze (Evas_Object *obj);
- int edje_object_thaw (Evas_Object *obj);
- void edje_object_color_class_set (Evas_Object *obj, const char
*color_class, int r, int g, int b, int a, int r2, int g2, int b2, int a2, int
r3, int g3, int b3, int a3);
- void edje_object_text_class_set (Evas_Object *obj, const char
*text_class, const char *font, Evas_Font_Size size);
- void edje_object_size_min_get (Evas_Object *obj, Evas_Coord
*minw, Evas_Coord *minh);
- void edje_object_size_max_get (Evas_Object *obj, Evas_Coord
*maxw, Evas_Coord *maxh);
- void edje_object_size_min_calc (Evas_Object *obj, Evas_Coord
*minw, Evas_Coord *minh);
- int edje_object_part_exists (Evas_Object *obj, const char
*part);
- void edje_object_part_geometry_get (Evas_Object *obj, const char
*part, Evas_Coord *x, Evas_Coord *y, Evas_Coord *w, Evas_Coord *h);
- void edje_object_text_change_cb_set (Evas_Object *obj, void (*func)
(void *data, Evas_Object *obj, const char *part), void *data);
- void edje_object_part_text_set (Evas_Object *obj, const char
*part, const char *text);
- const char *edje_object_part_text_get (Evas_Object *obj, const char
*part);
- void edje_object_part_swallow (Evas_Object *obj, const char
*part, Evas_Object *obj_swallow);
- void edje_object_part_unswallow (Evas_Object *obj, Evas_Object
*obj_swallow);
- Evas_Object *edje_object_part_swallow_get (Evas_Object *obj, const char
*part);
- const char *edje_object_part_state_get (Evas_Object *obj, const char
*part, double *val_ret);
- int edje_object_part_drag_dir_get (Evas_Object *obj, const char
*part);
- void edje_object_part_drag_value_set (Evas_Object *obj, const char
*part, double dx, double dy);
- void edje_object_part_drag_value_get (Evas_Object *obj, const char
*part, double *dx, double *dy);
- void edje_object_part_drag_size_set (Evas_Object *obj, const char
*part, double dw, double dh);
- void edje_object_part_drag_size_get (Evas_Object *obj, const char
*part, double *dw, double *dh);
- void edje_object_part_drag_step_set (Evas_Object *obj, const char
*part, double dx, double dy);
- void edje_object_part_drag_step_get (Evas_Object *obj, const char
*part, double *dx, double *dy);
- void edje_object_part_drag_page_set (Evas_Object *obj, const char
*part, double dx, double dy);
- void edje_object_part_drag_page_get (Evas_Object *obj, const char
*part, double *dx, double *dy);
- void edje_object_part_drag_step (Evas_Object *obj, const char
*part, double dx, double dy);
- void edje_object_part_drag_page (Evas_Object *obj, const char
*part, double dx, double dy);
-
- /* edje_message_queue.c */
- void edje_object_message_send (Evas_Object *obj,
Edje_Message_Type type, int id, void *msg);
- void edje_object_message_handler_set (Evas_Object *obj, void
(*func) (void *data, Evas_Object *obj, Edje_Message_Type type, int id, void
*msg), void *data);
- void edje_object_message_signal_process (Evas_Object *obj);
-
- void edje_message_signal_process (void);
+ /* edje_main.c */
+ EAPI int edje_init (void);
+ EAPI int edje_shutdown (void);
+
+ /* edje_program.c */
+ EAPI void edje_frametime_set (double t);
+ EAPI double edje_frametime_get (void);
+
+ /* edje_util.c */
+ EAPI void edje_freeze (void);
+ EAPI void edje_thaw (void);
+
+ /* edje_load.c */
+ EAPI Evas_List *edje_file_collection_list (const char *file);
+ EAPI void edje_file_collection_list_free (Evas_List *lst);
+ EAPI char *edje_file_data_get (const char *file, const
char *key);
+
+ /* edje_util.c */
+ EAPI void edje_color_class_set(const char *color_class, int r, int
g, int b, int a, int r2, int g2, int b2, int a2, int r3, int g3, int b3, int
a3);
+ EAPI void edje_text_class_set(const char *text_class, const char
*font, Evas_Font_Size size);
+ EAPI void edje_extern_object_min_size_set (Evas_Object *obj,
Evas_Coord minw, Evas_Coord minh);
+ EAPI void edje_extern_object_max_size_set (Evas_Object *obj,
Evas_Coord maxw, Evas_Coord maxh);
+
+ /* edje_smart.c */
+ EAPI Evas_Object *edje_object_add (Evas *evas);
+
+ /* edje_util.c */
+ EAPI const char *edje_object_data_get (Evas_Object *obj, const
char *key);
+
+ /* edje_load.c */
+ EAPI int edje_object_file_set (Evas_Object *obj, const
char *file, const char *part);
+ EAPI void edje_object_file_get (Evas_Object *obj, const
char **file, const char **part);
+ EAPI int edje_object_load_error_get (Evas_Object *obj);
+
+ /* edje_program.c */
+ EAPI void edje_object_signal_callback_add (Evas_Object *obj, const
char *emission, const char *source, void (*func) (void *data, Evas_Object *obj,
const char *emission, const char *source), void *data);
+ EAPI void *edje_object_signal_callback_del (Evas_Object *obj, const
char *emission, const char *source, void (*func) (void *data, Evas_Object *obj,
const char *emission, const char *source));
+ EAPI void edje_object_signal_emit (Evas_Object *obj, const
char *emission, const char *source);
+ EAPI void edje_object_play_set (Evas_Object *obj, int
play);
+ EAPI int edje_object_play_get (Evas_Object *obj);
+ EAPI void edje_object_animation_set (Evas_Object *obj, int
on);
+ EAPI int edje_object_animation_get (Evas_Object *obj);
+
+ /* edje_util.c */
+ EAPI int edje_object_freeze (Evas_Object *obj);
+ EAPI int edje_object_thaw (Evas_Object *obj);
+ EAPI void edje_object_color_class_set (Evas_Object *obj, const
char *color_class, int r, int g, int b, int a, int r2, int g2, int b2, int a2,
int r3, int g3, int b3, int a3);
+ EAPI void edje_object_text_class_set (Evas_Object *obj, const
char *text_class, const char *font, Evas_Font_Size size);
+ EAPI void edje_object_size_min_get (Evas_Object *obj,
Evas_Coord *minw, Evas_Coord *minh);
+ EAPI void edje_object_size_max_get (Evas_Object *obj,
Evas_Coord *maxw, Evas_Coord *maxh);
+ EAPI void edje_object_size_min_calc (Evas_Object *obj,
Evas_Coord *minw, Evas_Coord *minh);
+ EAPI int edje_object_part_exists (Evas_Object *obj, const
char *part);
+ EAPI void edje_object_part_geometry_get (Evas_Object *obj, const
char *part, Evas_Coord *x, Evas_Coord *y, Evas_Coord *w, Evas_Coord *h);
+ EAPI void edje_object_text_change_cb_set (Evas_Object *obj, void
(*func) (void *data, Evas_Object *obj, const char *part), void *data);
+ EAPI void edje_object_part_text_set (Evas_Object *obj, const
char *part, const char *text);
+ EAPI const char *edje_object_part_text_get (Evas_Object *obj, const
char *part);
+ EAPI void edje_object_part_swallow (Evas_Object *obj, const
char *part, Evas_Object *obj_swallow);
+ EAPI void edje_object_part_unswallow (Evas_Object *obj,
Evas_Object *obj_swallow);
+ EAPI Evas_Object *edje_object_part_swallow_get (Evas_Object *obj, const
char *part);
+ EAPI const char *edje_object_part_state_get (Evas_Object *obj, const
char *part, double *val_ret);
+ EAPI int edje_object_part_drag_dir_get (Evas_Object *obj, const
char *part);
+ EAPI void edje_object_part_drag_value_set (Evas_Object *obj, const
char *part, double dx, double dy);
+ EAPI void edje_object_part_drag_value_get (Evas_Object *obj, const
char *part, double *dx, double *dy);
+ EAPI void edje_object_part_drag_size_set (Evas_Object *obj, const
char *part, double dw, double dh);
+ EAPI void edje_object_part_drag_size_get (Evas_Object *obj, const
char *part, double *dw, double *dh);
+ EAPI void edje_object_part_drag_step_set (Evas_Object *obj, const
char *part, double dx, double dy);
+ EAPI void edje_object_part_drag_step_get (Evas_Object *obj, const
char *part, double *dx, double *dy);
+ EAPI void edje_object_part_drag_page_set (Evas_Object *obj, const
char *part, double dx, double dy);
+ EAPI void edje_object_part_drag_page_get (Evas_Object *obj, const
char *part, double *dx, double *dy);
+ EAPI void edje_object_part_drag_step (Evas_Object *obj, const
char *part, double dx, double dy);
+ EAPI void edje_object_part_drag_page (Evas_Object *obj, const
char *part, double dx, double dy);
+
+ /* edje_message_queue.c */
+ EAPI void edje_object_message_send (Evas_Object *obj,
Edje_Message_Type type, int id, void *msg);
+ EAPI void edje_object_message_handler_set (Evas_Object *obj,
void (*func) (void *data, Evas_Object *obj, Edje_Message_Type type, int id,
void *msg), void *data);
+ EAPI void edje_object_message_signal_process (Evas_Object *obj);
+
+ EAPI void edje_message_signal_process (void);
#ifdef __cplusplus
}
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs