summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@samsung.com>2019-03-08 14:23:13 +0100
committerDaniel Kolesa <d.kolesa@samsung.com>2019-03-08 14:23:13 +0100
commit1ae3c86425a66665ae5cc23c2ada3eb422d3e17d (patch)
treec077f3ebbd413fea1093be2fd0ea2a92b292c727
parent23d0076346e64456280bd9b9c2d1d2659d065fd2 (diff)
elementary,evas: remove obsolete legacy includesdevs/q66/legacy-eo-headers
Since the removal of legacy interfaces from eo files, these files contain nothing useful, and can safely be removed. One exception is `efl_ui_layout.eo.legacy.h`, which will require more involved work to remove, since a lot of things seem to depend on the Efl_Ui_Layout typedef being present, wrongly (i suspect this will break everything with `EFL_NOLEGACY_API_SUPPORT`).
-rw-r--r--src/lib/elementary/elm_image_legacy.h2
-rw-r--r--src/lib/elementary/elm_layout_legacy.h1
-rw-r--r--src/lib/elementary/elm_progressbar_legacy.h2
-rw-r--r--src/lib/elementary/elm_scroller_legacy.h40
-rw-r--r--src/lib/elementary/elm_slider_legacy.h2
-rw-r--r--src/lib/evas/Evas_Legacy.h22
6 files changed, 40 insertions, 29 deletions
diff --git a/src/lib/elementary/elm_image_legacy.h b/src/lib/elementary/elm_image_legacy.h
index a53e063a5c..77286c9623 100644
--- a/src/lib/elementary/elm_image_legacy.h
+++ b/src/lib/elementary/elm_image_legacy.h
@@ -553,5 +553,3 @@ EAPI Eina_Bool elm_image_aspect_fixed_get(const Evas_Object *obj);
553 * @ingroup Elm_Image 553 * @ingroup Elm_Image
554 */ 554 */
555EAPI void elm_image_async_open_set(Evas_Object *obj, Eina_Bool async); 555EAPI void elm_image_async_open_set(Evas_Object *obj, Eina_Bool async);
556
557#include "efl_ui_image.eo.legacy.h"
diff --git a/src/lib/elementary/elm_layout_legacy.h b/src/lib/elementary/elm_layout_legacy.h
index 58dab5bcc9..fb90fb0d4b 100644
--- a/src/lib/elementary/elm_layout_legacy.h
+++ b/src/lib/elementary/elm_layout_legacy.h
@@ -712,4 +712,5 @@ EAPI const char *elm_layout_part_cursor_style_get(const Evas_Object *obj, const
712 */ 712 */
713EAPI Eina_Bool elm_layout_part_cursor_unset(Evas_Object *obj, const char *part_name); 713EAPI Eina_Bool elm_layout_part_cursor_unset(Evas_Object *obj, const char *part_name);
714 714
715/* FIXME: this shouldn't have to be included but causes build errors otherwise */
715#include "efl_ui_layout.eo.legacy.h" 716#include "efl_ui_layout.eo.legacy.h"
diff --git a/src/lib/elementary/elm_progressbar_legacy.h b/src/lib/elementary/elm_progressbar_legacy.h
index 8eedf940e5..a6b67991be 100644
--- a/src/lib/elementary/elm_progressbar_legacy.h
+++ b/src/lib/elementary/elm_progressbar_legacy.h
@@ -284,5 +284,3 @@ EAPI void elm_progressbar_part_value_set(Evas_Object *obj, const char *part, dou
284 * @ingroup Elm_Progressbar 284 * @ingroup Elm_Progressbar
285 */ 285 */
286EAPI double elm_progressbar_part_value_get(const Evas_Object *obj, const char *part); 286EAPI double elm_progressbar_part_value_get(const Evas_Object *obj, const char *part);
287
288#include "efl_ui_progressbar.eo.legacy.h"
diff --git a/src/lib/elementary/elm_scroller_legacy.h b/src/lib/elementary/elm_scroller_legacy.h
index 6b40eff78f..2e0cec9c17 100644
--- a/src/lib/elementary/elm_scroller_legacy.h
+++ b/src/lib/elementary/elm_scroller_legacy.h
@@ -1,4 +1,42 @@
1#include "elm_interface_scrollable.eo.legacy.h" 1#ifndef _ELM_INTERFACE_SCROLLABLE_EO_TYPES
2#define _ELM_INTERFACE_SCROLLABLE_EO_TYPES
3
4/**
5 * @brief Type that controls when scrollbars should appear.
6 *
7 * See also @ref Elm.Interface_Scrollable.policy.set.
8 *
9 * @ingroup Elm_Scroller
10 */
11typedef enum
12{
13 ELM_SCROLLER_POLICY_AUTO = 0, /**< Show scrollbars as needed */
14 ELM_SCROLLER_POLICY_ON, /**< Always show scrollbars */
15 ELM_SCROLLER_POLICY_OFF, /**< Never show scrollbars */
16 ELM_SCROLLER_POLICY_LAST /**< Sentinel value to indicate last enum field
17 * during iteration */
18} Elm_Scroller_Policy;
19
20/**
21 * @brief Type that controls how the content is scrolled.
22 *
23 * See also @ref Elm.Interface_Scrollable.single_direction.set.
24 *
25 * @ingroup Elm_Scroller
26 */
27typedef enum
28{
29 ELM_SCROLLER_SINGLE_DIRECTION_NONE = 0, /**< Scroll every direction */
30 ELM_SCROLLER_SINGLE_DIRECTION_SOFT, /**< Scroll single direction if the
31 * direction is certain */
32 ELM_SCROLLER_SINGLE_DIRECTION_HARD, /**< Scroll only single direction */
33 ELM_SCROLLER_SINGLE_DIRECTION_LAST /**< Sentinel value to indicate last enum
34 * field during iteration */
35} Elm_Scroller_Single_Direction;
36
37
38#endif
39
2#include "elm_scroller_eo.legacy.h" 40#include "elm_scroller_eo.legacy.h"
3 41
4/** 42/**
diff --git a/src/lib/elementary/elm_slider_legacy.h b/src/lib/elementary/elm_slider_legacy.h
index 99c5097297..aa32dec6b1 100644
--- a/src/lib/elementary/elm_slider_legacy.h
+++ b/src/lib/elementary/elm_slider_legacy.h
@@ -381,5 +381,3 @@ EAPI double elm_slider_step_get(const Evas_Object *obj);
381 * @ingroup Elm_Slider 381 * @ingroup Elm_Slider
382 */ 382 */
383EAPI void elm_slider_step_set(Evas_Object *obj, double step); 383EAPI void elm_slider_step_set(Evas_Object *obj, double step);
384
385#include "efl_ui_slider.eo.legacy.h"
diff --git a/src/lib/evas/Evas_Legacy.h b/src/lib/evas/Evas_Legacy.h
index 6347b0cf7f..cf790d390c 100644
--- a/src/lib/evas/Evas_Legacy.h
+++ b/src/lib/evas/Evas_Legacy.h
@@ -3526,8 +3526,6 @@ EWAPI Eina_Bool _evas_object_intercept_call(Evas_Object *obj, Evas_Object_Interc
3526 */ 3526 */
3527EAPI Evas_Object *evas_object_rectangle_add(Evas *e) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_MALLOC; 3527EAPI Evas_Object *evas_object_rectangle_add(Evas *e) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_MALLOC;
3528 3528
3529#include "canvas/efl_canvas_rectangle.eo.legacy.h"
3530
3531/** 3529/**
3532 * @} 3530 * @}
3533 */ 3531 */
@@ -4297,8 +4295,6 @@ EAPI void evas_vg_gradient_spread_set(Eo *obj, Efl_Gfx_Gradient_Spread s);
4297 */ 4295 */
4298EAPI Efl_Gfx_Gradient_Spread evas_vg_gradient_spread_get(Eo *obj); 4296EAPI Efl_Gfx_Gradient_Spread evas_vg_gradient_spread_get(Eo *obj);
4299 4297
4300#include "canvas/efl_canvas_vg_gradient.eo.legacy.h"
4301
4302/** 4298/**
4303 * Creates a new linear gradient object \. 4299 * Creates a new linear gradient object \.
4304 * 4300 *
@@ -4348,8 +4344,6 @@ EAPI void evas_vg_gradient_linear_end_set(Eo *obj, double x, double y);
4348 */ 4344 */
4349EAPI void evas_vg_gradient_linear_end_get(Eo *obj, double *x, double *y); 4345EAPI void evas_vg_gradient_linear_end_get(Eo *obj, double *x, double *y);
4350 4346
4351#include "canvas/efl_canvas_vg_gradient_linear.eo.legacy.h"
4352
4353/** 4347/**
4354 * Creates a new radial gradient object \. 4348 * Creates a new radial gradient object \.
4355 * 4349 *
@@ -4416,8 +4410,6 @@ EAPI void evas_vg_gradient_radial_focal_set(Eo *obj, double x, double y);
4416 */ 4410 */
4417EAPI void evas_vg_gradient_radial_focal_get(Eo *obj, double *x, double *y); 4411EAPI void evas_vg_gradient_radial_focal_get(Eo *obj, double *x, double *y);
4418 4412
4419#include "canvas/efl_canvas_vg_gradient_radial.eo.legacy.h"
4420
4421/** 4413/**
4422 * @} 4414 * @}
4423 */ 4415 */
@@ -8050,8 +8042,6 @@ EAPI void evas_object_map_enable_set(Evas_Object *obj, Eina_Bool enabled);
8050 */ 8042 */
8051EAPI Eina_Bool evas_object_map_enable_get(const Evas_Object *obj); 8043EAPI Eina_Bool evas_object_map_enable_get(const Evas_Object *obj);
8052 8044
8053#include "canvas/efl_gfx_mapping.eo.legacy.h"
8054
8055/** 8045/**
8056 * @brief Apply an evas filter program on this text object. 8046 * @brief Apply an evas filter program on this text object.
8057 * 8047 *
@@ -8169,15 +8159,3 @@ EAPI void evas_object_freeze_events_set(Efl_Canvas_Object *obj, Eina_Bool freeze
8169 * @ingroup Evas_Object_Group 8159 * @ingroup Evas_Object_Group
8170 */ 8160 */
8171EAPI Eina_Bool evas_object_freeze_events_get(const Efl_Canvas_Object *obj); 8161EAPI Eina_Bool evas_object_freeze_events_get(const Efl_Canvas_Object *obj);
8172
8173#include "canvas/efl_canvas_event_grabber_eo.legacy.h"
8174
8175#include "canvas/efl_canvas_animation_alpha.eo.legacy.h"
8176#include "canvas/efl_canvas_animation.eo.legacy.h"
8177#include "canvas/efl_canvas_animation_group.eo.legacy.h"
8178#include "canvas/efl_canvas_animation_group_parallel.eo.legacy.h"
8179#include "canvas/efl_canvas_animation_group_sequential.eo.legacy.h"
8180#include "canvas/efl_canvas_animation_player.eo.legacy.h"
8181#include "canvas/efl_canvas_animation_rotate.eo.legacy.h"
8182#include "canvas/efl_canvas_animation_scale.eo.legacy.h"
8183#include "canvas/efl_canvas_animation_translate.eo.legacy.h"