efl_ui_focus_parent_provider_gen: remove all legacy usage from eo files
this takes the current generated output from eolian for legacy code in efl 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/D8210
This commit is contained in:
parent
5ae716f7b3
commit
bbaafb5314
|
@ -156,7 +156,6 @@ elm_private_eolian_files = \
|
||||||
lib/elementary/efl_ui_win_part.eo \
|
lib/elementary/efl_ui_win_part.eo \
|
||||||
lib/elementary/efl_ui_focus_parent_provider.eo \
|
lib/elementary/efl_ui_focus_parent_provider.eo \
|
||||||
lib/elementary/efl_ui_focus_parent_provider_standard.eo \
|
lib/elementary/efl_ui_focus_parent_provider_standard.eo \
|
||||||
lib/elementary/efl_ui_focus_parent_provider_gen.eo \
|
|
||||||
lib/elementary/efl_ui_state_model.eo \
|
lib/elementary/efl_ui_state_model.eo \
|
||||||
tests/elementary/focus_test.eo \
|
tests/elementary/focus_test.eo \
|
||||||
tests/elementary/focus_test_sub_main.eo \
|
tests/elementary/focus_test_sub_main.eo \
|
||||||
|
@ -396,6 +395,7 @@ lib/elementary/elm_widget_item_container_eo.c \
|
||||||
lib/elementary/elm_widget_item_eo.c \
|
lib/elementary/elm_widget_item_eo.c \
|
||||||
lib/elementary/elm_widget_item_eo.legacy.c \
|
lib/elementary/elm_widget_item_eo.legacy.c \
|
||||||
lib/elementary/elm_widget_item_static_focus_eo.c \
|
lib/elementary/elm_widget_item_static_focus_eo.c \
|
||||||
|
lib/elementary/efl_ui_focus_parent_provider_gen_eo.c \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
|
||||||
elm_legacy_eo_headers = \
|
elm_legacy_eo_headers = \
|
||||||
|
@ -615,6 +615,7 @@ lib/elementary/elm_widget_item_eo.h \
|
||||||
lib/elementary/elm_widget_item_eo.legacy.h \
|
lib/elementary/elm_widget_item_eo.legacy.h \
|
||||||
lib/elementary/elm_widget_item_static_focus_eo.h \
|
lib/elementary/elm_widget_item_static_focus_eo.h \
|
||||||
lib/elementary/elm_widget_item_static_focus_eo.legacy.h \
|
lib/elementary/elm_widget_item_static_focus_eo.legacy.h \
|
||||||
|
lib/elementary/efl_ui_focus_parent_provider_gen_eo.h \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
#include <Elementary.h>
|
#include <Elementary.h>
|
||||||
#include "elm_priv.h"
|
#include "elm_priv.h"
|
||||||
#include "efl_ui_focus_parent_provider_gen.eo.h"
|
#include "efl_ui_focus_parent_provider_gen_eo.h"
|
||||||
#include "efl_ui_focus_composition_adapter.eo.h"
|
#include "efl_ui_focus_composition_adapter.eo.h"
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
|
@ -119,4 +119,4 @@ _efl_ui_focus_parent_provider_gen_item_fetch(Eo *obj EINA_UNUSED, Efl_Ui_Focus_P
|
||||||
return item;
|
return item;
|
||||||
}
|
}
|
||||||
|
|
||||||
#include "efl_ui_focus_parent_provider_gen.eo.c"
|
#include "efl_ui_focus_parent_provider_gen_eo.c"
|
||||||
|
|
|
@ -1,27 +0,0 @@
|
||||||
class @beta Efl.Ui.Focus.Parent_Provider_Gen extends Efl.Object implements Efl.Ui.Focus.Parent_Provider {
|
|
||||||
[[EFL UI Focus Parent Provider Gen class]]
|
|
||||||
methods {
|
|
||||||
@property content_item_map {
|
|
||||||
[[Content item map property]]
|
|
||||||
values {
|
|
||||||
map : hash<Efl.Ui.Widget, Elm.Widget.Item>; [[Item map]]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@property container {
|
|
||||||
[[Container property]]
|
|
||||||
values {
|
|
||||||
container : Efl.Ui.Widget; [[Container widget]]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
item_fetch {
|
|
||||||
[[Fetch the item where the item is a subchild from]]
|
|
||||||
params {
|
|
||||||
widget : Efl.Ui.Widget;
|
|
||||||
}
|
|
||||||
return : Efl.Ui.Widget;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
implements {
|
|
||||||
Efl.Ui.Focus.Parent_Provider.find_logical_parent;
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -0,0 +1,60 @@
|
||||||
|
|
||||||
|
void _efl_ui_focus_parent_provider_gen_content_item_map_set(Eo *obj, Efl_Ui_Focus_Parent_Provider_Gen_Data *pd, Eina_Hash *map);
|
||||||
|
|
||||||
|
EOAPI EFL_VOID_FUNC_BODYV(efl_ui_focus_parent_provider_gen_content_item_map_set, EFL_FUNC_CALL(map), Eina_Hash *map);
|
||||||
|
|
||||||
|
Eina_Hash *_efl_ui_focus_parent_provider_gen_content_item_map_get(const Eo *obj, Efl_Ui_Focus_Parent_Provider_Gen_Data *pd);
|
||||||
|
|
||||||
|
EOAPI EFL_FUNC_BODY_CONST(efl_ui_focus_parent_provider_gen_content_item_map_get, Eina_Hash *, NULL);
|
||||||
|
|
||||||
|
void _efl_ui_focus_parent_provider_gen_container_set(Eo *obj, Efl_Ui_Focus_Parent_Provider_Gen_Data *pd, Efl_Ui_Widget *container);
|
||||||
|
|
||||||
|
EOAPI EFL_VOID_FUNC_BODYV(efl_ui_focus_parent_provider_gen_container_set, EFL_FUNC_CALL(container), Efl_Ui_Widget *container);
|
||||||
|
|
||||||
|
Efl_Ui_Widget *_efl_ui_focus_parent_provider_gen_container_get(const Eo *obj, Efl_Ui_Focus_Parent_Provider_Gen_Data *pd);
|
||||||
|
|
||||||
|
EOAPI EFL_FUNC_BODY_CONST(efl_ui_focus_parent_provider_gen_container_get, Efl_Ui_Widget *, NULL);
|
||||||
|
|
||||||
|
Efl_Ui_Widget *_efl_ui_focus_parent_provider_gen_item_fetch(Eo *obj, Efl_Ui_Focus_Parent_Provider_Gen_Data *pd, Efl_Ui_Widget *widget);
|
||||||
|
|
||||||
|
EOAPI EFL_FUNC_BODYV(efl_ui_focus_parent_provider_gen_item_fetch, Efl_Ui_Widget *, NULL, EFL_FUNC_CALL(widget), Efl_Ui_Widget *widget);
|
||||||
|
|
||||||
|
Efl_Ui_Focus_Object *_efl_ui_focus_parent_provider_gen_efl_ui_focus_parent_provider_find_logical_parent(Eo *obj, Efl_Ui_Focus_Parent_Provider_Gen_Data *pd, Efl_Ui_Focus_Object *widget);
|
||||||
|
|
||||||
|
|
||||||
|
static Eina_Bool
|
||||||
|
_efl_ui_focus_parent_provider_gen_class_initializer(Efl_Class *klass)
|
||||||
|
{
|
||||||
|
const Efl_Object_Ops *opsp = NULL;
|
||||||
|
|
||||||
|
const Efl_Object_Property_Reflection_Ops *ropsp = NULL;
|
||||||
|
|
||||||
|
#ifndef EFL_UI_FOCUS_PARENT_PROVIDER_GEN_EXTRA_OPS
|
||||||
|
#define EFL_UI_FOCUS_PARENT_PROVIDER_GEN_EXTRA_OPS
|
||||||
|
#endif
|
||||||
|
|
||||||
|
EFL_OPS_DEFINE(ops,
|
||||||
|
EFL_OBJECT_OP_FUNC(efl_ui_focus_parent_provider_gen_content_item_map_set, _efl_ui_focus_parent_provider_gen_content_item_map_set),
|
||||||
|
EFL_OBJECT_OP_FUNC(efl_ui_focus_parent_provider_gen_content_item_map_get, _efl_ui_focus_parent_provider_gen_content_item_map_get),
|
||||||
|
EFL_OBJECT_OP_FUNC(efl_ui_focus_parent_provider_gen_container_set, _efl_ui_focus_parent_provider_gen_container_set),
|
||||||
|
EFL_OBJECT_OP_FUNC(efl_ui_focus_parent_provider_gen_container_get, _efl_ui_focus_parent_provider_gen_container_get),
|
||||||
|
EFL_OBJECT_OP_FUNC(efl_ui_focus_parent_provider_gen_item_fetch, _efl_ui_focus_parent_provider_gen_item_fetch),
|
||||||
|
EFL_OBJECT_OP_FUNC(efl_ui_focus_parent_provider_find_logical_parent, _efl_ui_focus_parent_provider_gen_efl_ui_focus_parent_provider_find_logical_parent),
|
||||||
|
EFL_UI_FOCUS_PARENT_PROVIDER_GEN_EXTRA_OPS
|
||||||
|
);
|
||||||
|
opsp = &ops;
|
||||||
|
|
||||||
|
return efl_class_functions_set(klass, opsp, ropsp);
|
||||||
|
}
|
||||||
|
|
||||||
|
static const Efl_Class_Description _efl_ui_focus_parent_provider_gen_class_desc = {
|
||||||
|
EO_VERSION,
|
||||||
|
"Efl.Ui.Focus.Parent_Provider_Gen",
|
||||||
|
EFL_CLASS_TYPE_REGULAR,
|
||||||
|
sizeof(Efl_Ui_Focus_Parent_Provider_Gen_Data),
|
||||||
|
_efl_ui_focus_parent_provider_gen_class_initializer,
|
||||||
|
NULL,
|
||||||
|
NULL
|
||||||
|
};
|
||||||
|
|
||||||
|
EFL_DEFINE_CLASS(efl_ui_focus_parent_provider_gen_class_get, &_efl_ui_focus_parent_provider_gen_class_desc, EFL_OBJECT_CLASS, EFL_UI_FOCUS_PARENT_PROVIDER_INTERFACE, NULL);
|
|
@ -0,0 +1,78 @@
|
||||||
|
#ifndef _EFL_UI_FOCUS_PARENT_PROVIDER_GEN_EO_H_
|
||||||
|
#define _EFL_UI_FOCUS_PARENT_PROVIDER_GEN_EO_H_
|
||||||
|
|
||||||
|
#ifndef _EFL_UI_FOCUS_PARENT_PROVIDER_GEN_EO_CLASS_TYPE
|
||||||
|
#define _EFL_UI_FOCUS_PARENT_PROVIDER_GEN_EO_CLASS_TYPE
|
||||||
|
|
||||||
|
typedef Eo Efl_Ui_Focus_Parent_Provider_Gen;
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef _EFL_UI_FOCUS_PARENT_PROVIDER_GEN_EO_TYPES
|
||||||
|
#define _EFL_UI_FOCUS_PARENT_PROVIDER_GEN_EO_TYPES
|
||||||
|
|
||||||
|
|
||||||
|
#endif
|
||||||
|
#ifdef EFL_BETA_API_SUPPORT
|
||||||
|
/** EFL UI Focus Parent Provider Gen class
|
||||||
|
*
|
||||||
|
* @ingroup Efl_Ui_Focus_Parent_Provider_Gen
|
||||||
|
*/
|
||||||
|
#define EFL_UI_FOCUS_PARENT_PROVIDER_GEN_CLASS efl_ui_focus_parent_provider_gen_class_get()
|
||||||
|
|
||||||
|
EWAPI const Efl_Class *efl_ui_focus_parent_provider_gen_class_get(void);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Content item map property
|
||||||
|
*
|
||||||
|
* @param[in] obj The object.
|
||||||
|
* @param[in] map Item map
|
||||||
|
*
|
||||||
|
* @ingroup Efl_Ui_Focus_Parent_Provider_Gen
|
||||||
|
*/
|
||||||
|
EOAPI void efl_ui_focus_parent_provider_gen_content_item_map_set(Eo *obj, Eina_Hash *map);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Content item map property
|
||||||
|
*
|
||||||
|
* @param[in] obj The object.
|
||||||
|
*
|
||||||
|
* @return Item map
|
||||||
|
*
|
||||||
|
* @ingroup Efl_Ui_Focus_Parent_Provider_Gen
|
||||||
|
*/
|
||||||
|
EOAPI Eina_Hash *efl_ui_focus_parent_provider_gen_content_item_map_get(const Eo *obj);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Container property
|
||||||
|
*
|
||||||
|
* @param[in] obj The object.
|
||||||
|
* @param[in] container Container widget
|
||||||
|
*
|
||||||
|
* @ingroup Efl_Ui_Focus_Parent_Provider_Gen
|
||||||
|
*/
|
||||||
|
EOAPI void efl_ui_focus_parent_provider_gen_container_set(Eo *obj, Efl_Ui_Widget *container);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Container property
|
||||||
|
*
|
||||||
|
* @param[in] obj The object.
|
||||||
|
*
|
||||||
|
* @return Container widget
|
||||||
|
*
|
||||||
|
* @ingroup Efl_Ui_Focus_Parent_Provider_Gen
|
||||||
|
*/
|
||||||
|
EOAPI Efl_Ui_Widget *efl_ui_focus_parent_provider_gen_container_get(const Eo *obj);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Fetch the item where the item is a subchild from
|
||||||
|
*
|
||||||
|
* @param[in] obj The object.
|
||||||
|
* @param[in] widget
|
||||||
|
*
|
||||||
|
* @ingroup Efl_Ui_Focus_Parent_Provider_Gen
|
||||||
|
*/
|
||||||
|
EOAPI Efl_Ui_Widget *efl_ui_focus_parent_provider_gen_item_fetch(Eo *obj, Efl_Ui_Widget *widget);
|
||||||
|
#endif /* EFL_BETA_API_SUPPORT */
|
||||||
|
|
||||||
|
#endif
|
|
@ -13,7 +13,7 @@
|
||||||
#include "elm_priv.h"
|
#include "elm_priv.h"
|
||||||
#include "elm_widget_gengrid.h"
|
#include "elm_widget_gengrid.h"
|
||||||
#include "elm_interface_scrollable.h"
|
#include "elm_interface_scrollable.h"
|
||||||
#include "efl_ui_focus_parent_provider_gen.eo.h"
|
#include "efl_ui_focus_parent_provider_gen_eo.h"
|
||||||
#include "efl_ui_focus_composition_adapter.eo.h"
|
#include "efl_ui_focus_composition_adapter.eo.h"
|
||||||
#include "elm_gengrid_item_eo.h"
|
#include "elm_gengrid_item_eo.h"
|
||||||
#include "elm_gengrid_pan_eo.h"
|
#include "elm_gengrid_pan_eo.h"
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
#include "elm_priv.h"
|
#include "elm_priv.h"
|
||||||
#include "elm_widget_genlist.h"
|
#include "elm_widget_genlist.h"
|
||||||
#include "elm_interface_scrollable.h"
|
#include "elm_interface_scrollable.h"
|
||||||
#include "efl_ui_focus_parent_provider_gen.eo.h"
|
#include "efl_ui_focus_parent_provider_gen_eo.h"
|
||||||
#include "efl_ui_focus_composition_adapter.eo.h"
|
#include "efl_ui_focus_composition_adapter.eo.h"
|
||||||
#include "elm_genlist_item_eo.h"
|
#include "elm_genlist_item_eo.h"
|
||||||
#include "elm_genlist_pan_eo.h"
|
#include "elm_genlist_pan_eo.h"
|
||||||
|
|
|
@ -232,7 +232,6 @@ priv_eo_files = [
|
||||||
'efl_ui_focus_composition_adapter.eo',
|
'efl_ui_focus_composition_adapter.eo',
|
||||||
'efl_ui_focus_parent_provider.eo',
|
'efl_ui_focus_parent_provider.eo',
|
||||||
'efl_ui_focus_parent_provider_standard.eo',
|
'efl_ui_focus_parent_provider_standard.eo',
|
||||||
'efl_ui_focus_parent_provider_gen.eo',
|
|
||||||
'efl_ui_state_model.eo',
|
'efl_ui_state_model.eo',
|
||||||
'efl_ui_selection_manager.eo',
|
'efl_ui_selection_manager.eo',
|
||||||
'efl_datetime_manager.eo',
|
'efl_datetime_manager.eo',
|
||||||
|
@ -810,6 +809,7 @@ elementary_pub_headers = [
|
||||||
'elm_widget_item_eo.legacy.h',
|
'elm_widget_item_eo.legacy.h',
|
||||||
'elm_widget_item_static_focus_eo.h',
|
'elm_widget_item_static_focus_eo.h',
|
||||||
'elm_widget_item_static_focus_eo.legacy.h',
|
'elm_widget_item_static_focus_eo.legacy.h',
|
||||||
|
'efl_ui_focus_parent_provider_gen_eo.h',
|
||||||
]
|
]
|
||||||
|
|
||||||
elementary_header_src = [
|
elementary_header_src = [
|
||||||
|
|
Loading…
Reference in New Issue