Ector: Protect all headers by EFL_BETA_API_SUPPORT
authorJean-Philippe Andre <jp.andre@samsung.com>
Wed, 6 Jan 2016 05:26:25 +0000 (14:26 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Wed, 6 Jan 2016 05:26:25 +0000 (14:26 +0900)
Those Ector APIs are not stable!

src/lib/ector/cairo/Ector_Cairo.h
src/lib/ector/gl/Ector_GL.h
src/lib/ector/software/Ector_Software.h

index f45dfd0..1a99181 100644 (file)
@@ -3,6 +3,8 @@
 
 #include <Ector.h>
 
+#ifdef EFL_BETA_API_SUPPORT
+
 #ifndef _ECTOR_CAIRO_SURFACE_EO_CLASS_TYPE
 #define _ECTOR_CAIRO_SURFACE_EO_CLASS_TYPE
 
@@ -20,3 +22,5 @@ typedef struct _cairo_t cairo_t;
 #include "cairo/ector_renderer_cairo_gradient_radial.eo.h"
 
 #endif
+
+#endif
index dc6c37f..dc25b2a 100644 (file)
@@ -1,7 +1,9 @@
 #ifndef ECTOR_GL_H_
 # define ECTOR_GL_H_
 
-#include "Ector.h"
+#include <Ector.h>
+
+#ifdef EFL_BETA_API_SUPPORT
 
 #ifndef _ECTOR_GL_SURFACE_EO_CLASS_TYPE
 #define _ECTOR_GL_SURFACE_EO_CLASS_TYPE
@@ -22,3 +24,5 @@ typedef short        GLshort;
 #include "gl/ector_renderer_gl_gradient_radial.eo.h"
 
 #endif
+
+#endif
index bb134c6..66e31de 100644 (file)
@@ -3,6 +3,8 @@
 
 #include <Ector.h>
 
+#ifdef EFL_BETA_API_SUPPORT
+
 #include "software/ector_software_surface.eo.h"
 #include "software/ector_software_buffer.eo.h"
 #include "software/ector_software_buffer_base.eo.h"
@@ -13,3 +15,5 @@
 #include "software/ector_renderer_software_gradient_radial.eo.h"
 
 #endif
+
+#endif