aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukasz Stanislawski <l.stanislaws@samsung.com>2014-10-01 16:13:22 +0200
committerLukasz Stanislawski <l.stanislaws@samsung.com>2014-10-01 16:13:22 +0200
commit50d9c197968f1198dfa3319a0a99c748ff4a1a14 (patch)
tree0efe32771a7da877d4d75dad7023149836cef3d9
parentatspi: implement add/del callbacks. Add genlist item tests (diff)
downloadelementary-devs/stanluk/access2.tar.gz
add access2 prototypedevs/stanluk/access2
-rw-r--r--src/lib/elm_access2.c0
-rw-r--r--src/lib/elm_access2.eo0
-rw-r--r--src/lib/elm_access2.h224
3 files changed, 224 insertions, 0 deletions
diff --git a/src/lib/elm_access2.c b/src/lib/elm_access2.c
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/src/lib/elm_access2.c
diff --git a/src/lib/elm_access2.eo b/src/lib/elm_access2.eo
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/src/lib/elm_access2.eo
diff --git a/src/lib/elm_access2.h b/src/lib/elm_access2.h
new file mode 100644
index 000000000..f0b911ccf
--- /dev/null
+++ b/src/lib/elm_access2.h
@@ -0,0 +1,224 @@
+/**
+ * @defgroup Access2 Access2
+ * @ingroup Elementary
+ *
+ */
+
+#include "elm_access2.eo.h"
+
+typedef enum
+{
+ ELM_ACCESS2_ROLE_INVALID,
+ ELM_ACCESS2_ROLE_ACCELERATOR_LABEL,
+ ELM_ACCESS2_ROLE_ALERT,
+ ELM_ACCESS2_ROLE_ANIMATION,
+ ELM_ACCESS2_ROLE_ARROW,
+ ELM_ACCESS2_ROLE_CALENDAR,
+ ELM_ACCESS2_ROLE_CANVAS,
+ ELM_ACCESS2_ROLE_CHECK_BOX,
+ ELM_ACCESS2_ROLE_CHECK_MENU_ITEM,
+ ELM_ACCESS2_ROLE_COLOR_CHOOSER,
+ ELM_ACCESS2_ROLE_COLUMN_HEADER,
+ ELM_ACCESS2_ROLE_COMBO_BOX,
+ ELM_ACCESS2_ROL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UNDANT_OBJECT,
+ ELM_ACCESS2_ROLE_FORM,
+ ELM_ACCESS2_ROLE_LINK,
+ ELM_ACCESS2_ROLE_INPUT_METHOD_WINDOW,
+ ELM_ACCESS2_ROLE_TABLE_ROW,
+ ELM_ACCESS2_ROLE_TREE_ITEM,
+ ELM_ACCESS2_ROLE_DOCUMENT_SPREADSHEET,
+ ELM_ACCESS2_ROLE_DOCUMENT_PRESENTATION,
+ ELM_ACCESS2_ROLE_DOCUMENT_TEXT,
+ ELM_ACCESS2_ROLE_DOCUMENT_WEB,
+ ELM_ACCESS2_ROLE_DOCUMENT_EMAIL,
+ ELM_ACCESS2_ROLE_COMMENT,
+ ELM_ACCESS2_ROLE_LIST_BOX,
+ ELM_ACCESS2_ROLE_GROUPING,
+ ELM_ACCESS2_ROLE_IMAGE_MAP,
+ ELM_ACCESS2_ROLE_NOTIFICATION,
+ ELM_ACCESS2_ROLE_INFO_BAR,
+ ELM_ACCESS2_ROLE_LAST_DEFINED,
+} Elm_Access2_Role;
+
+enum
+{
+ ELM_ACCESS2_STATE_INVALID,
+ ELM_ACCESS2_STATE_ACTIVE,
+ ELM_ACCESS2_STATE_ARMED,
+ ELM_ACCESS2_STATE_BUSY,
+ ELM_ACCESS2_STATE_CHECKED,
+ ELM_ACCESS2_STATE_COLLAPSED,
+ ELM_ACCESS2_STATE_DEFUNCT,
+ ELM_ACCESS2_STATE_EDITABLE,
+ ELM_ACCESS2_STATE_ENABLED,
+ ELM_ACCESS2_STATE_EXPANDABLE,
+ ELM_ACCESS2_STATE_EXPANDED,
+ ELM_ACCESS2_STATE_FOCUSABLE,
+ ELM_ACCESS2_STATE_FOCUSED,
+ ELM_ACCESS2_STATE_HAS_TOOLTIP,
+ ELM_ACCESS2_STATE_HORIZONTAL,
+ ELM_ACCESS2_STATE_ICONIFIED,
+ ELM_ACCESS2_STATE_MODAL,
+ ELM_ACCESS2_STATE_MULTI_LINE,
+ ELM_ACCESS2_STATE_MULTISELECTABLE,
+ ELM_ACCESS2_STATE_OPAQUE,
+ ELM_ACCESS2_STATE_PRESSED,
+ ELM_ACCESS2_STATE_RESIZABLE,
+ ELM_ACCESS2_STATE_SELECTABLE,
+ ELM_ACCESS2_STATE_SELECTED,
+ ELM_ACCESS2_STATE_SENSITIVE,
+ ELM_ACCESS2_STATE_SHOWING,
+ ELM_ACCESS2_STATE_SINGLE_LINE,
+ ELM_ACCESS2_STATE_STALE,
+ ELM_ACCESS2_STATE_TRANSIENT,
+ ELM_ACCESS2_STATE_VERTICAL,
+ ELM_ACCESS2_STATE_VISIBLE,
+ ELM_ACCESS2_STATE_MANAGES_DESCENDANTS,
+ ELM_ACCESS2_STATE_INDETERMINATE,
+ ELM_ACCESS2_STATE_REQUIRED,
+ ELM_ACCESS2_STATE_TRUNCATED,
+ ELM_ACCESS2_STATE_ANIMATED,
+ ELM_ACCESS2_STATE_INVALID_ENTRY,
+ ELM_ACCESS2_STATE_SUPPORTS_AUTOCOMPLETION,
+ ELM_ACCESS2_STATE_SELECTABLE_TEXT,
+ ELM_ACCESS2_STATE_IS_DEFAULT,
+ ELM_ACCESS2_STATE_VISITED,
+ ELM_ACCESS2_STATE_LAST_DEFINED,
+} Elm_Access2_State;
+
+/**
+ * Elm_Atspi_Relation_Type describes relation between two objects.
+ */
+enum {
+ ELM_ACCESS2_RELATION_NULL,
+ ELM_ACCESS2_RELATION_LABEL_FOR,
+ ELM_ACCESS2_RELATION_LABELLED_BY,
+ ELM_ACCESS2_RELATION_CONTROLLER_FOR,
+ ELM_ACCESS2_RELATION_CONTROLLED_BY,
+ ELM_ACCESS2_RELATION_MEMBER_OF,
+ ELM_ACCESS2_RELATION_TOOLTIP_FOR,
+ ELM_ACCESS2_RELATION_NODE_CHILD_OF,
+ ELM_ACCESS2_RELATION_NODE_PARENT_OF,
+ ELM_ACCESS2_RELATION_EXTENDED,
+ ELM_ACCESS2_RELATION_FLOWS_TO,
+ ELM_ACCESS2_RELATION_FLOWS_FROM,
+ ELM_ACCESS2_RELATION_SUBWINDOW_OF,
+ ELM_ACCESS2_RELATION_EMBEDS,
+ ELM_ACCESS2_RELATION_EMBEDDED_BY,
+ ELM_ACCESS2_RELATION_POPUP_FOR,
+ ELM_ACCESS2_RELATION_PARENT_WINDOW_OF,
+ ELM_ACCESS2_RELATION_DESCRIPTION_FOR,
+ ELM_ACCESS2_RELATION_DESCRIBED_BY,
+ ELM_ACCESS2_RELATION_LAST_DEFINED,
+} Elm_Access2_Relation;
+
+typedef Eo (*Factory_Construct_Cb)(const Eo *obj);
+
+/**
+ * @brief Creates accessible object from Eo object.
+ * @since 1.13
+ */
+EAPI Eo*
+elm_access2_object_factory_create(Eo *obj);
+
+/**
+ * @brief Utility function helping to
+ * @since 1.13
+ */
+EAPI Eina_Bool
+elm_access2_factory_type_register(Eo_Class *object_class, Factory_Construct_Cb cb);
+
+/**
+ * @brief
+ * @since 1.13
+ */
+EAPI Eina_Bool
+elm_access2_object_register(Eo *obj, Eo *accessible_object);
+
+/**
+ * @brief
+ * @since 1.13
+ */
+EAPI Eo*
+elm_access2_object_get(Eo *obj);
+
+/**
+ * @brief
+ * @since 1.13
+ */
+EAPI Eo*
+elm_access2_application_object_get(void);