summaryrefslogtreecommitdiff
path: root/src/lib/elm_diskselector.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
commited365503126a690e767f786dff24a06fbb77b72e (patch)
tree733e2ea4596fbd046daf03edd89359492db03802 /src/lib/elm_diskselector.c
parente2301ee5b183755b9f6c12676978d2b9d94b6cd2 (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--src/lib/elm_diskselector.c11
1 files changed, 3 insertions, 8 deletions
diff --git a/src/lib/elm_diskselector.c b/src/lib/elm_diskselector.c
index 304ded604..02b5d67f4 100644
--- a/src/lib/elm_diskselector.c
+++ b/src/lib/elm_diskselector.c
@@ -2,19 +2,14 @@
2# include "elementary_config.h" 2# include "elementary_config.h"
3#endif 3#endif
4 4
5#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
6#define ELM_INTERFACE_ATSPI_WIDGET_ACTION_PROTECTED
7
5#include <Elementary.h> 8#include <Elementary.h>
6#include "elm_priv.h" 9#include "elm_priv.h"
7#include "elm_widget_diskselector.h" 10#include "elm_widget_diskselector.h"
8#include "elm_interface_scrollable.h" 11#include "elm_interface_scrollable.h"
9 12
10#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
11#include "elm_interface_atspi_accessible.h"
12#include "elm_interface_atspi_accessible.eo.h"
13
14#define ELM_INTERFACE_ATSPI_WIDGET_ACTION_PROTECTED
15#include "elm_interface_atspi_widget_action.h"
16#include "elm_interface_atspi_widget_action.eo.h"
17
18#define DISPLAY_ITEM_NUM_MIN 3 13#define DISPLAY_ITEM_NUM_MIN 3
19 14
20#define MY_CLASS ELM_DISKSELECTOR_CLASS 15#define MY_CLASS ELM_DISKSELECTOR_CLASS