summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2019-03-05 17:00:37 -0500
committerCedric BAIL <cedric.bail@free.fr>2019-03-07 14:15:29 -0800
commit3c997ee4519f761dbd418c1470b3544421d91a56 (patch)
treeafa872973b1844a7bf03493c5843edd58c085cd8
parent641de5be242116a68ae5293b7e1f7167342bbccd (diff)
elm_hover: 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/D8175
-rw-r--r--src/Makefile_Elementary.am5
-rw-r--r--src/lib/elementary/elc_combobox.c2
-rw-r--r--src/lib/elementary/elm_hover.c2
-rw-r--r--src/lib/elementary/elm_hover.eo80
-rw-r--r--src/lib/elementary/elm_hover_eo.c105
-rw-r--r--src/lib/elementary/elm_hover_eo.h112
-rw-r--r--src/lib/elementary/elm_hover_eo.legacy.c24
-rw-r--r--src/lib/elementary/elm_hover_eo.legacy.h88
-rw-r--r--src/lib/elementary/elm_hover_legacy.h2
-rw-r--r--src/lib/elementary/elm_widget_hover.h2
-rw-r--r--src/lib/elementary/elm_widget_menu.h2
-rw-r--r--src/lib/elementary/meson.build3
12 files changed, 340 insertions, 87 deletions
diff --git a/src/Makefile_Elementary.am b/src/Makefile_Elementary.am
index 9d173f4..473cde1 100644
--- a/src/Makefile_Elementary.am
+++ b/src/Makefile_Elementary.am
@@ -187,7 +187,6 @@ elm_private_eolian_files = \
187elm_legacy_eolian_files = \ 187elm_legacy_eolian_files = \
188 lib/elementary/efl_ui_clock_legacy.eo \ 188 lib/elementary/efl_ui_clock_legacy.eo \
189 lib/elementary/elm_interface_fileselector.eo \ 189 lib/elementary/elm_interface_fileselector.eo \
190 lib/elementary/elm_hover.eo \
191 lib/elementary/elm_index.eo \ 190 lib/elementary/elm_index.eo \
192 lib/elementary/elm_label.eo \ 191 lib/elementary/elm_label.eo \
193 lib/elementary/elm_list.eo \ 192 lib/elementary/elm_list.eo \
@@ -356,6 +355,8 @@ lib/elementary/elm_glview_eo.legacy.c \
356lib/elementary/elm_glview_eo.c \ 355lib/elementary/elm_glview_eo.c \
357lib/elementary/elm_grid_eo.legacy.c \ 356lib/elementary/elm_grid_eo.legacy.c \
358lib/elementary/elm_grid_eo.c \ 357lib/elementary/elm_grid_eo.c \
358lib/elementary/elm_hover_eo.legacy.c \
359lib/elementary/elm_hover_eo.c \
359lib/elementary/elm_hoversel_eo.c \ 360lib/elementary/elm_hoversel_eo.c \
360lib/elementary/elm_hoversel_item_eo.c \ 361lib/elementary/elm_hoversel_item_eo.c \
361lib/elementary/elm_hoversel_item_eo.legacy.c 362lib/elementary/elm_hoversel_item_eo.legacy.c
@@ -471,6 +472,8 @@ lib/elementary/elm_glview_eo.h \
471lib/elementary/elm_glview_eo.legacy.h \ 472lib/elementary/elm_glview_eo.legacy.h \
472lib/elementary/elm_grid_eo.h \ 473lib/elementary/elm_grid_eo.h \
473lib/elementary/elm_grid_eo.legacy.h \ 474lib/elementary/elm_grid_eo.legacy.h \
475lib/elementary/elm_hover_eo.h \
476lib/elementary/elm_hover_eo.legacy.h \
474lib/elementary/elm_hoversel_eo.h \ 477lib/elementary/elm_hoversel_eo.h \
475lib/elementary/elm_hoversel_eo.legacy.h \ 478lib/elementary/elm_hoversel_eo.legacy.h \
476lib/elementary/elm_hoversel_item_eo.h \ 479lib/elementary/elm_hoversel_item_eo.h \
diff --git a/src/lib/elementary/elc_combobox.c b/src/lib/elementary/elc_combobox.c
index c2c3c65..3c17d46 100644
--- a/src/lib/elementary/elc_combobox.c
+++ b/src/lib/elementary/elc_combobox.c
@@ -12,7 +12,7 @@
12#include "elm_widget_combobox.h" 12#include "elm_widget_combobox.h"
13#include "elm_entry_eo.h" 13#include "elm_entry_eo.h"
14#include "elm_genlist_eo.h" 14#include "elm_genlist_eo.h"
15#include "elm_hover.eo.h" 15#include "elm_hover_eo.h"
16 16
17EOAPI void elm_obj_combobox_hover_begin(Eo *obj); 17EOAPI void elm_obj_combobox_hover_begin(Eo *obj);
18EOAPI void elm_obj_combobox_hover_end(Eo *obj); 18EOAPI void elm_obj_combobox_hover_end(Eo *obj);
diff --git a/src/lib/elementary/elm_hover.c b/src/lib/elementary/elm_hover.c
index 660a728..e831ca5 100644
--- a/src/lib/elementary/elm_hover.c
+++ b/src/lib/elementary/elm_hover.c
@@ -883,4 +883,4 @@ ELM_PART_OVERRIDE_CONTENT_UNSET(elm_hover, ELM_HOVER, Elm_Hover_Data)
883 ELM_LAYOUT_SIZING_EVAL_OPS(elm_hover), \ 883 ELM_LAYOUT_SIZING_EVAL_OPS(elm_hover), \
884 _ELM_LAYOUT_ALIASES_OPS(elm_hover, content) 884 _ELM_LAYOUT_ALIASES_OPS(elm_hover, content)
885 885
886#include "elm_hover.eo.c" 886#include "elm_hover_eo.c"
diff --git a/src/lib/elementary/elm_hover.eo b/src/lib/elementary/elm_hover.eo
deleted file mode 100644
index 75b62d0..0000000
--- a/src/lib/elementary/elm_hover.eo
+++ /dev/null
@@ -1,80 +0,0 @@
1enum Elm.Hover.Axis
2{
3 [[The orientation axis for the hover object]]
4 none, [[ELM_HOVER_AXIS_NONE -- no preferred orientation.]]
5 horizontal, [[ELM_HOVER_AXIS_HORIZONTAL -- horizontal.]]
6 vertical, [[ELM_HOVER_AXIS_VERTICAL -- vertical.]]
7 both [[ELM_HOVER_AXIS_BOTH -- both.]]
8}
9
10class Elm.Hover extends Efl.Ui.Layout_Base implements Efl.Ui.Focus.Layer, Efl.Ui.Clickable,
11 Efl.Access.Widget.Action, Efl.Ui.Legacy
12{
13 [[Elementary hover class]]
14 legacy_prefix: elm_hover;
15 eo_prefix: elm_obj_hover;
16 event_prefix: elm_hover;
17 methods {
18 @property target {
19 set {
20 [[Sets the target object for the hover.
21
22 This function will cause the hover to be centered on the
23 target object.
24 ]]
25 }
26 get {
27 [[Get the target object for the hover.]]
28 }
29 values {
30 target: Efl.Canvas.Object; [[The target object.]]
31 }
32 }
33 best_content_location_get @const {
34 [[Returns the best swallow location for content in the hover.
35
36 Best is defined here as the location at which there is the most
37 available space.
38
39 $pref_axis may be either #ELM_HOVER_AXIS_NONE (for no preferred
40 orientation), #ELM_HOVER_AXIS_HORIZONTAL, #ELM_HOVER_AXIS_VERTICAL
41 or #ELM_HOVER_AXIS_BOTH.
42
43 If #ELM_HOVER_AXIS_HORIZONTAL is chosen the returned position
44 will necessarily be along the horizontal axis("left" or "right").
45 If #ELM_HOVER_AXIS_VERTICAL is chosen the returned position will
46 necessarily be along the vertical axis("top" or "bottom").
47 Choosing #ELM_HOVER_AXIS_BOTH or #ELM_HOVER_AXIS_NONE has the
48 same effect and the returned position may be in either axis.
49
50 See also \@ref elm_object_part_content_set.
51 ]]
52 return: string; [[Swallow location]]
53 params {
54 @in pref_axis: Elm.Hover.Axis; [[The preferred orientation axis
55 for the hover object to use]]
56 }
57 }
58 dismiss {
59 [[Dismiss a hover object]]
60 }
61 }
62 implements {
63 class.constructor;
64 Efl.Object.constructor;
65 Efl.Gfx.Entity.visible { set; }
66 Efl.Gfx.Entity.position { set; }
67 Efl.Gfx.Entity.size { set; }
68 Efl.Ui.Widget.theme_apply;
69 Efl.Ui.Widget.widget_sub_object_add;
70 Efl.Ui.Widget.widget_parent { get; set; }
71 Efl.Ui.Widget.widget_sub_object_del;
72 Efl.Access.Widget.Action.elm_actions { get; }
73 Efl.Access.Object.state_set { get; }
74 Efl.Part.part_get;
75 }
76 events {
77 smart,changed: string; [[Called when hover changed]]
78 dismissed: void; [[Called when hover was dismissed]]
79 }
80}
diff --git a/src/lib/elementary/elm_hover_eo.c b/src/lib/elementary/elm_hover_eo.c
new file mode 100644
index 0000000..41abfd3
--- /dev/null
+++ b/src/lib/elementary/elm_hover_eo.c
@@ -0,0 +1,105 @@
1EWAPI const Efl_Event_Description _ELM_HOVER_EVENT_SMART_CHANGED =
2 EFL_EVENT_DESCRIPTION("smart,changed");
3EWAPI const Efl_Event_Description _ELM_HOVER_EVENT_DISMISSED =
4 EFL_EVENT_DESCRIPTION("dismissed");
5
6void _elm_hover_target_set(Eo *obj, Elm_Hover_Data *pd, Efl_Canvas_Object *target);
7
8EOAPI EFL_VOID_FUNC_BODYV(elm_obj_hover_target_set, EFL_FUNC_CALL(target), Efl_Canvas_Object *target);
9
10Efl_Canvas_Object *_elm_hover_target_get(const Eo *obj, Elm_Hover_Data *pd);
11
12EOAPI EFL_FUNC_BODY_CONST(elm_obj_hover_target_get, Efl_Canvas_Object *, NULL);
13
14const char *_elm_hover_best_content_location_get(const Eo *obj, Elm_Hover_Data *pd, Elm_Hover_Axis pref_axis);
15
16EOAPI EFL_FUNC_BODYV_CONST(elm_obj_hover_best_content_location_get, const char *, NULL, EFL_FUNC_CALL(pref_axis), Elm_Hover_Axis pref_axis);
17
18void _elm_hover_dismiss(Eo *obj, Elm_Hover_Data *pd);
19
20EOAPI EFL_VOID_FUNC_BODY(elm_obj_hover_dismiss);
21
22Efl_Object *_elm_hover_efl_object_constructor(Eo *obj, Elm_Hover_Data *pd);
23
24
25void _elm_hover_efl_gfx_entity_visible_set(Eo *obj, Elm_Hover_Data *pd, Eina_Bool v);
26
27
28void _elm_hover_efl_gfx_entity_position_set(Eo *obj, Elm_Hover_Data *pd, Eina_Position2D pos);
29
30
31void _elm_hover_efl_gfx_entity_size_set(Eo *obj, Elm_Hover_Data *pd, Eina_Size2D size);
32
33
34Eina_Error _elm_hover_efl_ui_widget_theme_apply(Eo *obj, Elm_Hover_Data *pd);
35
36
37Eina_Bool _elm_hover_efl_ui_widget_widget_sub_object_add(Eo *obj, Elm_Hover_Data *pd, Efl_Canvas_Object *sub_obj);
38
39
40void _elm_hover_efl_ui_widget_widget_parent_set(Eo *obj, Elm_Hover_Data *pd, Efl_Ui_Widget *parent);
41
42
43Efl_Ui_Widget *_elm_hover_efl_ui_widget_widget_parent_get(const Eo *obj, Elm_Hover_Data *pd);
44
45
46Eina_Bool _elm_hover_efl_ui_widget_widget_sub_object_del(Eo *obj, Elm_Hover_Data *pd, Efl_Canvas_Object *sub_obj);
47
48
49const Efl_Access_Action_Data *_elm_hover_efl_access_widget_action_elm_actions_get(const Eo *obj, Elm_Hover_Data *pd);
50
51
52Efl_Access_State_Set _elm_hover_efl_access_object_state_set_get(const Eo *obj, Elm_Hover_Data *pd);
53
54
55Efl_Object *_elm_hover_efl_part_part_get(const Eo *obj, Elm_Hover_Data *pd, const char *name);
56
57
58static Eina_Bool
59_elm_hover_class_initializer(Efl_Class *klass)
60{
61 const Efl_Object_Ops *opsp = NULL;
62
63 const Efl_Object_Property_Reflection_Ops *ropsp = NULL;
64
65#ifndef ELM_HOVER_EXTRA_OPS
66#define ELM_HOVER_EXTRA_OPS
67#endif
68
69 EFL_OPS_DEFINE(ops,
70 EFL_OBJECT_OP_FUNC(elm_obj_hover_target_set, _elm_hover_target_set),
71 EFL_OBJECT_OP_FUNC(elm_obj_hover_target_get, _elm_hover_target_get),
72 EFL_OBJECT_OP_FUNC(elm_obj_hover_best_content_location_get, _elm_hover_best_content_location_get),
73 EFL_OBJECT_OP_FUNC(elm_obj_hover_dismiss, _elm_hover_dismiss),
74 EFL_OBJECT_OP_FUNC(efl_constructor, _elm_hover_efl_object_constructor),
75 EFL_OBJECT_OP_FUNC(efl_gfx_entity_visible_set, _elm_hover_efl_gfx_entity_visible_set),
76 EFL_OBJECT_OP_FUNC(efl_gfx_entity_position_set, _elm_hover_efl_gfx_entity_position_set),
77 EFL_OBJECT_OP_FUNC(efl_gfx_entity_size_set, _elm_hover_efl_gfx_entity_size_set),
78 EFL_OBJECT_OP_FUNC(efl_ui_widget_theme_apply, _elm_hover_efl_ui_widget_theme_apply),
79 EFL_OBJECT_OP_FUNC(efl_ui_widget_sub_object_add, _elm_hover_efl_ui_widget_widget_sub_object_add),
80 EFL_OBJECT_OP_FUNC(efl_ui_widget_parent_set, _elm_hover_efl_ui_widget_widget_parent_set),
81 EFL_OBJECT_OP_FUNC(efl_ui_widget_parent_get, _elm_hover_efl_ui_widget_widget_parent_get),
82 EFL_OBJECT_OP_FUNC(efl_ui_widget_sub_object_del, _elm_hover_efl_ui_widget_widget_sub_object_del),
83 EFL_OBJECT_OP_FUNC(efl_access_widget_action_elm_actions_get, _elm_hover_efl_access_widget_action_elm_actions_get),
84 EFL_OBJECT_OP_FUNC(efl_access_object_state_set_get, _elm_hover_efl_access_object_state_set_get),
85 EFL_OBJECT_OP_FUNC(efl_part_get, _elm_hover_efl_part_part_get),
86 ELM_HOVER_EXTRA_OPS
87 );
88 opsp = &ops;
89
90 return efl_class_functions_set(klass, opsp, ropsp);
91}
92
93static const Efl_Class_Description _elm_hover_class_desc = {
94 EO_VERSION,
95 "Elm.Hover",
96 EFL_CLASS_TYPE_REGULAR,
97 sizeof(Elm_Hover_Data),
98 _elm_hover_class_initializer,
99 _elm_hover_class_constructor,
100 NULL
101};
102
103EFL_DEFINE_CLASS(elm_hover_class_get, &_elm_hover_class_desc, EFL_UI_LAYOUT_BASE_CLASS, EFL_UI_FOCUS_LAYER_MIXIN, EFL_UI_CLICKABLE_INTERFACE, EFL_ACCESS_WIDGET_ACTION_MIXIN, EFL_UI_LEGACY_INTERFACE, NULL);
104
105#include "elm_hover_eo.legacy.c"
diff --git a/src/lib/elementary/elm_hover_eo.h b/src/lib/elementary/elm_hover_eo.h
new file mode 100644
index 0000000..8030a27
--- /dev/null
+++ b/src/lib/elementary/elm_hover_eo.h
@@ -0,0 +1,112 @@
1#ifndef _ELM_HOVER_EO_H_
2#define _ELM_HOVER_EO_H_
3
4#ifndef _ELM_HOVER_EO_CLASS_TYPE
5#define _ELM_HOVER_EO_CLASS_TYPE
6
7typedef Eo Elm_Hover;
8
9#endif
10
11#ifndef _ELM_HOVER_EO_TYPES
12#define _ELM_HOVER_EO_TYPES
13
14/** The orientation axis for the hover object
15 *
16 * @ingroup Elm_Hover
17 */
18typedef enum
19{
20 ELM_HOVER_AXIS_NONE = 0, /**< ELM_HOVER_AXIS_NONE -- no preferred orientation.
21 */
22 ELM_HOVER_AXIS_HORIZONTAL, /**< ELM_HOVER_AXIS_HORIZONTAL -- horizontal. */
23 ELM_HOVER_AXIS_VERTICAL, /**< ELM_HOVER_AXIS_VERTICAL -- vertical. */
24 ELM_HOVER_AXIS_BOTH /**< ELM_HOVER_AXIS_BOTH -- both. */
25} Elm_Hover_Axis;
26
27
28#endif
29/** Elementary hover class
30 *
31 * @ingroup Elm_Hover
32 */
33#define ELM_HOVER_CLASS elm_hover_class_get()
34
35EWAPI const Efl_Class *elm_hover_class_get(void);
36
37/**
38 * @brief Sets the target object for the hover.
39 *
40 * This function will cause the hover to be centered on the target object.
41 *
42 * @param[in] obj The object.
43 * @param[in] target The target object.
44 *
45 * @ingroup Elm_Hover
46 */
47EOAPI void elm_obj_hover_target_set(Eo *obj, Efl_Canvas_Object *target);
48
49/**
50 * @brief Get the target object for the hover.
51 *
52 * @param[in] obj The object.
53 *
54 * @return The target object.
55 *
56 * @ingroup Elm_Hover
57 */
58EOAPI Efl_Canvas_Object *elm_obj_hover_target_get(const Eo *obj);
59
60/**
61 * @brief Returns the best swallow location for content in the hover.
62 *
63 * Best is defined here as the location at which there is the most available
64 * space.
65 *
66 * @c pref_axis may be either #ELM_HOVER_AXIS_NONE (for no preferred
67 * orientation), #ELM_HOVER_AXIS_HORIZONTAL, #ELM_HOVER_AXIS_VERTICAL or
68 * #ELM_HOVER_AXIS_BOTH.
69 *
70 * If #ELM_HOVER_AXIS_HORIZONTAL is chosen the returned position will
71 * necessarily be along the horizontal axis("left" or "right"). If
72 * #ELM_HOVER_AXIS_VERTICAL is chosen the returned position will necessarily be
73 * along the vertical axis("top" or "bottom"). Choosing #ELM_HOVER_AXIS_BOTH or
74 * #ELM_HOVER_AXIS_NONE has the same effect and the returned position may be in
75 * either axis.
76 *
77 * See also @ref elm_object_part_content_set.
78 *
79 * @param[in] obj The object.
80 * @param[in] pref_axis The preferred orientation axis for the hover object to
81 * use
82 *
83 * @return Swallow location
84 *
85 * @ingroup Elm_Hover
86 */
87EOAPI const char *elm_obj_hover_best_content_location_get(const Eo *obj, Elm_Hover_Axis pref_axis);
88
89/** Dismiss a hover object
90 *
91 * @ingroup Elm_Hover
92 */
93EOAPI void elm_obj_hover_dismiss(Eo *obj);
94
95EWAPI extern const Efl_Event_Description _ELM_HOVER_EVENT_SMART_CHANGED;
96
97/** Called when hover changed
98 * @return const char *
99 *
100 * @ingroup Elm_Hover
101 */
102#define ELM_HOVER_EVENT_SMART_CHANGED (&(_ELM_HOVER_EVENT_SMART_CHANGED))
103
104EWAPI extern const Efl_Event_Description _ELM_HOVER_EVENT_DISMISSED;
105
106/** Called when hover was dismissed
107 *
108 * @ingroup Elm_Hover
109 */
110#define ELM_HOVER_EVENT_DISMISSED (&(_ELM_HOVER_EVENT_DISMISSED))
111
112#endif
diff --git a/src/lib/elementary/elm_hover_eo.legacy.c b/src/lib/elementary/elm_hover_eo.legacy.c
new file mode 100644
index 0000000..78b5562
--- /dev/null
+++ b/src/lib/elementary/elm_hover_eo.legacy.c
@@ -0,0 +1,24 @@
1
2EAPI void
3elm_hover_target_set(Elm_Hover *obj, Efl_Canvas_Object *target)
4{
5 elm_obj_hover_target_set(obj, target);
6}
7
8EAPI Efl_Canvas_Object *
9elm_hover_target_get(const Elm_Hover *obj)
10{
11 return elm_obj_hover_target_get(obj);
12}
13
14EAPI const char *
15elm_hover_best_content_location_get(const Elm_Hover *obj, Elm_Hover_Axis pref_axis)
16{
17 return elm_obj_hover_best_content_location_get(obj, pref_axis);
18}
19
20EAPI void
21elm_hover_dismiss(Elm_Hover *obj)
22{
23 elm_obj_hover_dismiss(obj);
24}
diff --git a/src/lib/elementary/elm_hover_eo.legacy.h b/src/lib/elementary/elm_hover_eo.legacy.h
new file mode 100644
index 0000000..8f18695
--- /dev/null
+++ b/src/lib/elementary/elm_hover_eo.legacy.h
@@ -0,0 +1,88 @@
1#ifndef _ELM_HOVER_EO_LEGACY_H_
2#define _ELM_HOVER_EO_LEGACY_H_
3
4#ifndef _ELM_HOVER_EO_CLASS_TYPE
5#define _ELM_HOVER_EO_CLASS_TYPE
6
7typedef Eo Elm_Hover;
8
9#endif
10
11#ifndef _ELM_HOVER_EO_TYPES
12#define _ELM_HOVER_EO_TYPES
13
14/** The orientation axis for the hover object
15 *
16 * @ingroup Elm_Hover
17 */
18typedef enum
19{
20 ELM_HOVER_AXIS_NONE = 0, /**< ELM_HOVER_AXIS_NONE -- no preferred orientation.
21 */
22 ELM_HOVER_AXIS_HORIZONTAL, /**< ELM_HOVER_AXIS_HORIZONTAL -- horizontal. */
23 ELM_HOVER_AXIS_VERTICAL, /**< ELM_HOVER_AXIS_VERTICAL -- vertical. */
24 ELM_HOVER_AXIS_BOTH /**< ELM_HOVER_AXIS_BOTH -- both. */
25} Elm_Hover_Axis;
26
27
28#endif
29
30/**
31 * @brief Sets the target object for the hover.
32 *
33 * This function will cause the hover to be centered on the target object.
34 *
35 * @param[in] obj The object.
36 * @param[in] target The target object.
37 *
38 * @ingroup Elm_Hover_Group
39 */
40EAPI void elm_hover_target_set(Elm_Hover *obj, Efl_Canvas_Object *target);
41
42/**
43 * @brief Get the target object for the hover.
44 *
45 * @param[in] obj The object.
46 *
47 * @return The target object.
48 *
49 * @ingroup Elm_Hover_Group
50 */
51EAPI Efl_Canvas_Object *elm_hover_target_get(const Elm_Hover *obj);
52
53/**
54 * @brief Returns the best swallow location for content in the hover.
55 *
56 * Best is defined here as the location at which there is the most available
57 * space.
58 *
59 * @c pref_axis may be either #ELM_HOVER_AXIS_NONE (for no preferred
60 * orientation), #ELM_HOVER_AXIS_HORIZONTAL, #ELM_HOVER_AXIS_VERTICAL or
61 * #ELM_HOVER_AXIS_BOTH.
62 *
63 * If #ELM_HOVER_AXIS_HORIZONTAL is chosen the returned position will
64 * necessarily be along the horizontal axis("left" or "right"). If
65 * #ELM_HOVER_AXIS_VERTICAL is chosen the returned position will necessarily be
66 * along the vertical axis("top" or "bottom"). Choosing #ELM_HOVER_AXIS_BOTH or
67 * #ELM_HOVER_AXIS_NONE has the same effect and the returned position may be in
68 * either axis.
69 *
70 * See also @ref elm_object_part_content_set.
71 *
72 * @param[in] obj The object.
73 * @param[in] pref_axis The preferred orientation axis for the hover object to
74 * use
75 *
76 * @return Swallow location
77 *
78 * @ingroup Elm_Hover_Group
79 */
80EAPI const char *elm_hover_best_content_location_get(const Elm_Hover *obj, Elm_Hover_Axis pref_axis);
81
82/** Dismiss a hover object
83 *
84 * @ingroup Elm_Hover_Group
85 */
86EAPI void elm_hover_dismiss(Elm_Hover *obj);
87
88#endif
diff --git a/src/lib/elementary/elm_hover_legacy.h b/src/lib/elementary/elm_hover_legacy.h
index 407d97e..d940317 100644
--- a/src/lib/elementary/elm_hover_legacy.h
+++ b/src/lib/elementary/elm_hover_legacy.h
@@ -33,4 +33,4 @@ EAPI void elm_hover_parent_set(Evas_Object *obj, Evas_Object *parent);
33 */ 33 */
34EAPI Evas_Object *elm_hover_parent_get(const Evas_Object *obj); 34EAPI Evas_Object *elm_hover_parent_get(const Evas_Object *obj);
35 35
36#include "elm_hover.eo.legacy.h" \ No newline at end of file 36#include "elm_hover_eo.legacy.h" \ No newline at end of file
diff --git a/src/lib/elementary/elm_widget_hover.h b/src/lib/elementary/elm_widget_hover.h
index 91bb3f0..10cb616 100644
--- a/src/lib/elementary/elm_widget_hover.h
+++ b/src/lib/elementary/elm_widget_hover.h
@@ -3,7 +3,7 @@
3 3
4#include "Elementary.h" 4#include "Elementary.h"
5#include "elm_widget_layout.h" 5#include "elm_widget_layout.h"
6#include "elm_hover.eo.h" 6#include "elm_hover_eo.h"
7 7
8/* DO NOT USE THIS HEADER UNLESS YOU ARE PREPARED FOR BREAKING OF YOUR 8/* DO NOT USE THIS HEADER UNLESS YOU ARE PREPARED FOR BREAKING OF YOUR
9 * CODE. THIS IS ELEMENTARY'S INTERNAL WIDGET API (for now) AND IS NOT 9 * CODE. THIS IS ELEMENTARY'S INTERNAL WIDGET API (for now) AND IS NOT
diff --git a/src/lib/elementary/elm_widget_menu.h b/src/lib/elementary/elm_widget_menu.h
index be2daee..7a1f3ea 100644
--- a/src/lib/elementary/elm_widget_menu.h
+++ b/src/lib/elementary/elm_widget_menu.h
@@ -5,7 +5,7 @@
5 5
6#include "elm_menu.eo.h" 6#include "elm_menu.eo.h"
7#include "elm_menu_item.eo.h" 7#include "elm_menu_item.eo.h"
8#include "elm_hover.eo.h" 8#include "elm_hover_eo.h"
9 9
10/* DO NOT USE THIS HEADER UNLESS YOU ARE PREPARED FOR BREAKING OF YOUR 10/* DO NOT USE THIS HEADER UNLESS YOU ARE PREPARED FOR BREAKING OF YOUR
11 * CODE. THIS IS ELEMENTARY'S INTERNAL WIDGET API (for now) AND IS NOT 11 * CODE. THIS IS ELEMENTARY'S INTERNAL WIDGET API (for now) AND IS NOT
diff --git a/src/lib/elementary/meson.build b/src/lib/elementary/meson.build
index c54c632..ab3bbcf 100644
--- a/src/lib/elementary/meson.build
+++ b/src/lib/elementary/meson.build
@@ -1,7 +1,6 @@
1pub_legacy_eo_files = [ 1pub_legacy_eo_files = [
2 'efl_ui_clock_legacy.eo', 2 'efl_ui_clock_legacy.eo',
3 'elm_interface_fileselector.eo', 3 'elm_interface_fileselector.eo',
4 'elm_hover.eo',
5 'elm_index.eo', 4 'elm_index.eo',
6 'elm_label.eo', 5 'elm_label.eo',
7 'elm_list.eo', 6 'elm_list.eo',
@@ -755,6 +754,8 @@ elementary_pub_headers = [
755 'elm_glview_eo.legacy.h', 754 'elm_glview_eo.legacy.h',
756 'elm_grid_eo.h', 755 'elm_grid_eo.h',
757 'elm_grid_eo.legacy.h', 756 'elm_grid_eo.legacy.h',
757 'elm_hover_eo.h',
758 'elm_hover_eo.legacy.h',
758 'elm_hoversel_eo.h', 759 'elm_hoversel_eo.h',
759 'elm_hoversel_eo.legacy.h', 760 'elm_hoversel_eo.legacy.h',
760 'elm_hoversel_item_eo.h', 761 'elm_hoversel_item_eo.h',