summaryrefslogtreecommitdiff
path: root/legacy/elementary/src/lib/elm_interface_atspi_accessible.c
diff options
context:
space:
mode:
authorLukasz Stanislawski <l.stanislaws@samsung.com>2014-10-17 16:56:11 +0100
committerTom Hacohen <tom@stosb.com>2014-10-17 16:57:26 +0100
commit2ca1f8a75a33879b309a83eac37741f29bf7d867 (patch)
tree98abdd46eb325719fcf9ef3aabc0d207cf5c25f0 /legacy/elementary/src/lib/elm_interface_atspi_accessible.c
parentada335eedf8954675b76b5a75de50d6cfd61488e (diff)
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
Diffstat (limited to '')
-rw-r--r--legacy/elementary/src/lib/elm_interface_atspi_accessible.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/legacy/elementary/src/lib/elm_interface_atspi_accessible.c b/legacy/elementary/src/lib/elm_interface_atspi_accessible.c
index 7c2eb23266..4ddb369619 100644
--- a/legacy/elementary/src/lib/elm_interface_atspi_accessible.c
+++ b/legacy/elementary/src/lib/elm_interface_atspi_accessible.c
@@ -2,16 +2,12 @@
2 #include "elementary_config.h" 2 #include "elementary_config.h"
3#endif 3#endif
4 4
5#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
6
5#include <Elementary.h> 7#include <Elementary.h>
6#include "elm_widget.h" 8#include "elm_widget.h"
7#include "elm_priv.h" 9#include "elm_priv.h"
8 10
9#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
10
11#include "elm_interface_atspi_accessible.h"
12#include "elm_interface_atspi_accessible.eo.h"
13
14
15const char* Atspi_Name[] = { 11const char* Atspi_Name[] = {
16 "invalid", 12 "invalid",
17 "accelerator label", 13 "accelerator label",
@@ -273,7 +269,7 @@ _elm_interface_atspi_accessible_relation_set_get(Eo *obj EINA_UNUSED, void *pd E
273 return NULL; 269 return NULL;
274} 270}
275 271
276void elm_atspi_attributes_list_free(Eina_List *list) 272EAPI void elm_atspi_attributes_list_free(Eina_List *list)
277{ 273{
278 Elm_Atspi_Attribute *attr; 274 Elm_Atspi_Attribute *attr;
279 EINA_LIST_FREE(list, attr) 275 EINA_LIST_FREE(list, attr)