Enlightenment CVS committal
Author : sebastid
Project : e17
Module : libs/esmart
Dir : e17/libs/esmart/src/lib/esmart_file_dialog
Modified Files:
Esmart_File_Dialog.h esmart_file_dialog.c
Log Message:
EAPI
===================================================================
RCS file:
/cvs/e/e17/libs/esmart/src/lib/esmart_file_dialog/Esmart_File_Dialog.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -3 -r1.4 -r1.5
--- Esmart_File_Dialog.h 4 Sep 2005 19:00:25 -0000 1.4
+++ Esmart_File_Dialog.h 6 Sep 2006 07:17:48 -0000 1.5
@@ -1,6 +1,27 @@
#ifndef _ESMART_FILE_DIALOG_H
#define _ESMART_FILE_DIALOG_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>
#ifdef __cplusplus
@@ -22,15 +43,16 @@
* @param evas the evas to add the object to
* @param edje the file to load the edje parts from
*/
- Evas_Object *esmart_file_dialog_new (Evas * evas, const char *edje_file);
+ EAPI Evas_Object *esmart_file_dialog_new (Evas * evas, const char
*edje_file);
- void esmart_file_dialog_callback_add (Evas_Object * efd,
- void (*func) (void *data,
- Evas_Object * edje,
- Esmart_File_Dialog_Op
op), void *data);
- Evas_Object *esmart_file_dialog_edje_get (Evas_Object * efd);
- Evas_List *esmart_file_dialog_selections_get (Evas_Object * efd);
- const char *esmart_file_dialog_current_directory_get (Evas_Object * efd);
+ EAPI void esmart_file_dialog_callback_add (Evas_Object * efd,
+ void (*func) (void *data,
+ Evas_Object * edje,
+
Esmart_File_Dialog_Op op),
+ void *data);
+ EAPI Evas_Object *esmart_file_dialog_edje_get (Evas_Object * efd);
+ EAPI Evas_List *esmart_file_dialog_selections_get (Evas_Object * efd);
+ EAPI const char *esmart_file_dialog_current_directory_get (Evas_Object *
efd);
#ifdef __cplusplus
}
===================================================================
RCS file:
/cvs/e/e17/libs/esmart/src/lib/esmart_file_dialog/esmart_file_dialog.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- esmart_file_dialog.c 2 May 2005 17:27:41 -0000 1.3
+++ esmart_file_dialog.c 6 Sep 2006 07:17:48 -0000 1.4
@@ -110,7 +110,7 @@
/*=========================================================================*
* Public Functions
*=========================================================================*/
-Evas_Object *
+EAPI Evas_Object *
esmart_file_dialog_new (Evas * e, const char *edje_file)
{
const char *part = NULL;
@@ -252,7 +252,7 @@
return (result);
}
-Evas_Object *
+EAPI Evas_Object *
esmart_file_dialog_edje_get (Evas_Object * efd)
{
Esmart_File_Dialog *fddata;
@@ -265,7 +265,7 @@
return (result);
}
-void
+EAPI void
esmart_file_dialog_callback_add (Evas_Object * efd,
void (*func) (void *data, Evas_Object * edje,
Esmart_File_Dialog_Op type),
void *data)
@@ -278,7 +278,7 @@
fddata->fdata = data;
}
}
-Evas_List *
+EAPI Evas_List *
esmart_file_dialog_selections_get (Evas_Object * efd)
{
Esmart_File_Dialog *fddata;
@@ -290,7 +290,7 @@
}
return (result);
}
-const char *
+EAPI const char *
esmart_file_dialog_current_directory_get (Evas_Object * efd)
{
Esmart_File_Dialog *fddata;
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs