summaryrefslogtreecommitdiff
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
parent22c90c4e1fd3737d28a1c21f4ec9419d18092b94 (diff)
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 @@
1/**
2 * @defgroup Access2 Access2
3 * @ingroup Elementary
4 *
5 */
6
7#include "elm_access2.eo.h"
8
9typedef enum
10{
11 ELM_ACCESS2_ROLE_INVALID,
12 ELM_ACCESS2_ROLE_ACCELERATOR_LABEL,
13 ELM_ACCESS2_ROLE_ALERT,
14 ELM_ACCESS2_ROLE_ANIMATION,
15 ELM_ACCESS2_ROLE_ARROW,
16 ELM_ACCESS2_ROLE_CALENDAR,
17 ELM_ACCESS2_ROLE_CANVAS,
18 ELM_ACCESS2_ROLE_CHECK_BOX,
19 ELM_ACCESS2_ROLE_CHECK_MENU_ITEM,
20 ELM_ACCESS2_ROLE_COLOR_CHOOSER,
21 ELM_ACCESS2_ROLE_COLUMN_HEADER,
22 ELM_ACCESS2_ROLE_COMBO_BOX,
23 ELM_ACCESS2_ROLE_DATE_EDITOR,
24 ELM_ACCESS2_ROLE_DESKTOP_ICON,
25 ELM_ACCESS2_ROLE_DESKTOP_FRAME,
26 ELM_ACCESS2_ROLE_DIAL,
27 ELM_ACCESS2_ROLE_DIALOG,
28 ELM_ACCESS2_ROLE_DIRECTORY_PANE,
29 ELM_ACCESS2_ROLE_DRAWING_AREA,
30 ELM_ACCESS2_ROLE_FILE_CHOOSER,
31 ELM_ACCESS2_ROLE_FILLER,
32 ELM_ACCESS2_ROLE_FOCUS_TRAVERSABLE,
33 ELM_ACCESS2_ROLE_FONT_CHOOSER,
34 ELM_ACCESS2_ROLE_FRAME,
35 ELM_ACCESS2_ROLE_GLASS_PANE,
36 ELM_ACCESS2_ROLE_HTML_CONTAINER,
37 ELM_ACCESS2_ROLE_ICON,
38 ELM_ACCESS2_ROLE_IMAGE,
39 ELM_ACCESS2_ROLE_INTERNAL_FRAME,
40 ELM_ACCESS2_ROLE_LABEL,
41 ELM_ACCESS2_ROLE_LAYERED_PANE,
42 ELM_ACCESS2_ROLE_LIST,
43 ELM_ACCESS2_ROLE_LIST_ITEM,
44 ELM_ACCESS2_ROLE_MENU,
45 ELM_ACCESS2_ROLE_MENU_BAR,
46 ELM_ACCESS2_ROLE_MENU_ITEM,
47 ELM_ACCESS2_ROLE_OPTION_PANE,
48 ELM_ACCESS2_ROLE_PAGE_TAB,
49 ELM_ACCESS2_ROLE_PAGE_TAB_LIST,
50 ELM_ACCESS2_ROLE_PANEL,
51 ELM_ACCESS2_ROLE_PASSWORD_TEXT,
52 ELM_ACCESS2_ROLE_POPUP_MENU,
53 ELM_ACCESS2_ROLE_PROGRESS_BAR,
54 ELM_ACCESS2_ROLE_PUSH_BUTTON,
55 ELM_ACCESS2_ROLE_RADIO_BUTTON,
56 ELM_ACCESS2_ROLE_RADIO_MENU_ITEM,
57 ELM_ACCESS2_ROLE_ROOT_PANE,
58 ELM_ACCESS2_ROLE_ROW_HEADER,
59 ELM_ACCESS2_ROLE_SCROLL_BAR,
60 ELM_ACCESS2_ROLE_SCROLL_PANE,
61 ELM_ACCESS2_ROLE_SEPARATOR,
62 ELM_ACCESS2_ROLE_SLIDER,
63 ELM_ACCESS2_ROLE_SPIN_BUTTON,
64 ELM_ACCESS2_ROLE_SPLIT_PANE,
65 ELM_ACCESS2_ROLE_STATUS_BAR,
66 ELM_ACCESS2_ROLE_TABLE,
67 ELM_ACCESS2_ROLE_TABLE_CELL,
68 ELM_ACCESS2_ROLE_TABLE_COLUMN_HEADER,
69 ELM_ACCESS2_ROLE_TABLE_ROW_HEADER,
70 ELM_ACCESS2_ROLE_TEAROFF_MENU_ITEM,
71 ELM_ACCESS2_ROLE_TERMINAL,
72 ELM_ACCESS2_ROLE_TEXT,
73 ELM_ACCESS2_ROLE_TOGGLE_BUTTON,
74 ELM_ACCESS2_ROLE_TOOL_BAR,
75 ELM_ACCESS2_ROLE_TOOL_TIP,
76 ELM_ACCESS2_ROLE_TREE,
77 ELM_ACCESS2_ROLE_TREE_TABLE,
78 ELM_ACCESS2_ROLE_UNKNOWN,
79 ELM_ACCESS2_ROLE_VIEWPORT,
80 ELM_ACCESS2_ROLE_WINDOW,
81 ELM_ACCESS2_ROLE_EXTENDED,
82 ELM_ACCESS2_ROLE_HEADER,
83 ELM_ACCESS2_ROLE_FOOTER,
84 ELM_ACCESS2_ROLE_PARAGRAPH,
85 ELM_ACCESS2_ROLE_RULER,
86 ELM_ACCESS2_ROLE_APPLICATION,
87 ELM_ACCESS2_ROLE_AUTOCOMPLETE,
88 ELM_ACCESS2_ROLE_EDITBAR,
89 ELM_ACCESS2_ROLE_EMBEDDED,
90 ELM_ACCESS2_ROLE_ENTRY,
91 ELM_ACCESS2_ROLE_CHART,
92 ELM_ACCESS2_ROLE_CAPTION,
93 ELM_ACCESS2_ROLE_DOCUMENT_FRAME,
94 ELM_ACCESS2_ROLE_HEADING,
95 ELM_ACCESS2_ROLE_PAGE,
96 ELM_ACCESS2_ROLE_SECTION,
97 ELM_ACCESS2_ROLE_REDUNDANT_OBJECT,
98 ELM_ACCESS2_ROLE_FORM,
99 ELM_ACCESS2_ROLE_LINK,
100 ELM_ACCESS2_ROLE_INPUT_METHOD_WINDOW,
101 ELM_ACCESS2_ROLE_TABLE_ROW,
102 ELM_ACCESS2_ROLE_TREE_ITEM,
103 ELM_ACCESS2_ROLE_DOCUMENT_SPREADSHEET,
104 ELM_ACCESS2_ROLE_DOCUMENT_PRESENTATION,
105 ELM_ACCESS2_ROLE_DOCUMENT_TEXT,
106 ELM_ACCESS2_ROLE_DOCUMENT_WEB,
107 ELM_ACCESS2_ROLE_DOCUMENT_EMAIL,
108 ELM_ACCESS2_ROLE_COMMENT,
109 ELM_ACCESS2_ROLE_LIST_BOX,
110 ELM_ACCESS2_ROLE_GROUPING,
111 ELM_ACCESS2_ROLE_IMAGE_MAP,
112 ELM_ACCESS2_ROLE_NOTIFICATION,
113 ELM_ACCESS2_ROLE_INFO_BAR,
114 ELM_ACCESS2_ROLE_LAST_DEFINED,
115} Elm_Access2_Role;
116
117enum
118{
119 ELM_ACCESS2_STATE_INVALID,
120 ELM_ACCESS2_STATE_ACTIVE,
121 ELM_ACCESS2_STATE_ARMED,
122 ELM_ACCESS2_STATE_BUSY,
123 ELM_ACCESS2_STATE_CHECKED,
124 ELM_ACCESS2_STATE_COLLAPSED,
125 ELM_ACCESS2_STATE_DEFUNCT,
126 ELM_ACCESS2_STATE_EDITABLE,
127 ELM_ACCESS2_STATE_ENABLED,
128 ELM_ACCESS2_STATE_EXPANDABLE,
129 ELM_ACCESS2_STATE_EXPANDED,
130 ELM_ACCESS2_STATE_FOCUSABLE,
131 ELM_ACCESS2_STATE_FOCUSED,
132 ELM_ACCESS2_STATE_HAS_TOOLTIP,
133 ELM_ACCESS2_STATE_HORIZONTAL,
134 ELM_ACCESS2_STATE_ICONIFIED,
135 ELM_ACCESS2_STATE_MODAL,
136 ELM_ACCESS2_STATE_MULTI_LINE,
137 ELM_ACCESS2_STATE_MULTISELECTABLE,
138 ELM_ACCESS2_STATE_OPAQUE,
139 ELM_ACCESS2_STATE_PRESSED,
140 ELM_ACCESS2_STATE_RESIZABLE,
141 ELM_ACCESS2_STATE_SELECTABLE,
142 ELM_ACCESS2_STATE_SELECTED,
143 ELM_ACCESS2_STATE_SENSITIVE,
144 ELM_ACCESS2_STATE_SHOWING,
145 ELM_ACCESS2_STATE_SINGLE_LINE,
146 ELM_ACCESS2_STATE_STALE,
147 ELM_ACCESS2_STATE_TRANSIENT,
148 ELM_ACCESS2_STATE_VERTICAL,
149 ELM_ACCESS2_STATE_VISIBLE,
150 ELM_ACCESS2_STATE_MANAGES_DESCENDANTS,
151 ELM_ACCESS2_STATE_INDETERMINATE,
152 ELM_ACCESS2_STATE_REQUIRED,
153 ELM_ACCESS2_STATE_TRUNCATED,
154 ELM_ACCESS2_STATE_ANIMATED,
155 ELM_ACCESS2_STATE_INVALID_ENTRY,
156 ELM_ACCESS2_STATE_SUPPORTS_AUTOCOMPLETION,
157 ELM_ACCESS2_STATE_SELECTABLE_TEXT,
158 ELM_ACCESS2_STATE_IS_DEFAULT,
159 ELM_ACCESS2_STATE_VISITED,
160 ELM_ACCESS2_STATE_LAST_DEFINED,
161} Elm_Access2_State;
162
163/**
164 * Elm_Atspi_Relation_Type describes relation between two objects.
165 */
166enum {
167 ELM_ACCESS2_RELATION_NULL,
168 ELM_ACCESS2_RELATION_LABEL_FOR,
169 ELM_ACCESS2_RELATION_LABELLED_BY,
170 ELM_ACCESS2_RELATION_CONTROLLER_FOR,
171 ELM_ACCESS2_RELATION_CONTROLLED_BY,
172 ELM_ACCESS2_RELATION_MEMBER_OF,
173 ELM_ACCESS2_RELATION_TOOLTIP_FOR,
174 ELM_ACCESS2_RELATION_NODE_CHILD_OF,
175 ELM_ACCESS2_RELATION_NODE_PARENT_OF,
176 ELM_ACCESS2_RELATION_EXTENDED,
177 ELM_ACCESS2_RELATION_FLOWS_TO,
178 ELM_ACCESS2_RELATION_FLOWS_FROM,
179 ELM_ACCESS2_RELATION_SUBWINDOW_OF,
180 ELM_ACCESS2_RELATION_EMBEDS,
181 ELM_ACCESS2_RELATION_EMBEDDED_BY,
182 ELM_ACCESS2_RELATION_POPUP_FOR,
183 ELM_ACCESS2_RELATION_PARENT_WINDOW_OF,
184 ELM_ACCESS2_RELATION_DESCRIPTION_FOR,
185 ELM_ACCESS2_RELATION_DESCRIBED_BY,
186 ELM_ACCESS2_RELATION_LAST_DEFINED,
187} Elm_Access2_Relation;
188
189typedef Eo (*Factory_Construct_Cb)(const Eo *obj);
190
191/**
192 * @brief Creates accessible object from Eo object.
193 * @since 1.13
194 */
195EAPI Eo*
196elm_access2_object_factory_create(Eo *obj);
197
198/**
199 * @brief Utility function helping to
200 * @since 1.13
201 */
202EAPI Eina_Bool
203elm_access2_factory_type_register(Eo_Class *object_class, Factory_Construct_Cb cb);
204
205/**
206 * @brief
207 * @since 1.13
208 */
209EAPI Eina_Bool
210elm_access2_object_register(Eo *obj, Eo *accessible_object);
211
212/**
213 * @brief
214 * @since 1.13
215 */
216EAPI Eo*
217elm_access2_object_get(Eo *obj);
218
219/**
220 * @brief
221 * @since 1.13
222 */
223EAPI Eo*
224elm_access2_application_object_get(void);