diff options
author | Mike Blumenkrantz <zmike@samsung.com> | 2019-03-05 17:00:37 -0500 |
---|---|---|
committer | Cedric BAIL <cedric.bail@free.fr> | 2019-03-06 13:03:06 -0800 |
commit | 1cef796c51fdb8e4cf167bf3b2ecd58f6326a579 (patch) | |
tree | d82a537c0472e55d9736dadbca9915522d63c543 /src/lib/elementary/efl_ui_bg_legacy_eo.c | |
parent | b7aff699c1489c8dd9bda416642e28e92e43b653 (diff) | |
download | efl-1cef796c51fdb8e4cf167bf3b2ecd58f6326a579.tar.gz |
elm_box: remove all legacy usage from eo files
this takes the current generated output from eolian for legacy code in
evas and adds it to the tree, then removes legacy references from the
corresponding eo files. in the case where the entire eo file was for
a legacy object, that eo file has been removed from the tree
ref T7724
Reviewed-by: Cedric BAIL <cedric.bail@free.fr>
Differential Revision: https://phab.enlightenment.org/D8133
Diffstat (limited to 'src/lib/elementary/efl_ui_bg_legacy_eo.c')
-rw-r--r-- | src/lib/elementary/efl_ui_bg_legacy_eo.c | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/src/lib/elementary/efl_ui_bg_legacy_eo.c b/src/lib/elementary/efl_ui_bg_legacy_eo.c new file mode 100644 index 0000000000..9cd23ff42f --- /dev/null +++ b/src/lib/elementary/efl_ui_bg_legacy_eo.c @@ -0,0 +1,35 @@ + +Efl_Object *_efl_ui_bg_legacy_efl_object_constructor(Eo *obj, void *pd); + + +static Eina_Bool +_efl_ui_bg_legacy_class_initializer(Efl_Class *klass) +{ + const Efl_Object_Ops *opsp = NULL; + + const Efl_Object_Property_Reflection_Ops *ropsp = NULL; + +#ifndef EFL_UI_BG_LEGACY_EXTRA_OPS +#define EFL_UI_BG_LEGACY_EXTRA_OPS +#endif + + EFL_OPS_DEFINE(ops, + EFL_OBJECT_OP_FUNC(efl_constructor, _efl_ui_bg_legacy_efl_object_constructor), + EFL_UI_BG_LEGACY_EXTRA_OPS + ); + opsp = &ops; + + return efl_class_functions_set(klass, opsp, ropsp); +} + +static const Efl_Class_Description _efl_ui_bg_legacy_class_desc = { + EO_VERSION, + "Efl.Ui.Bg_Legacy", + EFL_CLASS_TYPE_REGULAR, + 0, + _efl_ui_bg_legacy_class_initializer, + _efl_ui_bg_legacy_class_constructor, + NULL +}; + +EFL_DEFINE_CLASS(efl_ui_bg_legacy_class_get, &_efl_ui_bg_legacy_class_desc, EFL_UI_BG_CLASS, EFL_UI_LEGACY_INTERFACE, NULL); |