tasn pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=ed365503126a690e767f786dff24a06fbb77b72e

commit ed365503126a690e767f786dff24a06fbb77b72e
Author: Lukasz Stanislawski <[email protected]>
Date:   Fri Oct 17 16:56:11 2014 +0100

    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/Elementary.h.in                     |  1 +
 src/lib/Makefile.am                         |  1 +
 src/lib/elc_ctxpopup.c                      | 11 +++--------
 src/lib/elc_fileselector.c                  | 11 +++--------
 src/lib/elc_fileselector_button.c           |  6 ++----
 src/lib/elc_fileselector_entry.c            |  7 ++-----
 src/lib/elc_hoversel.c                      | 12 +++---------
 src/lib/elc_multibuttonentry.c              |  6 ++----
 src/lib/elc_naviframe.c                     | 11 +++--------
 src/lib/elc_player.c                        | 11 +++--------
 src/lib/elc_popup.c                         | 11 +++--------
 src/lib/elm_actionslider.c                  |  6 ++----
 src/lib/elm_atspi_app_object.c              |  8 ++------
 src/lib/elm_atspi_app_object.h              |  6 ++++++
 src/lib/elm_atspi_bridge.c                  | 14 --------------
 src/lib/elm_bg.c                            |  6 ++----
 src/lib/elm_box.c                           |  6 ++----
 src/lib/elm_bubble.c                        |  6 ++----
 src/lib/elm_button.c                        | 12 +++---------
 src/lib/elm_calendar.c                      | 11 +++--------
 src/lib/elm_check.c                         | 12 +++---------
 src/lib/elm_clock.c                         |  6 ++----
 src/lib/elm_colorselector.c                 | 11 +++--------
 src/lib/elm_conform.c                       |  6 ++----
 src/lib/elm_datetime.c                      |  6 ++----
 src/lib/elm_dayselector.c                   |  6 ++----
 src/lib/elm_diskselector.c                  | 11 +++--------
 src/lib/elm_entry.c                         | 14 ++++----------
 src/lib/elm_flip.c                          |  6 ++----
 src/lib/elm_flipselector.c                  | 12 +++---------
 src/lib/elm_frame.c                         |  6 ++----
 src/lib/elm_gengrid.c                       | 11 +++--------
 src/lib/elm_genlist.c                       | 11 +++--------
 src/lib/elm_glview.c                        |  6 ++----
 src/lib/elm_grid.c                          |  6 ++----
 src/lib/elm_hover.c                         |  6 ++----
 src/lib/elm_icon.c                          |  6 ++----
 src/lib/elm_image.c                         | 15 ++++-----------
 src/lib/elm_index.c                         |  6 ++----
 src/lib/elm_interface_atspi_accessible.c    | 10 +++-------
 src/lib/elm_interface_atspi_accessible.eo   |  2 +-
 src/lib/elm_interface_atspi_accessible.h    | 17 ++++++++++++++++-
 src/lib/elm_interface_atspi_action.c        |  6 ++----
 src/lib/elm_interface_atspi_component.c     |  4 ----
 src/lib/elm_interface_atspi_component.eo    |  2 +-
 src/lib/elm_interface_atspi_editable_text.c |  5 ++---
 src/lib/elm_interface_atspi_image.c         |  6 ++----
 src/lib/elm_interface_atspi_image.eo        |  2 +-
 src/lib/elm_interface_atspi_selection.c     |  5 ++---
 src/lib/elm_interface_atspi_text.c          |  9 +++------
 src/lib/elm_interface_atspi_text.h          | 16 +++++++++++++++-
 src/lib/elm_interface_atspi_value.c         |  5 ++---
 src/lib/elm_interface_atspi_widget.c        | 11 +++--------
 src/lib/elm_interface_atspi_widget_action.c | 10 +++-------
 src/lib/elm_interface_atspi_widget_action.h | 14 ++++++++++++++
 src/lib/elm_interface_atspi_window.c        |  1 -
 src/lib/elm_interfaces.h                    | 24 ++++++++++++++++++++++++
 src/lib/elm_inwin.c                         |  6 ++----
 src/lib/elm_label.c                         |  6 ++----
 src/lib/elm_layout.c                        |  6 ++----
 src/lib/elm_list.c                          | 11 +++--------
 src/lib/elm_map.c                           | 11 +++--------
 src/lib/elm_mapbuf.c                        |  6 ++----
 src/lib/elm_menu.c                          |  6 ++----
 src/lib/elm_notify.c                        |  6 ++----
 src/lib/elm_panel.c                         | 11 +++--------
 src/lib/elm_panes.c                         |  6 ++----
 src/lib/elm_photo.c                         |  6 ++----
 src/lib/elm_photocam.c                      | 11 +++--------
 src/lib/elm_plug.c                          |  6 ++----
 src/lib/elm_prefs.c                         |  6 ++----
 src/lib/elm_progressbar.c                   |  6 ++----
 src/lib/elm_radio.c                         | 11 +++--------
 src/lib/elm_scroller.c                      | 11 +++--------
 src/lib/elm_segment_control.c               |  6 ++----
 src/lib/elm_separator.c                     |  6 ++----
 src/lib/elm_slider.c                        | 15 ++++-----------
 src/lib/elm_slideshow.c                     | 11 +++--------
 src/lib/elm_spinner.c                       | 15 ++++-----------
 src/lib/elm_table.c                         |  6 ++----
 src/lib/elm_thumb.c                         |  6 ++----
 src/lib/elm_toolbar.c                       | 11 +++--------
 src/lib/elm_video.c                         | 11 +++--------
 src/lib/elm_web2.c                          |  6 ++----
 src/lib/elm_widget.c                        |  1 -
 src/lib/elm_win.c                           | 14 +++-----------
 86 files changed, 260 insertions(+), 455 deletions(-)

diff --git a/src/lib/Elementary.h.in b/src/lib/Elementary.h.in
index 91d9f35..9f6bfdb 100644
--- a/src/lib/Elementary.h.in
+++ b/src/lib/Elementary.h.in
@@ -183,6 +183,7 @@ EAPI extern Elm_Version *elm_version;
 #include <elm_app_client.h>
 #include <elm_app_client_view.h>
 #include <elm_app.h>
+#include <elm_atspi_app_object.h>
 #include <elm_bg.h>
 #include <elm_box.h>
 
diff --git a/src/lib/Makefile.am b/src/lib/Makefile.am
index 44ac1a1..5bbe572 100644
--- a/src/lib/Makefile.am
+++ b/src/lib/Makefile.am
@@ -152,6 +152,7 @@ elm_app_client.h \
 elm_app_client_view_eo.h \
 elm_app_client_view.h \
 elm_app.h \
+elm_atspi_app_object.h \
 elm_authors.h \
 elm_bg.h \
 elm_bg_eo.h \
diff --git a/src/lib/elc_ctxpopup.c b/src/lib/elc_ctxpopup.c
index 8f1973d..9ae6ac1 100644
--- a/src/lib/elc_ctxpopup.c
+++ b/src/lib/elc_ctxpopup.c
@@ -2,19 +2,14 @@
 # include "elementary_config.h"
 #endif
 
+#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
+#define ELM_INTERFACE_ATSPI_WIDGET_ACTION_PROTECTED
+
 #include <Elementary.h>
 
 #include "elm_priv.h"
 #include "elm_widget_ctxpopup.h"
 
-#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
-#include "elm_interface_atspi_accessible.h"
-#include "elm_interface_atspi_accessible.eo.h"
-
-#define ELM_INTERFACE_ATSPI_WIDGET_ACTION_PROTECTED
-#include "elm_interface_atspi_widget_action.h"
-#include "elm_interface_atspi_widget_action.eo.h"
-
 #define MY_CLASS ELM_CTXPOPUP_CLASS
 
 #define MY_CLASS_NAME "Elm_Ctxpopup"
diff --git a/src/lib/elc_fileselector.c b/src/lib/elc_fileselector.c
index 9ca2563..e1145c4 100644
--- a/src/lib/elc_fileselector.c
+++ b/src/lib/elc_fileselector.c
@@ -9,19 +9,14 @@
 # include "elementary_config.h"
 #endif
 
+#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
+#define ELM_INTERFACE_ATSPI_WIDGET_ACTION_PROTECTED
+
 #include <Elementary.h>
 #include "elm_priv.h"
 #include "elm_interface_fileselector.h"
 #include "elm_widget_fileselector.h"
 
-#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
-#include "elm_interface_atspi_accessible.h"
-#include "elm_interface_atspi_accessible.eo.h"
-
-#define ELM_INTERFACE_ATSPI_WIDGET_ACTION_PROTECTED
-#include "elm_interface_atspi_widget_action.h"
-#include "elm_interface_atspi_widget_action.eo.h"
-
 #define MY_CLASS ELM_FILESELECTOR_CLASS
 
 #define MY_CLASS_NAME "Elm_Fileselector"
diff --git a/src/lib/elc_fileselector_button.c 
b/src/lib/elc_fileselector_button.c
index 3891389..52b2a2a 100644
--- a/src/lib/elc_fileselector_button.c
+++ b/src/lib/elc_fileselector_button.c
@@ -2,15 +2,13 @@
 # include "elementary_config.h"
 #endif
 
+#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
+
 #include <Elementary.h>
 #include "elm_priv.h"
 #include "elm_interface_fileselector.h"
 #include "elm_widget_fileselector_button.h"
 
-#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
-#include "elm_interface_atspi_accessible.h"
-#include "elm_interface_atspi_accessible.eo.h"
-
 #define MY_CLASS ELM_FILESELECTOR_BUTTON_CLASS
 
 #define MY_CLASS_NAME "Elm_Fileselector_Button"
diff --git a/src/lib/elc_fileselector_entry.c b/src/lib/elc_fileselector_entry.c
index 35b18e8..3983750 100644
--- a/src/lib/elc_fileselector_entry.c
+++ b/src/lib/elc_fileselector_entry.c
@@ -3,16 +3,13 @@
 # include "elementary_config.h"
 #endif
 
