elementary,evas: remove obsolete legacy includes

Summary:
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`).

Reviewers: cedric, zmike, bu5hm4n

Reviewed By: zmike

Subscribers: #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D8251
This commit is contained in:
Daniel Kolesa 2019-03-08 08:57:51 -05:00 committed by Mike Blumenkrantz
parent 1e750ddfde
commit c876ac52d9
6 changed files with 40 additions and 29 deletions

View File

@ -553,5 +553,3 @@ EAPI Eina_Bool elm_image_aspect_fixed_get(const Evas_Object *obj);
* @ingroup Elm_Image
*/
EAPI void elm_image_async_open_set(Evas_Object *obj, Eina_Bool async);
#include "efl_ui_image.eo.legacy.h"

View File

@ -712,4 +712,5 @@ EAPI const char *elm_layout_part_cursor_style_get(const Evas_Object *obj, const
*/
EAPI Eina_Bool elm_layout_part_cursor_unset(Evas_Object *obj, const char *part_name);
/* FIXME: this shouldn't have to be included but causes build errors otherwise */
#include "efl_ui_layout.eo.legacy.h"

View File

@ -284,5 +284,3 @@ EAPI void elm_progressbar_part_value_set(Evas_Object *obj, const char *part, dou
* @ingroup Elm_Progressbar
*/
EAPI double elm_progressbar_part_value_get(const Evas_Object *obj, const char *part);
#include "efl_ui_progressbar.eo.legacy.h"

View File

@ -1,4 +1,42 @@
#include "elm_interface_scrollable.eo.legacy.h"
#ifndef _ELM_INTERFACE_SCROLLABLE_EO_TYPES
#define _ELM_INTERFACE_SCROLLABLE_EO_TYPES
/**
* @brief Type that controls when scrollbars should appear.
*
* See also @ref Elm.Interface_Scrollable.policy.set.
*
* @ingroup Elm_Scroller
*/
typedef enum
{
ELM_SCROLLER_POLICY_AUTO = 0, /**< Show scrollbars as needed */
ELM_SCROLLER_POLICY_ON, /**< Always show scrollbars */
ELM_SCROLLER_POLICY_OFF, /**< Never show scrollbars */
ELM_SCROLLER_POLICY_LAST /**< Sentinel value to indicate last enum field
* during iteration */
} Elm_Scroller_Policy;
/**
* @brief Type that controls how the content is scrolled.
*
* See also @ref Elm.Interface_Scrollable.single_direction.set.
*
* @ingroup Elm_Scroller
*/
typedef enum
{
ELM_SCROLLER_SINGLE_DIRECTION_NONE = 0, /**< Scroll every direction */
ELM_SCROLLER_SINGLE_DIRECTION_SOFT, /**< Scroll single direction if the
* direction is certain */
ELM_SCROLLER_SINGLE_DIRECTION_HARD, /**< Scroll only single direction */
ELM_SCROLLER_SINGLE_DIRECTION_LAST /**< Sentinel value to indicate last enum
* field during iteration */
} Elm_Scroller_Single_Direction;
#endif
#include "elm_scroller_eo.legacy.h"
/**

View File

@ -381,5 +381,3 @@ EAPI double elm_slider_step_get(const Evas_Object *obj);
* @ingroup Elm_Slider
*/
EAPI void elm_slider_step_set(Evas_Object *obj, double step);
#include "efl_ui_slider.eo.legacy.h"

View File

@ -3526,8 +3526,6 @@ EWAPI Eina_Bool _evas_object_intercept_call(Evas_Object *obj, Evas_Object_Interc
*/
EAPI Evas_Object *evas_object_rectangle_add(Evas *e) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_MALLOC;
#include "canvas/efl_canvas_rectangle.eo.legacy.h"
/**
* @}
*/
@ -4297,8 +4295,6 @@ EAPI void evas_vg_gradient_spread_set(Eo *obj, Efl_Gfx_Gradient_Spread s);
*/
EAPI Efl_Gfx_Gradient_Spread evas_vg_gradient_spread_get(Eo *obj);
#include "canvas/efl_canvas_vg_gradient.eo.legacy.h"
/**
* Creates a new linear gradient object \.
*
@ -4348,8 +4344,6 @@ EAPI void evas_vg_gradient_linear_end_set(Eo *obj, double x, double y);
*/
EAPI void evas_vg_gradient_linear_end_get(Eo *obj, double *x, double *y);
#include "canvas/efl_canvas_vg_gradient_linear.eo.legacy.h"
/**
* Creates a new radial gradient object \.
*
@ -4416,8 +4410,6 @@ EAPI void evas_vg_gradient_radial_focal_set(Eo *obj, double x, double y);
*/
EAPI void evas_vg_gradient_radial_focal_get(Eo *obj, double *x, double *y);
#include "canvas/efl_canvas_vg_gradient_radial.eo.legacy.h"
/**
* @}
*/
@ -8050,8 +8042,6 @@ EAPI void evas_object_map_enable_set(Evas_Object *obj, Eina_Bool enabled);
*/
EAPI Eina_Bool evas_object_map_enable_get(const Evas_Object *obj);
#include "canvas/efl_gfx_mapping.eo.legacy.h"
/**
* @brief Apply an evas filter program on this text object.
*
@ -8169,15 +8159,3 @@ EAPI void evas_object_freeze_events_set(Efl_Canvas_Object *obj, Eina_Bool freeze
* @ingroup Evas_Object_Group
*/
EAPI Eina_Bool evas_object_freeze_events_get(const Efl_Canvas_Object *obj);
#include "canvas/efl_canvas_event_grabber_eo.legacy.h"
#include "canvas/efl_canvas_animation_alpha.eo.legacy.h"
#include "canvas/efl_canvas_animation.eo.legacy.h"
#include "canvas/efl_canvas_animation_group.eo.legacy.h"
#include "canvas/efl_canvas_animation_group_parallel.eo.legacy.h"
#include "canvas/efl_canvas_animation_group_sequential.eo.legacy.h"
#include "canvas/efl_canvas_animation_player.eo.legacy.h"
#include "canvas/efl_canvas_animation_rotate.eo.legacy.h"
#include "canvas/efl_canvas_animation_scale.eo.legacy.h"
#include "canvas/efl_canvas_animation_translate.eo.legacy.h"