From: Jean-Philippe Andre Date: Wed, 6 Jan 2016 05:26:25 +0000 (+0900) Subject: Ector: Protect all headers by EFL_BETA_API_SUPPORT X-Git-Tag: upstream/1.20.0~7748 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ce08ed30c7a20b7c0482477e349a95132e7c0a40;p=platform%2Fupstream%2Fefl.git Ector: Protect all headers by EFL_BETA_API_SUPPORT Those Ector APIs are not stable! --- diff --git a/src/lib/ector/cairo/Ector_Cairo.h b/src/lib/ector/cairo/Ector_Cairo.h index f45dfd0..1a99181 100644 --- a/src/lib/ector/cairo/Ector_Cairo.h +++ b/src/lib/ector/cairo/Ector_Cairo.h @@ -3,6 +3,8 @@ #include +#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 diff --git a/src/lib/ector/gl/Ector_GL.h b/src/lib/ector/gl/Ector_GL.h index dc6c37f..dc25b2a 100644 --- a/src/lib/ector/gl/Ector_GL.h +++ b/src/lib/ector/gl/Ector_GL.h @@ -1,7 +1,9 @@ #ifndef ECTOR_GL_H_ # define ECTOR_GL_H_ -#include "Ector.h" +#include + +#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 diff --git a/src/lib/ector/software/Ector_Software.h b/src/lib/ector/software/Ector_Software.h index bb134c6..66e31de 100644 --- a/src/lib/ector/software/Ector_Software.h +++ b/src/lib/ector/software/Ector_Software.h @@ -3,6 +3,8 @@ #include +#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