efl/src/lib/efl
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
..
cxx efl: major rewrite of efl_part. 2018-05-24 16:02:18 -07:00
interfaces Remove individual class BETA guards 2019-02-13 18:09:17 +01:00
.gitignore CMake: rework to use some helper macros. 2017-01-23 18:23:40 +01:00
Efl.h efl_ui : rename model connect and factory connect to bind property and factory. 2019-02-11 11:06:13 -08:00
Efl.hh efl: major rewrite of efl_part. 2018-05-24 16:02:18 -07:00
Efl_Config.h.cmake cmake: sync EFL_EO_API_SUPPORT definition with autotools. 2017-02-03 12:36:50 -02:00
Efl_Config.h.in
Efl_MVVM_Common.h efl: add a factory Eina_Error and rename the file to be more on point with its purpose. 2019-01-09 11:02:10 -08:00
config.h.cmake cmake: add ector. 2017-01-27 10:56:02 -02:00
meson.build efl: add a factory Eina_Error and rename the file to be more on point with its purpose. 2019-01-09 11:02:10 -08:00