efl/src/lib/emotion
Xavi Artigas 6b7346b7b2 Remove individual class BETA guards
Summary:
Eolian adds a per-class BETA guard (like EFL_UI_WIN_BETA) to any method tagged
as @beta. This means that any app (and the EFL code) wanting to use BETA features
has to enable them class by class, which is cumbersome.
This commit replaces the individual guards with the global EFL_BETA_API_SUPPORT
guard, so apps only need to define one symbol to access BETA features.

Any usage of the per-class guards has been removed from the EFL code and examples.
When building EFL the global guard is defined by configure, so all EFL methods
already have access to BETA API.
Efl_Core.h and Efl_Ui.h no longer define EFL_BETA_API_SUPPORT. Apps wanting to
use BETA API have to define this symbol before including any EFL header
(It has been added to the examples requiring it).

Test Plan:
make && make check && make examples still work, but there's a lot less #defines
in the code

Reviewers: zmike, bu5hm4n, q66

Reviewed By: q66

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Maniphest Tasks: T6788

Differential Revision: https://phab.enlightenment.org/D7924
2019-02-13 18:09:17 +01:00
..
Emotion.h all: Simplify definition of EAPI 2018-01-18 18:04:03 +09:00
Emotion_Eo.h emotion: convert Emotion_Object into Efl.Canvas.Video 2016-09-21 11:04:34 -07:00
Emotion_Legacy.h emotion: convert Emotion_Object into Efl.Canvas.Video 2016-09-21 11:04:34 -07:00
efl_canvas_video.eo efl: convert all classes to the new eolian syntax 2019-01-18 16:31:26 +01:00
emotion_main.c emotion: lock pending events and pending objects 2015-09-21 23:24:30 +02:00
emotion_modules.c emotion modules - warn - fix possible uninit var 2018-11-09 11:44:00 +00:00
emotion_modules.h all: Simplify definition of EAPI 2018-01-18 18:04:03 +09:00
emotion_private.h Fix sed error that changed "video" to "videfl" 2017-04-17 17:06:28 -05:00
emotion_smart.c Remove individual class BETA guards 2019-02-13 18:09:17 +01:00
emotion_webcam.c efl: Reset ecore event types on init 2017-12-19 11:14:37 +09:00
meson.build meson: use eolian_gen with -S 2018-12-03 19:00:26 +01:00