Ajout de l'ensemble du workspace.
[GPU.git] / WCudaMSE / API_Bilat_Image_GL / INC / envGLImage.h
diff --git a/WCudaMSE/API_Bilat_Image_GL/INC/envGLImage.h b/WCudaMSE/API_Bilat_Image_GL/INC/envGLImage.h
new file mode 100755 (executable)
index 0000000..c62b3b8
--- /dev/null
@@ -0,0 +1,31 @@
+/**\r
+ * GLImages project\r
+ * version : 0.0.3\r
+ *\r
+ * Cédric Bilat                cedric.bilat@he-arc.ch\r
+ * Stähli Joaquim      joaquim.stahli@he-arc.ch\r
+ */\r
+\r
+//PRIVATE\r
+#ifndef ENV_GLIMAGE_H\r
+#define ENV_GLIMAGE_H\r
+\r
+#include "dllHelper.h"\r
+\r
+// CBI_GL_IMAGE is used for the public API symbols. It either DLL imports or DLL exports (or does nothing for static build)\r
+// CBI_GL_IMAGE_LOCAL is used for non-api symbols.\r
+\r
+#ifdef CBI_GLIMAGE_DLL // defined if API is compiled as a DLL\r
+\r
+    #ifdef CBI_GLIMAGE_EXPORT // defined if we are building the API DLL (instead of using it)\r
+       #define CBI_GLIMAGE HELPER_DLL_EXPORT\r
+    #else\r
+       #define CBI_GLIMAGE HELPER_DLL_IMPORT\r
+    #endif // GLIMAGE_DLL_EXPORT\r
+    #define CBI_GLIMAGE_LOCAL HELPER_DLL_LOCAL\r
+#else // GLIMAGE_USE_DLL is not defined: this means API is a static lib.\r
+    #define CBI_GLIMAGE\r
+    #define CBI_GLIMAGE_LOCAL\r
+#endif\r
+\r
+#endif\r