Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/ecore

Dir     : e17/libs/ecore/src/lib/ecore_fb


Modified Files:
        Ecore_Fb.h 


Log Message:


hidden symbol support

===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ecore/src/lib/ecore_fb/Ecore_Fb.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- Ecore_Fb.h  30 Apr 2004 03:10:16 -0000      1.3
+++ Ecore_Fb.h  25 Nov 2004 05:17:16 -0000      1.4
@@ -1,6 +1,23 @@
 #ifndef _ECORE_FB_H
 #define _ECORE_FB_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
+
 /**
  * @file
  * @brief Ecore frame buffer system functions.
@@ -60,33 +77,33 @@
    int     y; /**< Mouse co-ordinates where the mouse cursor moved to */
 };
 
-int    ecore_fb_init(const char *name);
-int    ecore_fb_shutdown(void);
+EAPI int    ecore_fb_init(const char *name);
+EAPI int    ecore_fb_shutdown(void);
    
-void   ecore_fb_double_click_time_set(double t);
-double ecore_fb_double_click_time_get(void);
+EAPI void   ecore_fb_double_click_time_set(double t);
+EAPI double ecore_fb_double_click_time_get(void);
 
-void   ecore_fb_size_get(int *w, int *h);   
+EAPI void   ecore_fb_size_get(int *w, int *h);   
    
-void   ecore_fb_touch_screen_calibrate_set(int xscale, int xtrans, int yscale, 
int ytrans, int xyswap);
-void   ecore_fb_touch_screen_calibrate_get(int *xscale, int *xtrans, int 
*yscale, int *ytrans, int *xyswap);
+EAPI void   ecore_fb_touch_screen_calibrate_set(int xscale, int xtrans, int 
yscale, int ytrans, int xyswap);
+EAPI void   ecore_fb_touch_screen_calibrate_get(int *xscale, int *xtrans, int 
*yscale, int *ytrans, int *xyswap);
 
-void   ecore_fb_backlight_set(int on);
-int    ecore_fb_backlight_get(void);
+EAPI void   ecore_fb_backlight_set(int on);
+EAPI int    ecore_fb_backlight_get(void);
 
-void   ecore_fb_backlight_brightness_set(double br);
-double ecore_fb_backlight_brightness_get(void);
+EAPI void   ecore_fb_backlight_brightness_set(double br);
+EAPI double ecore_fb_backlight_brightness_get(void);
 
-void   ecore_fb_led_set(int on);
-void   ecore_fb_led_blink_set(double speed);
+EAPI void   ecore_fb_led_set(int on);
+EAPI void   ecore_fb_led_blink_set(double speed);
 
-void   ecore_fb_contrast_set(double cr);
-double ecore_fb_contrast_get(void);
+EAPI void   ecore_fb_contrast_set(double cr);
+EAPI double ecore_fb_contrast_get(void);
 
-double ecore_fb_light_sensor_get(void);
+EAPI double ecore_fb_light_sensor_get(void);
 
-void ecore_fb_callback_gain_set(void (*func) (void *data), void *data);
-void ecore_fb_callback_lose_set(void (*func) (void *data), void *data);
+EAPI void ecore_fb_callback_gain_set(void (*func) (void *data), void *data);
+EAPI void ecore_fb_callback_lose_set(void (*func) (void *data), void *data);
        
 #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

Reply via email to