+#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
+
 #include <Elementary.h>
 #include "elm_priv.h"
 #include "elm_interface_fileselector.h"
 #include "elm_widget_fileselector_entry.h"
 
- 
-#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
-#include "elm_interface_atspi_accessible.h"
-#include "elm_interface_atspi_accessible.eo.h"
-
 #define MY_CLASS ELM_FILESELECTOR_ENTRY_CLASS
 
 #define MY_CLASS_NAME "Elm_Fileselector_Entry"
diff --git a/src/lib/elc_hoversel.c b/src/lib/elc_hoversel.c
index a8f7a13..27db5a5 100644
--- a/src/lib/elc_hoversel.c
+++ b/src/lib/elc_hoversel.c
@@ -2,19 +2,13 @@
 # include "elementary_config.h"
 #endif
 
+#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
+#define ELM_INTERFACE_ATSPI_WIDGET_ACTION_PROTECTED
+
 #include <Elementary.h>
 #include "elm_priv.h"
 #include "elm_widget_hoversel.h"
 
- 
-#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
-#include "elm_interface_atspi_accessible.h"
-#include "elm_interface_atspi_accessible.eo.h"
-
-#define ELM_INTERFACE_ATSPI_WIDGET_ACTION_PROTECTED
-#include "elm_interface_atspi_widget_action.h"
-#include "elm_interface_atspi_widget_action.eo.h"
-
 #define MY_CLASS ELM_HOVERSEL_CLASS
 
 #define MY_CLASS_NAME "Elm_Hoversel"
diff --git a/src/lib/elc_multibuttonentry.c b/src/lib/elc_multibuttonentry.c
index d394453..0204133 100644
--- a/src/lib/elc_multibuttonentry.c
+++ b/src/lib/elc_multibuttonentry.c
@@ -2,14 +2,12 @@
 # include "elementary_config.h"
 #endif
 
+#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
+
 #include <Elementary.h>
 #include "elm_priv.h"
 #include "elm_widget_multibuttonentry.h"
 
-#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
-#include "elm_interface_atspi_accessible.h"
-#include "elm_interface_atspi_accessible.eo.h"
-
 #define MY_CLASS ELM_MULTIBUTTONENTRY_CLASS
 
 #define MY_CLASS_NAME "Elm_Multibuttonentry"
diff --git a/src/lib/elc_naviframe.c b/src/lib/elc_naviframe.c
index 7a54e84..b25e745 100644
--- a/src/lib/elc_naviframe.c
+++ b/src/lib/elc_naviframe.c
@@ -2,19 +2,14 @@
 # include "elementary_config.h"
 #endif
 
+#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
+#define ELM_INTERFACE_ATSPI_WIDGET_ACTION_PROTECTED
+
 #include <Elementary.h>
 #include "elm_priv.h"
 #include "elm_widget_naviframe.h"
 #include "elm_widget_container.h"
 
-#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
-#include "elm_interface_atspi_accessible.h"
-#include "elm_interface_atspi_accessible.eo.h"
-
-#define ELM_INTERFACE_ATSPI_WIDGET_ACTION_PROTECTED
-#include "elm_interface_atspi_widget_action.h"
-#include "elm_interface_atspi_widget_action.eo.h"
-
 #define MY_CLASS ELM_NAVIFRAME_CLASS
 
 #define MY_CLASS_NAME "Elm_Naviframe"
diff --git a/src/lib/elc_player.c b/src/lib/elc_player.c
index 1e0c462..a2f1a8e 100644
--- a/src/lib/elc_player.c
+++ b/src/lib/elc_player.c
@@ -4,19 +4,14 @@
 
 #include <Emotion.h>
 
+#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
+#define ELM_INTERFACE_ATSPI_WIDGET_ACTION_PROTECTED
+
 #include <Elementary.h>
 #include "elm_priv.h"
 #include "elm_widget_layout.h"
 #include "elm_widget_player.h"
 
-#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
-#include "elm_interface_atspi_accessible.h"
-#include "elm_interface_atspi_accessible.eo.h"
-
-#define ELM_INTERFACE_ATSPI_WIDGET_ACTION_PROTECTED
-#include "elm_interface_atspi_widget_action.h"
-#include "elm_interface_atspi_widget_action.eo.h"
-
 #define MY_CLASS ELM_PLAYER_CLASS
 
 #define MY_CLASS_NAME "Elm_Player"
diff --git a/src/lib/elc_popup.c b/src/lib/elc_popup.c
index 8daa8be..fad656c 100644
--- a/src/lib/elc_popup.c
+++ b/src/lib/elc_popup.c
@@ -2,18 +2,13 @@
 # include "elementary_config.h"
 #endif
 
+#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
+#define ELM_INTERFACE_ATSPI_WIDGET_ACTION_PROTECTED
+
 #include <Elementary.h>
 #include "elm_priv.h"
 #include "elm_widget_popup.h"
 
-#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
-#include "elm_interface_atspi_accessible.h"
-#include "elm_interface_atspi_accessible.eo.h"
-
-#define ELM_INTERFACE_ATSPI_WIDGET_ACTION_PROTECTED
-#include "elm_interface_atspi_widget_action.h"
-#include "elm_interface_atspi_widget_action.eo.h"
-
 #define MY_CLASS ELM_POPUP_CLASS
 
 #define MY_CLASS_NAME "Elm_Popup"
diff --git a/src/lib/elm_actionslider.c b/src/lib/elm_actionslider.c
index ec9d72c..98ca1fe 100644
--- a/src/lib/elm_actionslider.c
+++ b/src/lib/elm_actionslider.c
@@ -2,16 +2,14 @@
 # include "elementary_config.h"
 #endif
 
+#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
+
 #include <Elementary.h>
 #include <math.h>
 #include "elm_priv.h"
 #include "elm_widget_actionslider.h"
 #include "elm_widget_layout.h"
 
-#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
-#include "elm_interface_atspi_accessible.h"
-#include "elm_interface_atspi_accessible.eo.h"
-
 #define MY_CLASS ELM_ACTIONSLIDER_CLASS
 
 #define MY_CLASS_NAME "Elm_Actionslider"
diff --git a/src/lib/elm_atspi_app_object.c b/src/lib/elm_atspi_app_object.c
index 6313250..08932cf 100644
--- a/src/lib/elm_atspi_app_object.c
+++ b/src/lib/elm_atspi_app_object.c
@@ -2,16 +2,12 @@
   #include "elementary_config.h"
 #endif
 
+#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
+
 #include <Elementary.h>
 #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"
-#include "elm_atspi_app_object.eo.h"
-
 extern Eina_List *_elm_win_list;
 
 typedef struct _Elm_Atspi_App_Object_Data Elm_Atspi_App_Object_Data;
diff --git a/src/lib/elm_atspi_app_object.h b/src/lib/elm_atspi_app_object.h
new file mode 100644
index 0000000..53042f8
--- /dev/null
+++ b/src/lib/elm_atspi_app_object.h
@@ -0,0 +1,6 @@
+#ifdef EFL_EO_API_SUPPORT
+#include "elm_atspi_app_object.eo.h"
+#endif
+#ifndef EFL_NOLEGACY_API_SUPPORT
+#include "elm_atspi_app_object.eo.legacy.h"
+#endif
diff --git a/src/lib/elm_atspi_bridge.c b/src/lib/elm_atspi_bridge.c
index cba44ba..a3f5e24 100644
--- a/src/lib/elm_atspi_bridge.c
+++ b/src/lib/elm_atspi_bridge.c
@@ -18,20 +18,6 @@
 #include "elm_priv.h"
 #include <assert.h>
 
-#include "elm_atspi_app_object.eo.h"
-
-#include "elm_interface_atspi_accessible.h"
-#include "elm_interface_atspi_accessible.eo.h"
-#include "elm_interface_atspi_component.eo.h"
-#include "elm_interface_atspi_window.eo.h"
-#include "elm_interface_atspi_action.eo.h"
-#include "elm_interface_atspi_value.eo.h"
-#include "elm_interface_atspi_image.eo.h"
-#include "elm_interface_atspi_selection.eo.h"
-#include "elm_interface_atspi_text.h"
-#include "elm_interface_atspi_text.eo.h"
-#include "elm_interface_atspi_editable_text.eo.h"
-
 /*
  * Accessibility Bus info not defined in atspi-constants.h
  */
diff --git a/src/lib/elm_bg.c b/src/lib/elm_bg.c
index b791fe0..425586a 100644
--- a/src/lib/elm_bg.c
+++ b/src/lib/elm_bg.c
@@ -2,15 +2,13 @@
 # include "elementary_config.h"
 #endif
 
+#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
+
 #include <Elementary.h>
 #include "elm_priv.h"
 #include "elm_widget_bg.h"
 #include "elm_widget_layout.h"
 
-#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
-#include "elm_interface_atspi_accessible.h"
-#include "elm_interface_atspi_accessible.eo.h"
-
 #define MY_CLASS ELM_BG_CLASS
 
 #define MY_CLASS_NAME "Elm_Bg"
diff --git a/src/lib/elm_box.c b/src/lib/elm_box.c
index 9444054..b6a84db 100644
--- a/src/lib/elm_box.c
+++ b/src/lib/elm_box.c
@@ -2,15 +2,13 @@
 # include "elementary_config.h"
 #endif
 
+#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
+
 #include <Elementary.h>
 #include "elm_priv.h"
 #include "els_box.h"
 #include "elm_widget_box.h"
 
-#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
-#include "elm_interface_atspi_accessible.h"
-#include "elm_interface_atspi_accessible.eo.h"
-
 #define MY_CLASS ELM_BOX_CLASS
 #define MY_CLASS_NAME "Elm_Box"
 #define MY_CLASS_NAME_LEGACY "elm_box"
diff --git a/src/lib/elm_bubble.c b/src/lib/elm_bubble.c
index dd3d299..54e4d7d 100644
--- a/src/lib/elm_bubble.c
+++ b/src/lib/elm_bubble.c
@@ -2,15 +2,13 @@
 # include "elementary_config.h"
 #endif
 
