summaryrefslogtreecommitdiff
path: root/src/examples/emotion
diff options
context:
space:
mode:
authorDaniel Kolesa <daniel@octaforge.org>2019-03-18 12:13:41 +0100
committerXavi Artigas <xavierartigas@yahoo.es>2019-03-18 12:13:59 +0100
commit58b8a3d1636160a752b8792f1037b8d9f3067a48 (patch)
tree5f7ab0b0289941f756beac99c63453f80cf59fc1 /src/examples/emotion
parent3fa8bb7bad584533311753fb447321e9f333591e (diff)
efl: remove EFL_EO_API_SUPPORT macro
Summary: Since we're now going to be shipping some eo classes as stable, there is no point in keeping the eo api behind a macro, and it should be enabled by default. Another case is beta classes, but those are behind the EFL_BETA_API_SUPPORT guard. This also changes includes around the place where things are clearly broken (such as an included header needing something from another header but that other header being guarded, notably efl_ui_widget.h needing focus manager but focus manager being behind beta in Elementary.h) Reviewers: zmike, cedric, bu5hm4n, stefan_schmidt, segfaultxavi Reviewed By: cedric, segfaultxavi Subscribers: segfaultxavi, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8322
Diffstat (limited to 'src/examples/emotion')
-rw-r--r--src/examples/emotion/emotion_basic_example.c3
-rw-r--r--src/examples/emotion/emotion_border_example.c3
-rw-r--r--src/examples/emotion/emotion_generic_example.c3
-rw-r--r--src/examples/emotion/emotion_generic_subtitle_example.c3
-rw-r--r--src/examples/emotion/emotion_signals_example.c3
5 files changed, 0 insertions, 15 deletions
diff --git a/src/examples/emotion/emotion_basic_example.c b/src/examples/emotion/emotion_basic_example.c
index 8f470041a7..04df0e802c 100644
--- a/src/examples/emotion/emotion_basic_example.c
+++ b/src/examples/emotion/emotion_basic_example.c
@@ -1,9 +1,6 @@
1//Compile with: 1//Compile with:
2// gcc -o emotion_basic_example emotion_basic_example.c `pkg-config --libs --cflags emotion evas ecore ecore-evas eo` 2// gcc -o emotion_basic_example emotion_basic_example.c `pkg-config --libs --cflags emotion evas ecore ecore-evas eo`
3 3
4#ifndef EFL_EO_API_SUPPORT
5# define EFL_EO_API_SUPPORT
6#endif
7#ifndef EFL_BETA_API_SUPPORT 4#ifndef EFL_BETA_API_SUPPORT
8# define EFL_BETA_API_SUPPORT 5# define EFL_BETA_API_SUPPORT
9#endif 6#endif
diff --git a/src/examples/emotion/emotion_border_example.c b/src/examples/emotion/emotion_border_example.c
index 7a24b8dae5..8ece2d298a 100644
--- a/src/examples/emotion/emotion_border_example.c
+++ b/src/examples/emotion/emotion_border_example.c
@@ -1,8 +1,5 @@
1//Compile with: 1//Compile with:
2// gcc -o emotion_border_example emotion_border_example.c `pkg-config --libs --cflags emotion evas ecore ecore-evas eina eo` 2// gcc -o emotion_border_example emotion_border_example.c `pkg-config --libs --cflags emotion evas ecore ecore-evas eina eo`
3#ifndef EFL_EO_API_SUPPORT
4# define EFL_EO_API_SUPPORT
5#endif
6#ifndef EFL_BETA_API_SUPPORT 3#ifndef EFL_BETA_API_SUPPORT
7# define EFL_BETA_API_SUPPORT 4# define EFL_BETA_API_SUPPORT
8#endif 5#endif
diff --git a/src/examples/emotion/emotion_generic_example.c b/src/examples/emotion/emotion_generic_example.c
index 0bd722a0cd..4ac996f33a 100644
--- a/src/examples/emotion/emotion_generic_example.c
+++ b/src/examples/emotion/emotion_generic_example.c
@@ -1,8 +1,5 @@
1//Compile with: 1//Compile with:
2// gcc -o emotion_generic_example emotion_generic_example.c `pkg-config --libs --cflags emotion evas ecore ecore-evas eina eo` 2// gcc -o emotion_generic_example emotion_generic_example.c `pkg-config --libs --cflags emotion evas ecore ecore-evas eina eo`
3#ifndef EFL_EO_API_SUPPORT
4# define EFL_EO_API_SUPPORT
5#endif
6#ifndef EFL_BETA_API_SUPPORT 3#ifndef EFL_BETA_API_SUPPORT
7# define EFL_BETA_API_SUPPORT 4# define EFL_BETA_API_SUPPORT
8#endif 5#endif
diff --git a/src/examples/emotion/emotion_generic_subtitle_example.c b/src/examples/emotion/emotion_generic_subtitle_example.c
index 07c8973641..40543f44b2 100644
--- a/src/examples/emotion/emotion_generic_subtitle_example.c
+++ b/src/examples/emotion/emotion_generic_subtitle_example.c
@@ -1,9 +1,6 @@
1//Compile with: 1//Compile with:
2// gcc -o emotion_generic_subtitle_example emotion_generic_subtitle_example.c `pkg-config --libs --cflags emotion evas ecore ecore-evas eo` 2// gcc -o emotion_generic_subtitle_example emotion_generic_subtitle_example.c `pkg-config --libs --cflags emotion evas ecore ecore-evas eo`
3 3
4#ifndef EFL_EO_API_SUPPORT
5# define EFL_EO_API_SUPPORT
6#endif
7#ifndef EFL_BETA_API_SUPPORT 4#ifndef EFL_BETA_API_SUPPORT
8# define EFL_BETA_API_SUPPORT 5# define EFL_BETA_API_SUPPORT
9#endif 6#endif
diff --git a/src/examples/emotion/emotion_signals_example.c b/src/examples/emotion/emotion_signals_example.c
index b5dc6257c7..dbc7a5b969 100644
--- a/src/examples/emotion/emotion_signals_example.c
+++ b/src/examples/emotion/emotion_signals_example.c
@@ -1,9 +1,6 @@
1//Compile with: 1//Compile with:
2// gcc -o emotion_signals_example emotion_signals_example.c `pkg-config --libs --cflags emotion evas ecore ecore-evas eo` 2// gcc -o emotion_signals_example emotion_signals_example.c `pkg-config --libs --cflags emotion evas ecore ecore-evas eo`
3 3
4#ifndef EFL_EO_API_SUPPORT
5# define EFL_EO_API_SUPPORT
6#endif
7#ifndef EFL_BETA_API_SUPPORT 4#ifndef EFL_BETA_API_SUPPORT
8# define EFL_BETA_API_SUPPORT 5# define EFL_BETA_API_SUPPORT
9#endif 6#endif