summaryrefslogtreecommitdiff
path: root/src/examples/eolian_cxx
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2016-04-21 17:13:23 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2016-04-21 17:16:53 +0900
commit6826ce1c6fa40a130cf51f4e751e98d3c56c1f85 (patch)
treefb2d0f1ddba03222b801c962225d5000a1fedee1 /src/examples/eolian_cxx
parent26b5eb8a26c196ac2d707766e938c9a35982eb98 (diff)
Examples: Fix compilation (disable CXX examples!)
Warning: This disables CXX examples because they use now-internal APIs that have no EO API binding. Those examples should be updated to use Efl.Ui widgets... once we have them.
Diffstat (limited to 'src/examples/eolian_cxx')
-rw-r--r--src/examples/eolian_cxx/eolian_cxx_complex_types_01.cc9
-rw-r--r--src/examples/eolian_cxx/eolian_cxx_eo_events_01.cc12
2 files changed, 16 insertions, 5 deletions
diff --git a/src/examples/eolian_cxx/eolian_cxx_complex_types_01.cc b/src/examples/eolian_cxx/eolian_cxx_complex_types_01.cc
index a66244f..04ed7fe 100644
--- a/src/examples/eolian_cxx/eolian_cxx_complex_types_01.cc
+++ b/src/examples/eolian_cxx/eolian_cxx_complex_types_01.cc
@@ -17,12 +17,14 @@
17#include <Ecore.hh> 17#include <Ecore.hh>
18#include <Evas.hh> 18#include <Evas.hh>
19 19
20#warning TEST CASE DISABLED: EVAS TYPES NO MORE IN EO API
21
22#if 0
20#include <canvas/evas_canvas.eo.hh> 23#include <canvas/evas_canvas.eo.hh>
21#include <canvas/evas_text.eo.hh> 24#include <canvas/evas_text.eo.hh>
22#include <canvas/evas_rectangle.eo.hh> 25#include <canvas/evas_rectangle.eo.hh>
23#include <canvas/evas_zoomable_interface.eo.hh> 26#include <canvas/evas_zoomable_interface.eo.hh>
24 27#include <canvas/evas_grid.eo.hh>
25#include "../../lib/evas/canvas/evas_grid.eo.hh"
26 28
27namespace efl { namespace evas { // XXX only while we don't have namespaces in EFL 29namespace efl { namespace evas { // XXX only while we don't have namespaces in EFL
28using ::evas::canvas; 30using ::evas::canvas;
@@ -118,4 +120,7 @@ int main()
118 120
119 return 0; 121 return 0;
120} 122}
123#else
124int main() { abort(); }
125#endif
121 126
diff --git a/src/examples/eolian_cxx/eolian_cxx_eo_events_01.cc b/src/examples/eolian_cxx/eolian_cxx_eo_events_01.cc
index 0ecbdda..2ecdb03 100644
--- a/src/examples/eolian_cxx/eolian_cxx_eo_events_01.cc
+++ b/src/examples/eolian_cxx/eolian_cxx_eo_events_01.cc
@@ -17,11 +17,13 @@
17#include <Ecore.hh> 17#include <Ecore.hh>
18#include <Evas.hh> 18#include <Evas.hh>
19 19
20#warning TEST CASE DISABLED: EVAS TYPES NO MORE IN EO API
21
22#if 0
20#include <canvas/evas_canvas.eo.hh> 23#include <canvas/evas_canvas.eo.hh>
21#include <canvas/evas_image.eo.hh> 24#include <canvas/evas_image.eo.hh>
22 25#include <canvas/evas_text.eo.hh>
23#include "../../lib/evas/canvas/evas_text.eo.hh" 26#include <canvas/evas_grid.eo.hh>
24#include "../../lib/evas/canvas/evas_grid.eo.hh"
25 27
26namespace efl { namespace evas { 28namespace efl { namespace evas {
27using ::evas::canvas; 29using ::evas::canvas;
@@ -101,3 +103,7 @@ int main()
101 103
102 return 0; 104 return 0;
103} 105}
106#else
107int main() { abort(); }
108#endif
109