summaryrefslogtreecommitdiff
path: root/src/examples/elementary/radio_cxx_example_01.cc
diff options
context:
space:
mode:
authorLauro Moura <lauromoura@expertisesolutions.com.br>2019-03-11 11:34:45 -0400
committerMike Blumenkrantz <zmike@samsung.com>2019-03-11 11:35:02 -0400
commitee7f843834e1aeb9d27cea8ef92c48758e56fcc9 (patch)
treedb5b236ad814d9e70715f03cac88811f5dd0feca /src/examples/elementary/radio_cxx_example_01.cc
parent26f46f88c95d88e15302d1c95219d227af4ea6af (diff)
cxx: Fix examples compilation.
Summary: - Changed beta methods guards from CLASS_NAME_GUARD to EFL_BETA_API_SUPPORT to use the same scheme as C. - Removed some includes to Efl_Ui.h from the examples. These were causing C's efl_part_get to not be generated due to EFL_PART_PROTECTED not being yet defined (it is defined in Elementary.hh, included afterwards). This was leading to Efl.Part.impl.hh trying to use a non-existent method. Fixes T7716 partially (missing stringshare issue) Test Plan: make examples Reviewers: stefan_schmidt, felipealmeida, zmike Reviewed By: zmike Subscribers: cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T7716 Differential Revision: https://phab.enlightenment.org/D8284
Diffstat (limited to 'src/examples/elementary/radio_cxx_example_01.cc')
-rw-r--r--src/examples/elementary/radio_cxx_example_01.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/examples/elementary/radio_cxx_example_01.cc b/src/examples/elementary/radio_cxx_example_01.cc
index 2ad30b2097..e72fe9f55e 100644
--- a/src/examples/elementary/radio_cxx_example_01.cc
+++ b/src/examples/elementary/radio_cxx_example_01.cc
@@ -1,7 +1,7 @@
1// g++ -g `pkg-config --cflags --libs elementary-cxx efl-cxx eina-cxx eo-cxx ecore-cxx evas-cxx edje-cxx` radio_cxx_example_01.cc -o radio_cxx_example_01 1// g++ -g `pkg-config --cflags --libs elementary-cxx efl-cxx eina-cxx eo-cxx ecore-cxx evas-cxx edje-cxx` radio_cxx_example_01.cc -o radio_cxx_example_01
2 2
3#define EFL_CXXPERIMENTAL 3#define EFL_CXXPERIMENTAL
4#include <Efl_Ui.h> 4#define EFL_BETA_API_SUPPORT
5#include <Elementary.hh> 5#include <Elementary.hh>
6#include <iostream> 6#include <iostream>
7 7