summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2016-01-06 14:26:25 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2016-01-06 14:26:25 +0900
commitce08ed30c7a20b7c0482477e349a95132e7c0a40 (patch)
tree5e8d0394e3f111a2e4302b95eb664bcfb6f8c3bf /src/lib
parent996d17bcc5a08e75febb952586b6a87f48b990e4 (diff)
Ector: Protect all headers by EFL_BETA_API_SUPPORT
Those Ector APIs are not stable!
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/ector/cairo/Ector_Cairo.h4
-rw-r--r--src/lib/ector/gl/Ector_GL.h6
-rw-r--r--src/lib/ector/software/Ector_Software.h4
3 files changed, 13 insertions, 1 deletions
diff --git a/src/lib/ector/cairo/Ector_Cairo.h b/src/lib/ector/cairo/Ector_Cairo.h
index f45dfd0b8a..1a99181409 100644
--- a/src/lib/ector/cairo/Ector_Cairo.h
+++ b/src/lib/ector/cairo/Ector_Cairo.h
@@ -3,6 +3,8 @@
3 3
4#include <Ector.h> 4#include <Ector.h>
5 5
6#ifdef EFL_BETA_API_SUPPORT
7
6#ifndef _ECTOR_CAIRO_SURFACE_EO_CLASS_TYPE 8#ifndef _ECTOR_CAIRO_SURFACE_EO_CLASS_TYPE
7#define _ECTOR_CAIRO_SURFACE_EO_CLASS_TYPE 9#define _ECTOR_CAIRO_SURFACE_EO_CLASS_TYPE
8 10
@@ -20,3 +22,5 @@ typedef struct _cairo_t cairo_t;
20#include "cairo/ector_renderer_cairo_gradient_radial.eo.h" 22#include "cairo/ector_renderer_cairo_gradient_radial.eo.h"
21 23
22#endif 24#endif
25
26#endif
diff --git a/src/lib/ector/gl/Ector_GL.h b/src/lib/ector/gl/Ector_GL.h
index dc6c37fba1..dc25b2a113 100644
--- a/src/lib/ector/gl/Ector_GL.h
+++ b/src/lib/ector/gl/Ector_GL.h
@@ -1,7 +1,9 @@
1#ifndef ECTOR_GL_H_ 1#ifndef ECTOR_GL_H_
2# define ECTOR_GL_H_ 2# define ECTOR_GL_H_
3 3
4#include "Ector.h" 4#include <Ector.h>
5
6#ifdef EFL_BETA_API_SUPPORT
5 7
6#ifndef _ECTOR_GL_SURFACE_EO_CLASS_TYPE 8#ifndef _ECTOR_GL_SURFACE_EO_CLASS_TYPE
7#define _ECTOR_GL_SURFACE_EO_CLASS_TYPE 9#define _ECTOR_GL_SURFACE_EO_CLASS_TYPE
@@ -22,3 +24,5 @@ typedef short GLshort;
22#include "gl/ector_renderer_gl_gradient_radial.eo.h" 24#include "gl/ector_renderer_gl_gradient_radial.eo.h"
23 25
24#endif 26#endif
27
28#endif
diff --git a/src/lib/ector/software/Ector_Software.h b/src/lib/ector/software/Ector_Software.h
index bb134c6850..66e31de010 100644
--- a/src/lib/ector/software/Ector_Software.h
+++ b/src/lib/ector/software/Ector_Software.h
@@ -3,6 +3,8 @@
3 3
4#include <Ector.h> 4#include <Ector.h>
5 5
6#ifdef EFL_BETA_API_SUPPORT
7
6#include "software/ector_software_surface.eo.h" 8#include "software/ector_software_surface.eo.h"
7#include "software/ector_software_buffer.eo.h" 9#include "software/ector_software_buffer.eo.h"
8#include "software/ector_software_buffer_base.eo.h" 10#include "software/ector_software_buffer_base.eo.h"
@@ -13,3 +15,5 @@
13#include "software/ector_renderer_software_gradient_radial.eo.h" 15#include "software/ector_renderer_software_gradient_radial.eo.h"
14 16
15#endif 17#endif
18
19#endif