Enlightenment CVS committal

Author  : sebastid
Project : e17
Module  : libs/esmart

Dir     : e17/libs/esmart/src/lib/esmart_trans_x11


Modified Files:
        Esmart_Trans_X11.h esmart_trans_x11.c 


Log Message:
EAPI

===================================================================
RCS file: /cvs/e/e17/libs/esmart/src/lib/esmart_trans_x11/Esmart_Trans_X11.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -3 -r1.4 -r1.5
--- Esmart_Trans_X11.h  4 Sep 2005 19:00:25 -0000       1.4
+++ Esmart_Trans_X11.h  6 Sep 2006 07:17:49 -0000       1.5
@@ -1,6 +1,27 @@
 #ifndef _ESMART_TRANS_X11_H
 #define _ESMART_TRANS_X11_H
 
+#ifdef EAPI
+#undef EAPI
+#endif
+#ifdef WIN32
+# ifdef BUILDING_DLL
+#  define EAPI __declspec(dllexport)
+# else
+#  define EAPI __declspec(dllimport)
+# endif
+#else
+# ifdef __GNUC__
+#  if __GNUC__ >= 4
+#   define EAPI __attribute__ ((visibility("default")))
+#  else
+#   define EAPI
+#  endif
+# else
+#  define EAPI
+# endif
+#endif
+
 #include <Evas.h>
 #include <Ecore_X.h>
 
@@ -13,12 +34,11 @@
    Esmart_Trans_X11_Type_Screengrab
 } Esmart_Trans_X11_Type;
 
-Evas_Object * esmart_trans_x11_new(Evas *e);
-void esmart_trans_x11_type_set(Evas_Object *o, Esmart_Trans_X11_Type type);
-Esmart_Trans_X11_Type esmart_trans_x11_type_get(Evas_Object *o);
-void esmart_trans_x11_window_set(Evas_Object *o, Ecore_X_Window win);
-void esmart_trans_x11_freshen(Evas_Object *o, int x, int y, int w,
-int h);
+EAPI Evas_Object * esmart_trans_x11_new(Evas *e);
+EAPI void esmart_trans_x11_type_set(Evas_Object *o, Esmart_Trans_X11_Type 
type);
+EAPI Esmart_Trans_X11_Type esmart_trans_x11_type_get(Evas_Object *o);
+EAPI void esmart_trans_x11_window_set(Evas_Object *o, Ecore_X_Window win);
+EAPI void esmart_trans_x11_freshen(Evas_Object *o, int x, int y, int w, int h);
 
 #ifdef __cplusplus
 }
===================================================================
RCS file: /cvs/e/e17/libs/esmart/src/lib/esmart_trans_x11/esmart_trans_x11.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -3 -r1.6 -r1.7
--- esmart_trans_x11.c  5 Sep 2005 10:57:41 -0000       1.6
+++ esmart_trans_x11.c  6 Sep 2006 07:17:49 -0000       1.7
@@ -298,7 +298,7 @@
 }
 
 /* keep a global copy of this, so it only has to be created once */
-void
+EAPI void
 esmart_trans_x11_freshen(Evas_Object *o, int x, int y, int w, int h)
 {
   Esmart_Trans_X11 *data;
@@ -357,7 +357,7 @@
 
 /*** external API ***/
 
-Evas_Object *
+EAPI Evas_Object *
 esmart_trans_x11_new(Evas *e)
 {
   Evas_Object *x11_trans_object;
@@ -390,7 +390,7 @@
   return x11_trans_object;
 }
 
-void
+EAPI void
 esmart_trans_x11_type_set(Evas_Object *o, Esmart_Trans_X11_Type type)
 {
    Esmart_Trans_Object *eto;
@@ -399,7 +399,7 @@
       eto->type = type;
 }
 
-Esmart_Trans_X11_Type
+EAPI Esmart_Trans_X11_Type
 esmart_trans_x11_type_get(Evas_Object *o)
 {
    Esmart_Trans_Object *eto;
@@ -410,7 +410,7 @@
       return Esmart_Trans_X11_Type_Background;
 }
 
-void
+EAPI void
 esmart_trans_x11_window_set(Evas_Object *o, Ecore_X_Window win)
 {
    Esmart_Trans_Object *eto;



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to