Ector: Protect all headers by EFL_BETA_API_SUPPORT

Those Ector APIs are not stable!
This commit is contained in:
Jean-Philippe Andre 2016-01-06 14:26:25 +09:00
parent 996d17bcc5
commit ce08ed30c7
3 changed files with 13 additions and 1 deletions

View 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

View 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

View 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