+#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
+
 #include <Elementary.h>
 #include "elm_priv.h"
 #include "elm_widget_bubble.h"
 #include "elm_widget_layout.h"
 
-#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
-#include "elm_interface_atspi_accessible.h"
-#include "elm_interface_atspi_accessible.eo.h"
-
 #define MY_CLASS ELM_BUBBLE_CLASS
 
 #define MY_CLASS_NAME "Elm_Bubble"
diff --git a/src/lib/elm_button.c b/src/lib/elm_button.c
index e994f16..3083a7b 100644
--- a/src/lib/elm_button.c
+++ b/src/lib/elm_button.c
@@ -2,6 +2,9 @@
 # include "elementary_config.h"
 #endif
 
+#define ELM_INTERFACE_ATSPI_WIDGET_ACTION_PROTECTED
+#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
+
 #include <Elementary.h>
 #include "elm_priv.h"
 #include "elm_widget_button.h"
@@ -9,15 +12,6 @@
 
 #define MY_CLASS ELM_BUTTON_CLASS
 
-// ATSPI Accessibility
-#define ELM_INTERFACE_ATSPI_WIDGET_ACTION_PROTECTED
-#include "elm_interface_atspi_widget_action.h"
-#include "elm_interface_atspi_widget_action.eo.h"
-
-#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
-#include "elm_interface_atspi_accessible.h"
-#include "elm_interface_atspi_accessible.eo.h"
-
 #define MY_CLASS_NAME "Elm_Button"
 #define MY_CLASS_NAME_LEGACY "elm_button"
 
diff --git a/src/lib/elm_calendar.c b/src/lib/elm_calendar.c
index 70a8213..6810790 100644
--- a/src/lib/elm_calendar.c
+++ b/src/lib/elm_calendar.c
@@ -2,18 +2,13 @@
 # include "elementary_config.h"
 #endif
 
+#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
+#define ELM_INTERFACE_ATSPI_WIDGET_ACTION_PROTECTED
+
 #include <Elementary.h>
 #include "elm_priv.h"
 #include "elm_widget_calendar.h"
 
-#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
-#include "elm_interface_atspi_accessible.h"
-#include "elm_interface_atspi_accessible.eo.h"
-
-#define ELM_INTERFACE_ATSPI_WIDGET_ACTION_PROTECTED
-#include "elm_interface_atspi_widget_action.h"
-#include "elm_interface_atspi_widget_action.eo.h"
-
 #define MY_CLASS ELM_CALENDAR_CLASS
 
 #define MY_CLASS_NAME "Elm_Calendar"
diff --git a/src/lib/elm_check.c b/src/lib/elm_check.c
index ce8a437..9077d5e 100644
--- a/src/lib/elm_check.c
+++ b/src/lib/elm_check.c
@@ -2,20 +2,14 @@
 # include "elementary_config.h"
 #endif
 
+#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
+#define ELM_INTERFACE_ATSPI_WIDGET_ACTION_PROTECTED
+
 #include <Elementary.h>
 #include "elm_priv.h"
 #include "elm_widget_check.h"
 #include "elm_widget_layout.h"
 
- 
-#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
-#include "elm_interface_atspi_accessible.h"
-#include "elm_interface_atspi_accessible.eo.h"
-
-#define ELM_INTERFACE_ATSPI_WIDGET_ACTION_PROTECTED
-#include "elm_interface_atspi_widget_action.h"
-#include "elm_interface_atspi_widget_action.eo.h"
-
 #define MY_CLASS ELM_CHECK_CLASS
 
 #define MY_CLASS_NAME "Elm_Check"
diff --git a/src/lib/elm_clock.c b/src/lib/elm_clock.c
index 473b5e9..72191a9 100644
--- a/src/lib/elm_clock.c
+++ b/src/lib/elm_clock.c
@@ -2,14 +2,12 @@
 # include "elementary_config.h"
 #endif
 
+#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
+
 #include <Elementary.h>
 #include "elm_priv.h"
 #include "elm_widget_clock.h"
 
-#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
-#include "elm_interface_atspi_accessible.h"
-#include "elm_interface_atspi_accessible.eo.h"
-
 #define MY_CLASS ELM_CLOCK_CLASS
 
 #define MY_CLASS_NAME "Elm_Clock"
diff --git a/src/lib/elm_colorselector.c b/src/lib/elm_colorselector.c
index e4b6fff..4250243 100644
--- a/src/lib/elm_colorselector.c
+++ b/src/lib/elm_colorselector.c
@@ -2,18 +2,13 @@
 # include "elementary_config.h"
 #endif
 
+#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
+#define ELM_INTERFACE_ATSPI_WIDGET_ACTION_PROTECTED
+
 #include <Elementary.h>
 #include "elm_priv.h"
 #include "elm_widget_colorselector.h"
 
-#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
-#include "elm_interface_atspi_accessible.h"
-#include "elm_interface_atspi_accessible.eo.h"
-
-#define ELM_INTERFACE_ATSPI_WIDGET_ACTION_PROTECTED
-#include "elm_interface_atspi_widget_action.h"
-#include "elm_interface_atspi_widget_action.eo.h"
-
 #define MY_CLASS ELM_COLORSELECTOR_CLASS
 
 #define MY_CLASS_NAME "Elm_Colorselector"
diff --git a/src/lib/elm_conform.c b/src/lib/elm_conform.c
index 56da8bb..13e95af 100644
--- a/src/lib/elm_conform.c
+++ b/src/lib/elm_conform.c
@@ -2,15 +2,13 @@
 # include "elementary_config.h"
 #endif
 
+#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
+
 #include <Elementary.h>
 #include "elm_priv.h"
 #include "elm_widget_conform.h"
 #include "elm_widget_layout.h"
 
-#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
-#include "elm_interface_atspi_accessible.h"
-#include "elm_interface_atspi_accessible.eo.h"
-
 #define MY_CLASS ELM_CONFORMANT_CLASS
 
 #define MY_CLASS_NAME "Elm_Conformant"
diff --git a/src/lib/elm_datetime.c b/src/lib/elm_datetime.c
index 9c8d0c1..e9fa349 100644
--- a/src/lib/elm_datetime.c
+++ b/src/lib/elm_datetime.c
@@ -2,14 +2,12 @@
 # include "elementary_config.h"
 #endif
 
+#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
+
 #include <Elementary.h>
 #include "elm_priv.h"
 #include "elm_widget_datetime.h"
 
-#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
-#include "elm_interface_atspi_accessible.h"
-#include "elm_interface_atspi_accessible.eo.h"
-
 #define MY_CLASS ELM_DATETIME_CLASS
 
 #define MY_CLASS_NAME "Elm_Datetime"
diff --git a/src/lib/elm_dayselector.c b/src/lib/elm_dayselector.c
index fc718ca..b002922 100644
--- a/src/lib/elm_dayselector.c
+++ b/src/lib/elm_dayselector.c
@@ -2,15 +2,13 @@
 # include "elementary_config.h"
 #endif
 
+#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
+
 #include <Elementary.h>
 #include "elm_priv.h"
 #include "elm_widget_dayselector.h"
 #include "elm_widget_container.h"
 
-#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
-#include "elm_interface_atspi_accessible.h"
-#include "elm_interface_atspi_accessible.eo.h"
-
 #define MY_CLASS ELM_DAYSELECTOR_CLASS
 
 #define MY_CLASS_NAME "Elm_Dayselector"
diff --git a/src/lib/elm_diskselector.c b/src/lib/elm_diskselector.c
index 304ded6..02b5d67 100644
--- a/src/lib/elm_diskselector.c
+++ b/src/lib/elm_diskselector.c
@@ -2,19 +2,14 @@
 # include "elementary_config.h"
 #endif
 
+#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
+#define ELM_INTERFACE_ATSPI_WIDGET_ACTION_PROTECTED
+
 #include <Elementary.h>
 #include "elm_priv.h"
 #include "elm_widget_diskselector.h"
 #include "elm_interface_scrollable.h"
 
-#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
-#include "elm_interface_atspi_accessible.h"
-#include "elm_interface_atspi_accessible.eo.h"
-
-#define ELM_INTERFACE_ATSPI_WIDGET_ACTION_PROTECTED
-#include "elm_interface_atspi_widget_action.h"
-#include "elm_interface_atspi_widget_action.eo.h"
-
 #define DISPLAY_ITEM_NUM_MIN 3
 
 #define MY_CLASS ELM_DISKSELECTOR_CLASS
diff --git a/src/lib/elm_entry.c b/src/lib/elm_entry.c
index af407b6..7582ff1 100644
--- a/src/lib/elm_entry.c
+++ b/src/lib/elm_entry.c
@@ -2,6 +2,10 @@
 # include "elementary_config.h"
 #endif
 
+#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
+#define ELM_INTERFACE_ATSPI_TEXT_PROTECTED
+#define ELM_INTERFACE_ATSPI_EDITABLE_TEXT_PROTECTED
+
 #include <Elementary.h>
 #include <Elementary_Cursor.h>
 #include "elm_priv.h"
@@ -9,16 +13,6 @@
 
 #define MY_CLASS ELM_ENTRY_CLASS
 
-#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
-#define ELM_INTERFACE_ATSPI_TEXT_PROTECTED
-#define ELM_INTERFACE_ATSPI_EDITABLE_TEXT_PROTECTED
-
-#include "elm_interface_atspi_accessible.h"
-#include "elm_interface_atspi_accessible.eo.h"
-#include "elm_interface_atspi_text.h"
-#include "elm_interface_atspi_text.eo.h"
-#include "elm_interface_atspi_editable_text.eo.h"
-
 #define MY_CLASS_NAME "Elm_Entry"
 #define MY_CLASS_NAME_LEGACY "elm_entry"
 
diff --git a/src/lib/elm_flip.c b/src/lib/elm_flip.c
index a001c31..99f7458 100644
--- a/src/lib/elm_flip.c
+++ b/src/lib/elm_flip.c
@@ -2,15 +2,13 @@
 # include "elementary_config.h"
 #endif
 
