add warning messages for ecore_cocoa, ecore_win32 and ecore_wince
authorcaro <caro@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 24 Sep 2010 05:30:51 +0000 (05:30 +0000)
committercaro <caro@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 24 Sep 2010 05:30:51 +0000 (05:30 +0000)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@52669 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/ecore_cocoa/Ecore_Cocoa.h
src/lib/ecore_win32/Ecore_Win32.h
src/lib/ecore_wince/Ecore_WinCE.h

index ab665e9..f90db7c 100644 (file)
@@ -1,19 +1,29 @@
 #ifndef _ECORE_COCOA_H
 #define _ECORE_COCOA_H
 
+/*
+ * DO NOT USE THIS HEADER. IT IS WORK IN PROGRESS. IT IS NOT FINAL AND
+ * THE API MAY CHANGE.
+ */
+
+#ifndef ECORE_COCOA_WIP_GNSIDNQI
+# warning "You are using a work in progress API. This API is not stable"
+# warning "and is subject to change. You use this at your own risk."
+#endif
+
 #ifdef EAPI
 # undef EAPI
 #endif
 
-# ifdef __GNUC__
-#  if __GNUC__ >= 4
-#   define EAPI __attribute__ ((visibility("default")))
-#  else
-#   define EAPI
-#  endif
+#ifdef __GNUC__
+# if __GNUC__ >= 4
+#  define EAPI __attribute__ ((visibility("default")))
 # else
 #  define EAPI
 # endif
+#else
+# define EAPI
+#endif
 
 #ifdef __cplusplus
 extern "C" {
index 55041b0..bfbbfe6 100644 (file)
@@ -1,6 +1,16 @@
 #ifndef __ECORE_WIN32_H__
 #define __ECORE_WIN32_H__
 
+/*
+ * DO NOT USE THIS HEADER. IT IS WORK IN PROGRESS. IT IS NOT FINAL AND
+ * THE API MAY CHANGE.
+ */
+
+#ifndef ECORE_WIN32_WIP_POZEFLKSD
+# warning "You are using a work in progress API. This API is not stable"
+# warning "and is subject to change. You use this at your own risk."
+#endif
+
 #include <Eina.h>
 
 #ifdef EAPI
index fff0cd0..bed7f4e 100644 (file)
@@ -1,13 +1,23 @@
 #ifndef __ECORE_WINCE_H__
 #define __ECORE_WINCE_H__
 
+/*
+ * DO NOT USE THIS HEADER. IT IS WORK IN PROGRESS. IT IS NOT FINAL AND
+ * THE API MAY CHANGE.
+ */
+
+#ifndef ECORE_WINCE_WIP_OSXCKQSD
+# warning "You are using a work in progress API. This API is not stable"
+# warning "and is subject to change. You use this at your own risk."
+#endif
+
 #include <Eina.h>
 
 #ifdef EAPI
 # undef EAPI
 #endif
 
-#ifdef _WINCE
+#ifdef _WIN32
 # ifdef EFL_ECORE_WINCE_BUILD
 #  ifdef DLL_EXPORT
 #   define EAPI __declspec(dllexport)