summaryrefslogtreecommitdiff
path: root/src/lib/evas
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2017-11-06 14:23:57 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2017-11-07 09:57:24 +0900
commit4f98b549159811d2f649a9e3eca6bbe20bc86740 (patch)
tree0bc9a3a1f2f6802dbdcdd150365efedca4cc7399 /src/lib/evas
parent5f5325ea333a5ea6caa55ce5d7aa702ee6b689a1 (diff)
cxx: Add beta define to Evas.hh
This is probably temporary as well, but it's necessary to make examples compile (with rectangle).
Diffstat (limited to 'src/lib/evas')
-rw-r--r--src/lib/evas/Evas.hh22
1 files changed, 18 insertions, 4 deletions
diff --git a/src/lib/evas/Evas.hh b/src/lib/evas/Evas.hh
index 4bef41958f..893f895ca9 100644
--- a/src/lib/evas/Evas.hh
+++ b/src/lib/evas/Evas.hh
@@ -1,9 +1,23 @@
1#ifndef EFL_EVAS_HH 1#ifndef EVAS_HH
2#define EFL_EVAS_HH 2#define EVAS_HH
3#ifdef EFL_BETA_API_SUPPORT
4 3
5#include "Evas.eo.hh" 4#if defined(EVAS_H)
5#error "Do not include Evas C API headers before including Evas.hh"
6#endif
6 7
8#ifndef EFL_BETA_API_SUPPORT
9#define EFL_BETA_API_SUPPORT
7#endif 10#endif
11#ifndef EFL_EO_API_SUPPORT
12#define EFL_EO_API_SUPPORT
8#endif 13#endif
9 14
15#include <Efl.hh>
16
17extern "C" {
18#include "Evas.h"
19}
20
21#include "Evas.eo.hh"
22
23#endif