+#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
+
 #include <Elementary.h>
 #include "elm_priv.h"
 #include "elm_widget_flip.h"
 #include "elm_widget_container.h"
 
-#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
-#include "elm_interface_atspi_accessible.h"
-#include "elm_interface_atspi_accessible.eo.h"
-
 #define MY_CLASS ELM_FLIP_CLASS
 
 #define MY_CLASS_NAME "Elm_Flip"
diff --git a/src/lib/elm_flipselector.c b/src/lib/elm_flipselector.c
index fd90c48..8d3ce13 100644
--- a/src/lib/elm_flipselector.c
+++ b/src/lib/elm_flipselector.c
@@ -2,19 +2,13 @@
 # include "elementary_config.h"
 #endif
 
+#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
+#define ELM_INTERFACE_ATSPI_WIDGET_ACTION_PROTECTED
+
 #include <Elementary.h>
 #include "elm_priv.h"
 #include "elm_widget_flipselector.h"
 
- 
-#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
-#include "elm_interface_atspi_accessible.h"
-#include "elm_interface_atspi_accessible.eo.h"
-
-#define ELM_INTERFACE_ATSPI_WIDGET_ACTION_PROTECTED
-#include "elm_interface_atspi_widget_action.h"
-#include "elm_interface_atspi_widget_action.eo.h"
-
 #define MY_CLASS ELM_FLIPSELECTOR_CLASS
 
 #define MY_CLASS_NAME "Elm_Flipselector"
diff --git a/src/lib/elm_frame.c b/src/lib/elm_frame.c
index d32a7eb..7720656 100644
--- a/src/lib/elm_frame.c
+++ b/src/lib/elm_frame.c
@@ -2,15 +2,13 @@
 # include "elementary_config.h"
 #endif
 
+#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
+
 #include <Elementary.h>
 #include "elm_priv.h"
 #include "elm_widget_frame.h"
 #include "elm_widget_layout.h"
 
-#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
-#include "elm_interface_atspi_accessible.h"
-#include "elm_interface_atspi_accessible.eo.h"
-
 #define MY_CLASS ELM_FRAME_CLASS
 
 #define MY_CLASS_NAME "Elm_Frame"
diff --git a/src/lib/elm_gengrid.c b/src/lib/elm_gengrid.c
index 9896479..9c2605b 100644
--- a/src/lib/elm_gengrid.c
+++ b/src/lib/elm_gengrid.c
@@ -2,20 +2,15 @@
 # include "elementary_config.h"
 #endif
 
+#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
+#define ELM_INTERFACE_ATSPI_WIDGET_ACTION_PROTECTED
+
 #include <Elementary.h>
 #include <Elementary_Cursor.h>
 #include "elm_priv.h"
 #include "elm_widget_gengrid.h"
 #include "elm_interface_scrollable.h"
 
-#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
-#include "elm_interface_atspi_accessible.h"
-#include "elm_interface_atspi_accessible.eo.h"
-
-#define ELM_INTERFACE_ATSPI_WIDGET_ACTION_PROTECTED
-#include "elm_interface_atspi_widget_action.h"
-#include "elm_interface_atspi_widget_action.eo.h"
-
 #define MY_PAN_CLASS ELM_GENGRID_PAN_CLASS
 
 #define MY_PAN_CLASS_NAME "Elm_Gengrid_Pan"
diff --git a/src/lib/elm_genlist.c b/src/lib/elm_genlist.c
index 9b4d889..061e0a4 100644
--- a/src/lib/elm_genlist.c
+++ b/src/lib/elm_genlist.c
@@ -4,6 +4,9 @@
 
 #include <fnmatch.h>
 
+#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
+#define ELM_INTERFACE_ATSPI_WIDGET_ACTION_PROTECTED
+
 #include <Elementary.h>
 #include <Elementary_Cursor.h>
 
@@ -11,14 +14,6 @@
 #include "elm_widget_genlist.h"
 #include "elm_interface_scrollable.h"
 
-#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
-#include "elm_interface_atspi_accessible.h"
-#include "elm_interface_atspi_accessible.eo.h"
-
-#define ELM_INTERFACE_ATSPI_WIDGET_ACTION_PROTECTED
-#include "elm_interface_atspi_widget_action.h"
-#include "elm_interface_atspi_widget_action.eo.h"
-
 #define MY_PAN_CLASS ELM_GENLIST_PAN_CLASS
 
 #define MY_PAN_CLASS_NAME "Elm_Genlist_Pan"
diff --git a/src/lib/elm_glview.c b/src/lib/elm_glview.c
index d805695..26c11a8 100644
--- a/src/lib/elm_glview.c
+++ b/src/lib/elm_glview.c
@@ -2,15 +2,13 @@
 # include "elementary_config.h"
 #endif
 
+#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
+
 #include <Elementary.h>
 
 #include "elm_priv.h"
 #include "elm_widget_glview.h"
 
-#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
-#include "elm_interface_atspi_accessible.h"
-#include "elm_interface_atspi_accessible.eo.h"
-
 #define MY_CLASS ELM_GLVIEW_CLASS
 
 #define MY_CLASS_NAME "Elm_Glview"
diff --git a/src/lib/elm_grid.c b/src/lib/elm_grid.c
index 6b41855..7c70351 100644
--- a/src/lib/elm_grid.c
+++ b/src/lib/elm_grid.c
@@ -2,15 +2,13 @@
 # include "elementary_config.h"
 #endif
 
+#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
+
 #include <Elementary.h>
 
 #include "elm_priv.h"
 #include "elm_widget_grid.h"
 
-#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
-#include "elm_interface_atspi_accessible.h"
-#include "elm_interface_atspi_accessible.eo.h"
-
 #define MY_CLASS ELM_GRID_CLASS
 #define MY_CLASS_NAME "Elm_Grid"
 #define MY_CLASS_NAME_LEGACY "elm_grid"
diff --git a/src/lib/elm_hover.c b/src/lib/elm_hover.c
index ecb2e22..66b6f61 100644
--- a/src/lib/elm_hover.c
+++ b/src/lib/elm_hover.c
@@ -2,15 +2,13 @@
 # include "elementary_config.h"
 #endif
 
+#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
+
 #include <Elementary.h>
 
 #include "elm_priv.h"
 #include "elm_widget_hover.h"
 
-#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
-#include "elm_interface_atspi_accessible.h"
-#include "elm_interface_atspi_accessible.eo.h"
-
 #define MY_CLASS ELM_HOVER_CLASS
 
 #define MY_CLASS_NAME "Elm_Hover"
diff --git a/src/lib/elm_icon.c b/src/lib/elm_icon.c
index 4af3b7a..55f4269 100644
--- a/src/lib/elm_icon.c
+++ b/src/lib/elm_icon.c
@@ -2,6 +2,8 @@
 # include "elementary_config.h"
 #endif
 
+#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
+
 #include <Elementary.h>
 
 #include "elm_priv.h"
@@ -11,10 +13,6 @@
 #define NON_EXISTING (void *)-1
 static const char *icon_theme = NULL;
 
-#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
-#include "elm_interface_atspi_accessible.h"
-#include "elm_interface_atspi_accessible.eo.h"
-
 #define MY_CLASS ELM_ICON_CLASS
 #define MY_CLASS_NAME "Elm_Icon"
 #define MY_CLASS_NAME_LEGACY "elm_icon"
diff --git a/src/lib/elm_image.c b/src/lib/elm_image.c
index 2e9b418..cab94bf 100644
--- a/src/lib/elm_image.c
+++ b/src/lib/elm_image.c
@@ -2,22 +2,15 @@
 # include "elementary_config.h"
 #endif
 
+#define ELM_INTERFACE_ATSPI_IMAGE_PROTECTED
+#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
+#define ELM_INTERFACE_ATSPI_WIDGET_ACTION_PROTECTED
+
 #include <Elementary.h>
 
 #include "elm_priv.h"
 #include "elm_widget_image.h"
 
-#define ELM_INTERFACE_ATSPI_IMAGE_PROTECTED
-#include "elm_interface_atspi_image.eo.h"
-
-#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
-#include "elm_interface_atspi_accessible.h"
-#include "elm_interface_atspi_accessible.eo.h"
-
-#define ELM_INTERFACE_ATSPI_WIDGET_ACTION_PROTECTED
-#include "elm_interface_atspi_widget_action.h"
-#include "elm_interface_atspi_widget_action.eo.h"
-
 #define FMT_SIZE_T "%zu"
 
 #define MY_CLASS ELM_IMAGE_CLASS
diff --git a/src/lib/elm_index.c b/src/lib/elm_index.c
index a94aa07..9fd65b9 100644
--- a/src/lib/elm_index.c
+++ b/src/lib/elm_index.c
@@ -2,6 +2,8 @@
 # include "elementary_config.h"
 #endif
 
+#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
+
 #include <Elementary.h>
 
 #include "elm_priv.h"
@@ -9,10 +11,6 @@
 #include "elm_widget_layout.h"
 #include "elm_widget_index.h"
 
-#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
-#include "elm_interface_atspi_accessible.h"
-#include "elm_interface_atspi_accessible.eo.h"
-
 #define MY_CLASS ELM_INDEX_CLASS
 
 #define MY_CLASS_NAME "Elm_Index"
diff --git a/src/lib/elm_interface_atspi_accessible.c 
b/src/lib/elm_interface_atspi_accessible.c
index 7c2eb23..4ddb369 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 <Elementary.h>
 #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)
diff --git a/src/lib/elm_interface_atspi_accessible.eo 
b/src/lib/elm_interface_atspi_accessible.eo
index 28cf467..9ee5980 100644
--- a/src/lib/elm_interface_atspi_accessible.eo
+++ b/src/lib/elm_interface_atspi_accessible.eo
@@ -75,7 +75,7 @@ mixin Elm_Interface_Atspi_Accessible ()
             int idx;
          }
       }
