From ed365503126a690e767f786dff24a06fbb77b72e Mon Sep 17 00:00:00 2001 From: Lukasz Stanislawski Date: Fri, 17 Oct 2014 16:56:11 +0100 Subject: atspi: properly include at-spi headers. Summary: Change requested by TAsn. Previuosly AT-SPI headers were kept private and included directly into elementary source code. From now on, AT-SPI headers can be included from Elementary.h public header, however will be marked as beta APIs. Commit includes following changes: * include all atspi headers into new elm_interfaces.h header. * marking all at-spi interfaces methods/properties as @protected. * wrap all common headers with EFL_BETA_API_SUPPORT. * make some common APIs visible in lib, by adding EAPI attribute (if someone decides to use beta APIs). Test Plan: out-off tree build with gcc, g++ Reviewers: tasn Reviewed By: tasn Subscribers: seoz, q66, kuuko Maniphest Tasks: T1721 Differential Revision: https://phab.enlightenment.org/D1528 --- src/lib/elm_interface_atspi_accessible.c | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'src/lib/elm_interface_atspi_accessible.c') diff --git a/src/lib/elm_interface_atspi_accessible.c b/src/lib/elm_interface_atspi_accessible.c index 7c2eb2326..4ddb36961 100644 --- a/src/lib/elm_interface_atspi_accessible.c +++ b/src/lib/elm_interface_atspi_accessible.c @@ -2,16 +2,12 @@ #include "elementary_config.h" #endif +#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED + #include #include "elm_widget.h" #include "elm_priv.h" -#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED - -#include "elm_interface_atspi_accessible.h" -#include "elm_interface_atspi_accessible.eo.h" - - const char* Atspi_Name[] = { "invalid", "accelerator label", @@ -273,7 +269,7 @@ _elm_interface_atspi_accessible_relation_set_get(Eo *obj EINA_UNUSED, void *pd E return NULL; } -void elm_atspi_attributes_list_free(Eina_List *list) +EAPI void elm_atspi_attributes_list_free(Eina_List *list) { Elm_Atspi_Attribute *attr; EINA_LIST_FREE(list, attr) -- cgit v1.2.1