-      description {
+      description @protected {
          get {
             /*@ Gets widget contextual information. */
          }
diff --git a/src/lib/elm_interface_atspi_accessible.h 
b/src/lib/elm_interface_atspi_accessible.h
index b38ef08..32c9b95 100644
--- a/src/lib/elm_interface_atspi_accessible.h
+++ b/src/lib/elm_interface_atspi_accessible.h
@@ -1,3 +1,7 @@
+#ifndef ELM_INTERFACE_ATSPI_ACCESSIBLE_H
+#define ELM_INTERFACE_ATSPI_ACCESSIBLE_H
+
+#ifdef EFL_BETA_API_SUPPORT
 
 /**
  * ATSPI object state set.
@@ -250,7 +254,9 @@ typedef struct _Elm_Atspi_Relation Elm_Atspi_Relation;
 /**
  * Free Elm_Atspi_Attributes_List
  */
-void elm_atspi_attributes_list_free(Eina_List *list);
+EAPI void elm_atspi_attributes_list_free(Eina_List *list);
+
+#ifdef EFL_EO_API_SUPPORT
 
 /**
  * Emits ATSPI 'StateChanged' dbus signal.
@@ -316,3 +322,12 @@ void elm_atspi_attributes_list_free(Eina_List *list);
  */
 #define 
elm_interface_atspi_accessible_active_descendants_changed_signal_emit(obj, 
desc) \
    eo_do(obj, 
eo_event_callback_call(ELM_INTERFACE_ATSPI_ACCESSIBLE_EVENT_ACTIVE_DESCENDANT_CHANGED,
 desc));
+
+#include "elm_interface_atspi_accessible.eo.h"
+#endif
+#ifndef EFL_NOLEGACY_API_SUPPORT
+#include "elm_interface_atspi_accessible.eo.legacy.h"
+#endif
+
+#endif
+#endif
diff --git a/src/lib/elm_interface_atspi_action.c 
b/src/lib/elm_interface_atspi_action.c
index ef3d9d0..14e3808 100644
--- a/src/lib/elm_interface_atspi_action.c
+++ b/src/lib/elm_interface_atspi_action.c
@@ -2,14 +2,12 @@
   #include "elementary_config.h"
 #endif
 
+#define ELM_INTERFACE_ATSPI_ACTION_PROTECTED
+
 #include <Elementary.h>
 #include "elm_widget.h"
 #include "elm_priv.h"
 
-#define ELM_INTERFACE_ATSPI_ACTION_PROTECTED
-
-#include "elm_interface_atspi_action.eo.h"
-
 EOLIAN const char *
 _elm_interface_atspi_action_localized_name_get(Eo *obj, void *pd EINA_UNUSED, 
int id)
 {
diff --git a/src/lib/elm_interface_atspi_component.c 
b/src/lib/elm_interface_atspi_component.c
index 0f0f48a..6218df4 100644
--- a/src/lib/elm_interface_atspi_component.c
+++ b/src/lib/elm_interface_atspi_component.c
@@ -3,14 +3,10 @@
 #endif
 
 #define ELM_INTERFACE_ATSPI_COMPONENT_PROTECTED
-#include "atspi/atspi-constants.h"
 
 #include <Elementary.h>
 
 #include "elm_priv.h"
-#include "elm_interface_atspi_component.eo.h"
-#include "elm_interface_atspi_accessible.h"
-#include "elm_interface_atspi_accessible.eo.h"
 
 
 EOLIAN static void
diff --git a/src/lib/elm_interface_atspi_component.eo 
b/src/lib/elm_interface_atspi_component.eo
index 39c77ce..9955ffb 100644
--- a/src/lib/elm_interface_atspi_component.eo
+++ b/src/lib/elm_interface_atspi_component.eo
@@ -92,7 +92,7 @@ mixin Elm_Interface_Atspi_Component ()
          }
          return: bool;
       }
-      focus_grab {
+      focus_grab @protected {
          /*@ Focuses accessible widget.
 
          @return true if focus grab focus has successed, false otherwise. */
diff --git a/src/lib/elm_interface_atspi_editable_text.c 
b/src/lib/elm_interface_atspi_editable_text.c
index 8a0a9c9..bebe223 100644
--- a/src/lib/elm_interface_atspi_editable_text.c
+++ b/src/lib/elm_interface_atspi_editable_text.c
@@ -2,11 +2,10 @@
   #include "elementary_config.h"
 #endif
 
+#define ELM_INTERFACE_ATSPI_EDITABLE_TEXT_PROTECTED
+
 #include <Elementary.h>
 #include "elm_widget.h"
 #include "elm_priv.h"
 
-#define ELM_INTERFACE_ATSPI_EDITABLE_TEXT_PROTECTED
-
-#include "elm_interface_atspi_editable_text.eo.h"
 #include "elm_interface_atspi_editable_text.eo.c"
diff --git a/src/lib/elm_interface_atspi_image.c 
b/src/lib/elm_interface_atspi_image.c
index bc4df19..05c3928 100644
--- a/src/lib/elm_interface_atspi_image.c
+++ b/src/lib/elm_interface_atspi_image.c
@@ -2,14 +2,12 @@
   #include "elementary_config.h"
 #endif
 
+#define ELM_INTERFACE_ATSPI_IMAGE_PROTECTED
+
 #include <Elementary.h>
 #include "elm_widget.h"
 #include "elm_priv.h"
 
-#define ELM_INTERFACE_ATSPI_IMAGE_PROTECTED
-
-#include "elm_interface_atspi_image.eo.h"
-
 static void
 _free_desc(void *data)
 {
diff --git a/src/lib/elm_interface_atspi_image.eo 
b/src/lib/elm_interface_atspi_image.eo
index 5483efc..6d9ea80 100644
--- a/src/lib/elm_interface_atspi_image.eo
+++ b/src/lib/elm_interface_atspi_image.eo
@@ -18,7 +18,7 @@ mixin Elm_Interface_Atspi_Image ()
             int height;
          }
       }
-      description {
+      description @protected {
          get {
             /* Gets textual description of image */
          }
diff --git a/src/lib/elm_interface_atspi_selection.c 
b/src/lib/elm_interface_atspi_selection.c
index 31519f4..5e2c1e7 100644
--- a/src/lib/elm_interface_atspi_selection.c
+++ b/src/lib/elm_interface_atspi_selection.c
@@ -2,11 +2,10 @@
   #include "elementary_config.h"
 #endif
 
+#define ELM_INTERFACE_ATSPI_VALUE_PROTECTED
+
 #include <Elementary.h>
 #include "elm_widget.h"
 #include "elm_priv.h"
 
-#define ELM_INTERFACE_ATSPI_VALUE_PROTECTED
-
-#include "elm_interface_atspi_selection.eo.h"
 #include "elm_interface_atspi_selection.eo.c"
diff --git a/src/lib/elm_interface_atspi_text.c 
b/src/lib/elm_interface_atspi_text.c
index 39e0e77..792d27c 100644
--- a/src/lib/elm_interface_atspi_text.c
+++ b/src/lib/elm_interface_atspi_text.c
@@ -2,17 +2,14 @@
   #include "elementary_config.h"
 #endif
 
+#define ELM_INTERFACE_ATSPI_TEXT_PROTECTED
+
 #include <Elementary.h>
 #include "elm_widget.h"
 #include "elm_priv.h"
 
-#define ELM_INTERFACE_ATSPI_TEXT_PROTECTED
-
-#include "elm_interface_atspi_text.h"
-#include "elm_interface_atspi_text.eo.h"
-
 void
-elm_atspi_text_text_attribute_free(Elm_Atspi_Text_Attribute *attr)
+EAPI elm_atspi_text_text_attribute_free(Elm_Atspi_Text_Attribute *attr)
 {
    if (!attr) return;
    if (attr->name) eina_stringshare_del(attr->name);
diff --git a/src/lib/elm_interface_atspi_text.h 
b/src/lib/elm_interface_atspi_text.h
index 2af4365..be1abc6 100644
--- a/src/lib/elm_interface_atspi_text.h
+++ b/src/lib/elm_interface_atspi_text.h
@@ -1,3 +1,7 @@
+#ifndef ELM_INTERFACE_ATSPI_TEXT_H
+#define ELM_INTERFACE_ATSPI_TEXT_H
+
+#ifdef EFL_BETA_API_SUPPORT
 
 enum _Elm_Atspi_Text_Granulatity
 {
@@ -40,7 +44,7 @@ typedef enum _Elm_Atspi_Text_Clip_Type 
Elm_Atspi_Text_Clip_Type;
 /**
  * @brief Free Elm_Atspi_Text_Attribute structure
  */
-void elm_atspi_text_text_attribute_free(Elm_Atspi_Text_Attribute *attr);
+EAPI void elm_atspi_text_text_attribute_free(Elm_Atspi_Text_Attribute *attr);
 
 typedef struct _Elm_Atspi_Text_Change_Info Elm_Atspi_Text_Change_Info;
 
@@ -51,3 +55,13 @@ struct _Elm_Atspi_Text_Change_Info
    size_t pos;
    size_t len;
 };
+
+#ifdef EFL_EO_API_SUPPORT
+#include "elm_interface_atspi_text.eo.h"
+#endif
+#ifndef EFL_NOLEGACY_API_SUPPORT
+#include "elm_interface_atspi_text.eo.legacy.h"
+#endif
+
+#endif
+#endif
diff --git a/src/lib/elm_interface_atspi_value.c 
b/src/lib/elm_interface_atspi_value.c
index f42f03b..f51a0a9 100644
--- a/src/lib/elm_interface_atspi_value.c
+++ b/src/lib/elm_interface_atspi_value.c
@@ -2,11 +2,10 @@
   #include "elementary_config.h"
 #endif
 
+#define ELM_INTERFACE_ATSPI_VALUE_PROTECTED
+
 #include <Elementary.h>
 #include "elm_widget.h"
 #include "elm_priv.h"
 
-#define ELM_INTERFACE_ATSPI_VALUE_PROTECTED
-
-#include "elm_interface_atspi_value.eo.h"
 #include "elm_interface_atspi_value.eo.c"
diff --git a/src/lib/elm_interface_atspi_widget.c 
b/src/lib/elm_interface_atspi_widget.c
index c524611..cf04d89 100644
--- a/src/lib/elm_interface_atspi_widget.c
+++ b/src/lib/elm_interface_atspi_widget.c
@@ -2,20 +2,15 @@
   #include "elementary_config.h"
 #endif
 
+#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
+#define ELM_INTERFACE_ATSPI_COMPONENT_PROTECTED
+
 #include <Elementary.h>
 #include "elm_widget.h"
 #include "elm_priv.h"
 
 #include "assert.h"
 
-#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
-#define ELM_INTERFACE_ATSPI_COMPONENT_PROTECTED
-
-#include "elm_interface_atspi_accessible.h"
-#include "elm_interface_atspi_accessible.eo.h"
-#include "elm_interface_atspi_component.eo.h"
-#include "elm_interface_atspi_widget.eo.h"
-
 typedef struct _Elm_Interface_Atspi_Widget_Data 
Elm_Interface_Atspi_Widget_Data;
 
 struct _Elm_Interface_Atspi_Widget_Data {
diff --git a/src/lib/elm_interface_atspi_widget_action.c 
b/src/lib/elm_interface_atspi_widget_action.c
index 8ab5e06..1cc2b58 100644
--- a/src/lib/elm_interface_atspi_widget_action.c
+++ b/src/lib/elm_interface_atspi_widget_action.c
@@ -2,16 +2,12 @@
   #include "elementary_config.h"
 #endif
 
-#include <Elementary.h>
-#include "elm_widget.h"
-#include "elm_priv.h"
-
 #define ELM_INTERFACE_ATSPI_ACTION_PROTECTED
 #define ELM_INTERFACE_ATSPI_WIDGET_ACTION_PROTECTED
 
-#include "elm_interface_atspi_action.eo.h"
-#include "elm_interface_atspi_widget_action.h"
-#include "elm_interface_atspi_widget_action.eo.h"
+#include <Elementary.h>
+#include "elm_widget.h"
+#include "elm_priv.h"
 
 extern Eina_Hash *_elm_key_bindings;
 
diff --git a/src/lib/elm_interface_atspi_widget_action.h 
b/src/lib/elm_interface_atspi_widget_action.h
index 8002edf..329e229 100644
--- a/src/lib/elm_interface_atspi_widget_action.h
+++ b/src/lib/elm_interface_atspi_widget_action.h
@@ -1,3 +1,7 @@
+#ifndef ELM_INTERFACE_ATSPI_WIDGET_ACTION_H
+#define ELM_INTERFACE_ATSPI_WIDGET_ACTION_H
+
+#ifdef EFL_BETA_API_SUPPORT
 
 struct _Elm_Atspi_Action
 {
@@ -8,3 +12,13 @@ struct _Elm_Atspi_Action
 };
 
 typedef struct _Elm_Atspi_Action Elm_Atspi_Action;
+
+#ifdef EFL_EO_API_SUPPORT
+#include "elm_interface_atspi_widget_action.eo.h"
+#endif
+#ifndef EFL_NOLEGACY_API_SUPPORT
+#include "elm_interface_atspi_widget_action.eo.legacy.h"
+#endif
+
+#endif
+#endif
diff --git a/src/lib/elm_interface_atspi_window.c 
b/src/lib/elm_interface_atspi_window.c
index 6a45800..7ef0c18 100644
--- a/src/lib/elm_interface_atspi_window.c
+++ b/src/lib/elm_interface_atspi_window.c
@@ -6,5 +6,4 @@
 #include "elm_widget.h"
 #include "elm_priv.h"
 
-#include "elm_interface_atspi_window.eo.h"
 #include "elm_interface_atspi_window.eo.c"
diff --git a/src/lib/elm_interfaces.h b/src/lib/elm_interfaces.h
index aa170aa..a77c8cb 100644
--- a/src/lib/elm_interfaces.h
+++ b/src/lib/elm_interfaces.h
@@ -1,5 +1,29 @@
+#include "elm_interface_atspi_accessible.h"
+#include "elm_interface_atspi_text.h"
+#include "elm_interface_atspi_widget_action.h"
+
 #ifdef EFL_EO_API_SUPPORT
 #include "elm_interface_scrollable.h"
+#ifdef EFL_BETA_API_SUPPORT
+#include "elm_interface_atspi_action.eo.h"
+#include "elm_interface_atspi_component.eo.h"
+#include "elm_interface_atspi_editable_text.eo.h"
+#include "elm_interface_atspi_image.eo.h"
+#include "elm_interface_atspi_selection.eo.h"
+#include "elm_interface_atspi_value.eo.h"
+#include "elm_interface_atspi_widget.eo.h"
+#include "elm_interface_atspi_window.eo.h"
+#endif
 #endif
 #ifndef EFL_NOLEGACY_API_SUPPORT
+#ifdef EFL_BETA_API_SUPPORT
+#include "elm_interface_atspi_action.eo.legacy.h"
+#include "elm_interface_atspi_component.eo.legacy.h"
+#include "elm_interface_atspi_editable_text.eo.legacy.h"
+#include "elm_interface_atspi_image.eo.legacy.h"
+#include "elm_interface_atspi_selection.eo.legacy.h"
+#include "elm_interface_atspi_value.eo.legacy.h"
+#include "elm_interface_atspi_widget.eo.legacy.h"
+#include "elm_interface_atspi_window.eo.legacy.h"
+#endif
 #endif
diff --git a/src/lib/elm_inwin.c b/src/lib/elm_inwin.c
index cf6a21c..f6abc2c 100644
--- a/src/lib/elm_inwin.c
+++ b/src/lib/elm_inwin.c
@@ -2,16 +2,14 @@
 # include "elementary_config.h"
 #endif
 
+#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
+
 #include <Elementary.h>
 
 #include "elm_priv.h"
 #include "elm_widget_inwin.h"
 #include "elm_widget_layout.h"
 
-#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
-#include "elm_interface_atspi_accessible.h"
-#include "elm_interface_atspi_accessible.eo.h"
-
 #define MY_CLASS ELM_INWIN_CLASS
 
 #define MY_CLASS_NAME "Elm_Inwin"
diff --git a/src/lib/elm_label.c b/src/lib/elm_label.c
index dc938f2..24c6474 100644
--- a/src/lib/elm_label.c
+++ b/src/lib/elm_label.c
@@ -2,16 +2,14 @@
 # include "elementary_config.h"
 #endif
 
+#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
+
 #include <Elementary.h>
 
 #include "elm_priv.h"
 #include "elm_widget_layout.h"
 #include "elm_widget_label.h"
 
-#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
-#include "elm_interface_atspi_accessible.h"
-#include "elm_interface_atspi_accessible.eo.h"
-
 #define MY_CLASS ELM_LABEL_CLASS
 
 #define MY_CLASS_NAME "Elm_Label"
diff --git a/src/lib/elm_layout.c b/src/lib/elm_layout.c
index 59e0410..7c0675e 100644
--- a/src/lib/elm_layout.c
+++ b/src/lib/elm_layout.c
@@ -2,15 +2,13 @@
 # include "elementary_config.h"
 #endif
 
+#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
+
 #include <Elementary.h>
 
 #include "elm_priv.h"
 #include "elm_widget_layout.h"
 
-#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
-#include "elm_interface_atspi_accessible.h"
-#include "elm_interface_atspi_accessible.eo.h"
-
 #define MY_CLASS ELM_LAYOUT_CLASS
 
 #define MY_CLASS_NAME "Elm_Layout"
diff --git a/src/lib/elm_list.c b/src/lib/elm_list.c
index 25ed9c7..37c3b9d 100644
--- a/src/lib/elm_list.c
+++ b/src/lib/elm_list.c
@@ -2,20 +2,15 @@
 # include "elementary_config.h"
 #endif
 
+#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
+#define ELM_INTERFACE_ATSPI_WIDGET_ACTION_PROTECTED
+
 #include <Elementary.h>
 
 #include "elm_priv.h"
 #include "elm_widget_list.h"
 #include "elm_interface_scrollable.h"
 
-#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
-#include "elm_interface_atspi_accessible.h"
-#include "elm_interface_atspi_accessible.eo.h"
-
-#define ELM_INTERFACE_ATSPI_WIDGET_ACTION_PROTECTED
-#include "elm_interface_atspi_widget_action.h"
-#include "elm_interface_atspi_widget_action.eo.h"
-
 #define MY_CLASS ELM_LIST_CLASS
 
 #define MY_CLASS_NAME "Elm_List"
diff --git a/src/lib/elm_map.c b/src/lib/elm_map.c
index 6d28fbd..ea574e9 100644
--- a/src/lib/elm_map.c
+++ b/src/lib/elm_map.c
@@ -2,20 +2,15 @@
 # include "elementary_config.h"
 #endif
 
+#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
+#define ELM_INTERFACE_ATSPI_WIDGET_ACTION_PROTECTED
+
 #include <Elementary.h>
 
 #include "elm_priv.h"
 #include "elm_widget_map.h"
 #include "elm_interface_scrollable.h"
 
-#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
-#include "elm_interface_atspi_accessible.h"
-#include "elm_interface_atspi_accessible.eo.h"
-
-#define ELM_INTERFACE_ATSPI_WIDGET_ACTION_PROTECTED
-#include "elm_interface_atspi_widget_action.h"
-#include "elm_interface_atspi_widget_action.eo.h"
-
 #define MY_PAN_CLASS ELM_MAP_PAN_CLASS
 
 #define MY_PAN_CLASS_NAME "Elm_Map_Pan"
diff --git a/src/lib/elm_mapbuf.c b/src/lib/elm_mapbuf.c
index 367f99e..cf2f7fc 100644
--- a/src/lib/elm_mapbuf.c
+++ b/src/lib/elm_mapbuf.c
@@ -2,16 +2,14 @@
 # include "elementary_config.h"
 #endif
 
+#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
+
 #include <Elementary.h>
 
 #include "elm_priv.h"
 #include "elm_widget_mapbuf.h"
 #include "elm_widget_container.h"
 
-#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
-#include "elm_interface_atspi_accessible.h"
-#include "elm_interface_atspi_accessible.eo.h"
-
 #define MY_CLASS ELM_MAPBUF_CLASS
 
 #define MY_CLASS_NAME "Elm_Mapbuf"
diff --git a/src/lib/elm_menu.c b/src/lib/elm_menu.c
index 95ce2bb..cf255f7 100644
--- a/src/lib/elm_menu.c
+++ b/src/lib/elm_menu.c
@@ -2,15 +2,13 @@
 # include "elementary_config.h"
 #endif
 
+#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
+
 #include <Elementary.h>
 
 #include "elm_priv.h"
 #include "elm_widget_menu.h"
 
-#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
-#include "elm_interface_atspi_accessible.h"
-#include "elm_interface_atspi_accessible.eo.h"
-
 #define MY_CLASS ELM_MENU_CLASS
 
 #define MY_CLASS_NAME "Elm_Menu"
diff --git a/src/lib/elm_notify.c b/src/lib/elm_notify.c
index 60307a1..92bff96 100644
--- a/src/lib/elm_notify.c
+++ b/src/lib/elm_notify.c
@@ -2,16 +2,14 @@
 # include "elementary_config.h"
 #endif
 
+#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
+
 #include <Elementary.h>
 
 #include "elm_priv.h"
 #include "elm_widget_notify.h"
 #include "elm_widget_container.h"
 
-#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
-#include "elm_interface_atspi_accessible.h"
-#include "elm_interface_atspi_accessible.eo.h"
-
 #define MY_CLASS ELM_NOTIFY_CLASS
 
 #define MY_CLASS_NAME "Elm_Notify"
diff --git a/src/lib/elm_panel.c b/src/lib/elm_panel.c
index 945ca6b..65e778a 100644
--- a/src/lib/elm_panel.c
+++ b/src/lib/elm_panel.c
@@ -2,6 +2,9 @@
 # include "elementary_config.h"
 #endif
 
+#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
+#define ELM_INTERFACE_ATSPI_WIDGET_ACTION_PROTECTED
+
 #include <Elementary.h>
 
 #include "elm_priv.h"
@@ -9,14 +12,6 @@
 
 #include "els_box.h"
 
-#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
-#include "elm_interface_atspi_accessible.h"
-#include "elm_interface_atspi_accessible.eo.h"
-
-#define ELM_INTERFACE_ATSPI_WIDGET_ACTION_PROTECTED
-#include "elm_interface_atspi_widget_action.h"
-#include "elm_interface_atspi_widget_action.eo.h"
-
 #define MY_CLASS ELM_PANEL_CLASS
 
 #define MY_CLASS_NAME "Elm_Panel"
diff --git a/src/lib/elm_panes.c b/src/lib/elm_panes.c
index 5c0bc1a..0f8d2a4 100644
--- a/src/lib/elm_panes.c
+++ b/src/lib/elm_panes.c
@@ -2,16 +2,14 @@
 # include "elementary_config.h"
 #endif
 
+#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
+
 #include <Elementary.h>
 
 #include "elm_priv.h"
 #include "elm_widget_layout.h"
 #include "elm_widget_panes.h"
 
-#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
-#include "elm_interface_atspi_accessible.h"
-#include "elm_interface_atspi_accessible.eo.h"
-
 #define MY_CLASS ELM_PANES_CLASS
 
 #define MY_CLASS_NAME "Elm_Panes"
diff --git a/src/lib/elm_photo.c b/src/lib/elm_photo.c
index c14c357..d16a54c 100644
--- a/src/lib/elm_photo.c
+++ b/src/lib/elm_photo.c
@@ -2,15 +2,13 @@
 # include "elementary_config.h"
 #endif
 
+#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
+
 #include <Elementary.h>
 
 #include "elm_priv.h"
 #include "elm_widget_photo.h"
 
-#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
-#include "elm_interface_atspi_accessible.h"
-#include "elm_interface_atspi_accessible.eo.h"
-
 #define MY_CLASS ELM_PHOTO_CLASS
 
 #define MY_CLASS_NAME "Elm_Photo"
diff --git a/src/lib/elm_photocam.c b/src/lib/elm_photocam.c
index efeca66..dc88c0b 100644
--- a/src/lib/elm_photocam.c
+++ b/src/lib/elm_photocam.c
@@ -2,20 +2,15 @@
 # include "elementary_config.h"
 #endif
 
+#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
+#define ELM_INTERFACE_ATSPI_WIDGET_ACTION_PROTECTED
+
 #include <Elementary.h>
 
 #include "elm_priv.h"
 #include "elm_widget_photocam.h"
 #include "elm_interface_scrollable.h"
 
-#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
-#include "elm_interface_atspi_accessible.h"
-#include "elm_interface_atspi_accessible.eo.h"
-
-#define ELM_INTERFACE_ATSPI_WIDGET_ACTION_PROTECTED
-#include "elm_interface_atspi_widget_action.h"
-#include "elm_interface_atspi_widget_action.eo.h"
-
 #define MY_PAN_CLASS ELM_PHOTOCAM_PAN_CLASS
 
 #define MY_PAN_CLASS_NAME "Elm_Photocam_Pan"
diff --git a/src/lib/elm_plug.c b/src/lib/elm_plug.c
index a668098..68bcd8b 100644
--- a/src/lib/elm_plug.c
+++ b/src/lib/elm_plug.c
@@ -2,15 +2,13 @@
 # include "elementary_config.h"
 #endif
 
+#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
+
 #include <Elementary.h>
 
 #include "elm_priv.h"
 #include "elm_widget_plug.h"
 
-#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
-#include "elm_interface_atspi_accessible.h"
-#include "elm_interface_atspi_accessible.eo.h"
-
 #define MY_CLASS ELM_PLUG_CLASS
 
 #define MY_CLASS_NAME "Elm_Plug"
diff --git a/src/lib/elm_prefs.c b/src/lib/elm_prefs.c
index 12e4302..822f7c9 100644
--- a/src/lib/elm_prefs.c
+++ b/src/lib/elm_prefs.c
@@ -2,6 +2,8 @@
 # include "elementary_config.h"
 #endif
 
+#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
+
 #include <Elementary.h>
 
 #include "elm_priv.h"
@@ -10,10 +12,6 @@
 
 #include "Eo.h"
 
-#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
-#include "elm_interface_atspi_accessible.h"
-#include "elm_interface_atspi_accessible.eo.h"
-
 #define MY_CLASS ELM_PREFS_CLASS
 
 #define MY_CLASS_NAME "Elm_Prefs"
diff --git a/src/lib/elm_progressbar.c b/src/lib/elm_progressbar.c
index fd85bc6..27b7d3b 100644
--- a/src/lib/elm_progressbar.c
+++ b/src/lib/elm_progressbar.c
@@ -2,16 +2,14 @@
 # include "elementary_config.h"
 #endif
 
+#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
+
 #include <Elementary.h>
 
 #include "elm_priv.h"
 #include "elm_widget_progressbar.h"
 #include "elm_widget_layout.h"
 
-#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
-#include "elm_interface_atspi_accessible.h"
-#include "elm_interface_atspi_accessible.eo.h"
-
 #define MY_CLASS ELM_PROGRESSBAR_CLASS
 
 #define MY_CLASS_NAME "Elm_Progressbar"
diff --git a/src/lib/elm_radio.c b/src/lib/elm_radio.c
index 0a4741e..da253f1 100644
--- a/src/lib/elm_radio.c
+++ b/src/lib/elm_radio.c
@@ -2,20 +2,15 @@
 # include "elementary_config.h"
 #endif
 
+#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
+#define ELM_INTERFACE_ATSPI_WIDGET_ACTION_PROTECTED
+
 #include <Elementary.h>
 
 #include "elm_priv.h"
 #include "elm_widget_radio.h"
 #include "elm_widget_layout.h"
 
-#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
-#include "elm_interface_atspi_accessible.h"
-#include "elm_interface_atspi_accessible.eo.h"
-
-#define ELM_INTERFACE_ATSPI_WIDGET_ACTION_PROTECTED
-#include "elm_interface_atspi_widget_action.h"
-#include "elm_interface_atspi_widget_action.eo.h"
-
 #define MY_CLASS ELM_RADIO_CLASS
 
 #define MY_CLASS_NAME "Elm_Radio"
diff --git a/src/lib/elm_scroller.c b/src/lib/elm_scroller.c
index fc26e68..c59c0fb 100644
--- a/src/lib/elm_scroller.c
+++ b/src/lib/elm_scroller.c
@@ -2,6 +2,9 @@
 # include "elementary_config.h"
 #endif
 
+#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
+#define ELM_INTERFACE_ATSPI_WIDGET_ACTION_PROTECTED
+
 #include <Elementary.h>
 
 #include "elm_priv.h"
@@ -9,14 +12,6 @@
 #include "elm_widget_layout.h"
 #include "elm_widget_scroller.h"
 
-#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
-#include "elm_interface_atspi_accessible.h"
-#include "elm_interface_atspi_accessible.eo.h"
-
-#define ELM_INTERFACE_ATSPI_WIDGET_ACTION_PROTECTED
-#include "elm_interface_atspi_widget_action.h"
-#include "elm_interface_atspi_widget_action.eo.h"
-
 #define MY_CLASS ELM_SCROLLER_CLASS
 
 #define MY_CLASS_NAME "Elm_Scroller"
diff --git a/src/lib/elm_segment_control.c b/src/lib/elm_segment_control.c
index c256ceb..5b95220 100644
--- a/src/lib/elm_segment_control.c
+++ b/src/lib/elm_segment_control.c
@@ -2,15 +2,13 @@
 # include "elementary_config.h"
 #endif
 
+#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
+
 #include <Elementary.h>
 
 #include "elm_priv.h"
 #include "elm_widget_segment_control.h"
 
-#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
-#include "elm_interface_atspi_accessible.h"
-#include "elm_interface_atspi_accessible.eo.h"
-
 #define MY_CLASS ELM_SEGMENT_CONTROL_CLASS
 
 #define MY_CLASS_NAME "Elm_Segment_Control"
diff --git a/src/lib/elm_separator.c b/src/lib/elm_separator.c
index fd95d8a..55d9a9b 100644
--- a/src/lib/elm_separator.c
+++ b/src/lib/elm_separator.c
@@ -2,16 +2,14 @@
 # include "elementary_config.h"
 #endif
 
+#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
+
 #include <Elementary.h>
 
 #include "elm_priv.h"
 #include "elm_widget_separator.h"
 #include "elm_widget_layout.h"
 
-#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
-#include "elm_interface_atspi_accessible.h"
-#include "elm_interface_atspi_accessible.eo.h"
-
 #define MY_CLASS ELM_SEPARATOR_CLASS
 
 #define MY_CLASS_NAME "Elm_Separator"
diff --git a/src/lib/elm_slider.c b/src/lib/elm_slider.c
index ea753d5..82707ec 100644
--- a/src/lib/elm_slider.c
+++ b/src/lib/elm_slider.c
@@ -2,23 +2,16 @@
 # include "elementary_config.h"
 #endif
 
+#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
+#define ELM_INTERFACE_ATSPI_WIDGET_ACTION_PROTECTED
+#define ELM_INTERFACE_ATSPI_VALUE_PROTECTED
+
 #include <Elementary.h>
 
 #include "elm_priv.h"
 #include "elm_widget_slider.h"
 #include "elm_widget_layout.h"
 
-#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
-#include "elm_interface_atspi_accessible.h"
-#include "elm_interface_atspi_accessible.eo.h"
-
-#define ELM_INTERFACE_ATSPI_WIDGET_ACTION_PROTECTED
-#include "elm_interface_atspi_widget_action.h"
-#include "elm_interface_atspi_widget_action.eo.h"
-
-#define ELM_INTERFACE_ATSPI_VALUE_PROTECTED
-#include "elm_interface_atspi_value.eo.h"
-
 #define MY_CLASS ELM_SLIDER_CLASS
 
 #define MY_CLASS_NAME "Elm_Slider"
diff --git a/src/lib/elm_slideshow.c b/src/lib/elm_slideshow.c
index ae4d00b..7e930e2 100644
--- a/src/lib/elm_slideshow.c
+++ b/src/lib/elm_slideshow.c
@@ -2,19 +2,14 @@
 # include "elementary_config.h"
 #endif
 
+#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
+#define ELM_INTERFACE_ATSPI_WIDGET_ACTION_PROTECTED
+
 #include <Elementary.h>
 
 #include "elm_priv.h"
 #include "elm_widget_slideshow.h"
 
-#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
-#include "elm_interface_atspi_accessible.h"
-#include "elm_interface_atspi_accessible.eo.h"
-
-#define ELM_INTERFACE_ATSPI_WIDGET_ACTION_PROTECTED
-#include "elm_interface_atspi_widget_action.h"
-#include "elm_interface_atspi_widget_action.eo.h"
-
 #define MY_CLASS ELM_SLIDESHOW_CLASS
 
 #define MY_CLASS_NAME "Elm_Slideshow"
diff --git a/src/lib/elm_spinner.c b/src/lib/elm_spinner.c
index 20b1c0c..7043b39 100644
--- a/src/lib/elm_spinner.c
+++ b/src/lib/elm_spinner.c
@@ -2,6 +2,10 @@
 # include "elementary_config.h"
 #endif
 
+#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
+#define ELM_INTERFACE_ATSPI_VALUE_PROTECTED
+#define ELM_INTERFACE_ATSPI_WIDGET_ACTION_PROTECTED
+
 #include <Elementary.h>
 #include <ctype.h>
 
@@ -10,17 +14,6 @@
 
 #include "Eo.h"
 
-#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
-#include "elm_interface_atspi_accessible.h"
-#include "elm_interface_atspi_accessible.eo.h"
-
-#define ELM_INTERFACE_ATSPI_VALUE_PROTECTED
-#include "elm_interface_atspi_value.eo.h"
-
-#define ELM_INTERFACE_ATSPI_WIDGET_ACTION_PROTECTED
-#include "elm_interface_atspi_widget_action.h"
-#include "elm_interface_atspi_widget_action.eo.h"
-
 #define MY_CLASS ELM_SPINNER_CLASS
 
 #define MY_CLASS_NAME "Elm_Spinner"
diff --git a/src/lib/elm_table.c b/src/lib/elm_table.c
index b39db12..973c5b9 100644
--- a/src/lib/elm_table.c
+++ b/src/lib/elm_table.c
@@ -2,15 +2,13 @@
 # include "elementary_config.h"
 #endif
 
+#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
+
 #include <Elementary.h>
 
 #include "elm_priv.h"
 #include "elm_widget_table.h"
 
-#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
-#include "elm_interface_atspi_accessible.h"
-#include "elm_interface_atspi_accessible.eo.h"
-
 #define MY_CLASS ELM_TABLE_CLASS
 
 #define MY_CLASS_NAME "Elm_Table"
diff --git a/src/lib/elm_thumb.c b/src/lib/elm_thumb.c
index 1b3749c..ddc9134 100644
--- a/src/lib/elm_thumb.c
+++ b/src/lib/elm_thumb.c
@@ -2,15 +2,13 @@
 # include "elementary_config.h"
 #endif
 
+#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
+
 #include <Elementary.h>
 
 #include "elm_priv.h"
 #include "elm_widget_thumb.h"
 
-#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
-#include "elm_interface_atspi_accessible.h"
-#include "elm_interface_atspi_accessible.eo.h"
-
 #define MY_CLASS_NAME "Elm_Thumb"
 #define MY_CLASS_NAME_LEGACY "elm_thumb"
 
diff --git a/src/lib/elm_toolbar.c b/src/lib/elm_toolbar.c
index 82793e4..29e1171 100644
--- a/src/lib/elm_toolbar.c
+++ b/src/lib/elm_toolbar.c
@@ -2,20 +2,15 @@
 # include "elementary_config.h"
 #endif
 
+#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
+#define ELM_INTERFACE_ATSPI_WIDGET_ACTION_PROTECTED
+
 #include <Elementary.h>
 
 #include "elm_priv.h"
 #include "elm_widget_toolbar.h"
 #include "els_box.h"
 
-#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
-#include "elm_interface_atspi_accessible.h"
-#include "elm_interface_atspi_accessible.eo.h"
-
-#define ELM_INTERFACE_ATSPI_WIDGET_ACTION_PROTECTED
-#include "elm_interface_atspi_widget_action.h"
-#include "elm_interface_atspi_widget_action.eo.h"
-
 #define MY_CLASS ELM_TOOLBAR_CLASS
 
 #define MY_CLASS_NAME "Elm_Toolbar"
diff --git a/src/lib/elm_video.c b/src/lib/elm_video.c
index c4b25ee..b589dd2 100644
--- a/src/lib/elm_video.c
+++ b/src/lib/elm_video.c
@@ -4,6 +4,9 @@
 
 #include <Emotion.h>
 
+#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
+#define ELM_INTERFACE_ATSPI_WIDGET_ACTION_PROTECTED
+
 #include <Elementary.h>
 
 #include "elm_priv.h"
@@ -13,14 +16,6 @@
 /* TODO: add buffering support to Emotion and display buffering
  * progress in the theme when needed */
 
-#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
-#include "elm_interface_atspi_accessible.h"
-#include "elm_interface_atspi_accessible.eo.h"
-
-#define ELM_INTERFACE_ATSPI_WIDGET_ACTION_PROTECTED
-#include "elm_interface_atspi_widget_action.h"
-#include "elm_interface_atspi_widget_action.eo.h"
-
 #define MY_CLASS ELM_VIDEO_CLASS
 
 #define MY_CLASS_NAME "Elm_Video"
diff --git a/src/lib/elm_web2.c b/src/lib/elm_web2.c
index ad4aa3f..4106693 100644
--- a/src/lib/elm_web2.c
+++ b/src/lib/elm_web2.c
@@ -2,6 +2,8 @@
 # include "elementary_config.h"
 #endif
 
+#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
+
 #include <Elementary.h>
 
 #include "elm_priv.h"
@@ -11,10 +13,6 @@
 #include <EWebKit2.h>
 #endif
 
-#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
-#include "elm_interface_atspi_accessible.h"
-#include "elm_interface_atspi_accessible.eo.h"
-
 #define MY_CLASS ELM_WEB_CLASS
 
 #define MY_CLASS_NAME "Elm_Web"
diff --git a/src/lib/elm_widget.c b/src/lib/elm_widget.c
index d6af6ff..ab312b9 100644
--- a/src/lib/elm_widget.c
+++ b/src/lib/elm_widget.c
@@ -7,7 +7,6 @@
 #include "elm_priv.h"
 #include "elm_widget_container.h"
 #include "elm_interface_scrollable.h"
-#include "elm_interface_atspi_widget.eo.h"
 
 #define MY_CLASS ELM_WIDGET_CLASS
 
diff --git a/src/lib/elm_win.c b/src/lib/elm_win.c
index c7e3466..8945f54 100644
--- a/src/lib/elm_win.c
+++ b/src/lib/elm_win.c
@@ -2,23 +2,15 @@
 # include "elementary_config.h"
 #endif
 
+#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
+#define ELM_INTERFACE_ATSPI_WIDGET_ACTION_PROTECTED
+
 #include <Elementary.h>
 #include <Elementary_Cursor.h>
 
 #include "elm_priv.h"
 #include "elm_widget_menu.h"
 
-#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
-
-#include "elm_interface_atspi_accessible.h"
-#include "elm_interface_atspi_accessible.eo.h"
-#include "elm_interface_atspi_window.eo.h"
-#include "elm_interface_atspi_widget.eo.h"
-
-#define ELM_INTERFACE_ATSPI_WIDGET_ACTION_PROTECTED
-#include "elm_interface_atspi_widget_action.h"
-#include "elm_interface_atspi_widget_action.eo.h"
-
 #define MY_CLASS ELM_WIN_CLASS
 
 #define MY_CLASS_NAME "Elm_Win"

-- 


Reply via email to