atk 2.2.4-x64-mingw32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (252) hide show
  1. checksums.yaml +7 -0
  2. data/README +30 -0
  3. data/Rakefile +31 -0
  4. data/ext/atk/atk.def +2 -0
  5. data/ext/atk/depend +11 -0
  6. data/ext/atk/extconf.rb +81 -0
  7. data/ext/atk/rbatk.c +66 -0
  8. data/ext/atk/rbatk.h +47 -0
  9. data/ext/atk/rbatkaction.c +85 -0
  10. data/ext/atk/rbatkcomponent.c +175 -0
  11. data/ext/atk/rbatkconversions.h +70 -0
  12. data/ext/atk/rbatkdocument.c +96 -0
  13. data/ext/atk/rbatkeditabletext.c +177 -0
  14. data/ext/atk/rbatkgobjectaccessible.c +46 -0
  15. data/ext/atk/rbatkhyperlink.c +71 -0
  16. data/ext/atk/rbatkhypertext.c +53 -0
  17. data/ext/atk/rbatkimage.c +68 -0
  18. data/ext/atk/rbatkimplementor.c +38 -0
  19. data/ext/atk/rbatknoopobject.c +40 -0
  20. data/ext/atk/rbatknoopobjectfactory.c +40 -0
  21. data/ext/atk/rbatkobject.c +153 -0
  22. data/ext/atk/rbatkobjectfactory.c +53 -0
  23. data/ext/atk/rbatkobjectrole.c +50 -0
  24. data/ext/atk/rbatkprivate.h +48 -0
  25. data/ext/atk/rbatkregistry.c +63 -0
  26. data/ext/atk/rbatkrelation.c +98 -0
  27. data/ext/atk/rbatkrelationset.c +95 -0
  28. data/ext/atk/rbatkrelationtype.c +38 -0
  29. data/ext/atk/rbatkselection.c +87 -0
  30. data/ext/atk/rbatkstate.c +51 -0
  31. data/ext/atk/rbatkstateset.c +180 -0
  32. data/ext/atk/rbatkstreamablecontent.c +57 -0
  33. data/ext/atk/rbatktable.c +271 -0
  34. data/ext/atk/rbatktext.c +318 -0
  35. data/ext/atk/rbatktextattribute.c +54 -0
  36. data/ext/atk/rbatktextrange.c +92 -0
  37. data/ext/atk/rbatktextrectangle.c +149 -0
  38. data/ext/atk/rbatkutil.c +122 -0
  39. data/ext/atk/rbatkvalue.c +78 -0
  40. data/extconf.rb +49 -0
  41. data/lib/2.0/atk.so +0 -0
  42. data/lib/2.1/atk.so +0 -0
  43. data/lib/2.2/atk.so +0 -0
  44. data/lib/atk.rb +21 -0
  45. data/test/atk-test-utils.rb +21 -0
  46. data/test/run-test.rb +45 -0
  47. data/test/test-text-rectangle.rb +26 -0
  48. data/vendor/local/bin/libatk-1.0-0.dll +0 -0
  49. data/vendor/local/include/atk-1.0/atk/atk-enum-types.h +63 -0
  50. data/vendor/local/include/atk-1.0/atk/atk.h +61 -0
  51. data/vendor/local/include/atk-1.0/atk/atkaction.h +117 -0
  52. data/vendor/local/include/atk-1.0/atk/atkcomponent.h +225 -0
  53. data/vendor/local/include/atk-1.0/atk/atkdocument.h +113 -0
  54. data/vendor/local/include/atk-1.0/atk/atkeditabletext.h +109 -0
  55. data/vendor/local/include/atk-1.0/atk/atkgobjectaccessible.h +68 -0
  56. data/vendor/local/include/atk-1.0/atk/atkhyperlink.h +114 -0
  57. data/vendor/local/include/atk-1.0/atk/atkhyperlinkimpl.h +68 -0
  58. data/vendor/local/include/atk-1.0/atk/atkhypertext.h +78 -0
  59. data/vendor/local/include/atk-1.0/atk/atkimage.h +90 -0
  60. data/vendor/local/include/atk-1.0/atk/atkmisc.h +112 -0
  61. data/vendor/local/include/atk-1.0/atk/atknoopobject.h +59 -0
  62. data/vendor/local/include/atk-1.0/atk/atknoopobjectfactory.h +59 -0
  63. data/vendor/local/include/atk-1.0/atk/atkobject.h +751 -0
  64. data/vendor/local/include/atk-1.0/atk/atkobjectfactory.h +72 -0
  65. data/vendor/local/include/atk-1.0/atk/atkplug.h +66 -0
  66. data/vendor/local/include/atk-1.0/atk/atkrange.h +59 -0
  67. data/vendor/local/include/atk-1.0/atk/atkregistry.h +74 -0
  68. data/vendor/local/include/atk-1.0/atk/atkrelation.h +99 -0
  69. data/vendor/local/include/atk-1.0/atk/atkrelationset.h +91 -0
  70. data/vendor/local/include/atk-1.0/atk/atkrelationtype.h +83 -0
  71. data/vendor/local/include/atk-1.0/atk/atkselection.h +100 -0
  72. data/vendor/local/include/atk-1.0/atk/atksocket.h +71 -0
  73. data/vendor/local/include/atk-1.0/atk/atkstate.h +190 -0
  74. data/vendor/local/include/atk-1.0/atk/atkstateset.h +92 -0
  75. data/vendor/local/include/atk-1.0/atk/atkstreamablecontent.h +110 -0
  76. data/vendor/local/include/atk-1.0/atk/atktable.h +233 -0
  77. data/vendor/local/include/atk-1.0/atk/atktablecell.h +104 -0
  78. data/vendor/local/include/atk-1.0/atk/atktext.h +453 -0
  79. data/vendor/local/include/atk-1.0/atk/atkutil.h +357 -0
  80. data/vendor/local/include/atk-1.0/atk/atkvalue.h +163 -0
  81. data/vendor/local/include/atk-1.0/atk/atkversion.h +394 -0
  82. data/vendor/local/include/atk-1.0/atk/atkwindow.h +53 -0
  83. data/vendor/local/lib/girepository-1.0/Atk-1.0.typelib +0 -0
  84. data/vendor/local/lib/libatk-1.0.dll.a +0 -0
  85. data/vendor/local/lib/libatk-1.0.la +41 -0
  86. data/vendor/local/lib/pkgconfig/atk.pc +11 -0
  87. data/vendor/local/share/gir-1.0/Atk-1.0.gir +15525 -0
  88. data/vendor/local/share/gtk-doc/html/atk/AtkAction.html +477 -0
  89. data/vendor/local/share/gtk-doc/html/atk/AtkComponent.html +1146 -0
  90. data/vendor/local/share/gtk-doc/html/atk/AtkDocument.html +714 -0
  91. data/vendor/local/share/gtk-doc/html/atk/AtkEditableText.html +429 -0
  92. data/vendor/local/share/gtk-doc/html/atk/AtkGObjectAccessible.html +166 -0
  93. data/vendor/local/share/gtk-doc/html/atk/AtkHyperlink.html +570 -0
  94. data/vendor/local/share/gtk-doc/html/atk/AtkHypertext.html +286 -0
  95. data/vendor/local/share/gtk-doc/html/atk/AtkImage.html +319 -0
  96. data/vendor/local/share/gtk-doc/html/atk/AtkMisc.html +191 -0
  97. data/vendor/local/share/gtk-doc/html/atk/AtkNoOpObject.html +130 -0
  98. data/vendor/local/share/gtk-doc/html/atk/AtkNoOpObjectFactory.html +107 -0
  99. data/vendor/local/share/gtk-doc/html/atk/AtkObject.html +3056 -0
  100. data/vendor/local/share/gtk-doc/html/atk/AtkObjectFactory.html +214 -0
  101. data/vendor/local/share/gtk-doc/html/atk/AtkRegistry.html +265 -0
  102. data/vendor/local/share/gtk-doc/html/atk/AtkRelation.html +659 -0
  103. data/vendor/local/share/gtk-doc/html/atk/AtkRelationSet.html +413 -0
  104. data/vendor/local/share/gtk-doc/html/atk/AtkSelection.html +453 -0
  105. data/vendor/local/share/gtk-doc/html/atk/AtkStateSet.html +539 -0
  106. data/vendor/local/share/gtk-doc/html/atk/AtkStreamableContent.html +274 -0
  107. data/vendor/local/share/gtk-doc/html/atk/AtkTable.html +1790 -0
  108. data/vendor/local/share/gtk-doc/html/atk/AtkTableCell.html +497 -0
  109. data/vendor/local/share/gtk-doc/html/atk/AtkText.html +2547 -0
  110. data/vendor/local/share/gtk-doc/html/atk/AtkUtil.html +1111 -0
  111. data/vendor/local/share/gtk-doc/html/atk/AtkValue.html +743 -0
  112. data/vendor/local/share/gtk-doc/html/atk/AtkWindow.html +452 -0
  113. data/vendor/local/share/gtk-doc/html/atk/accessibles.html +49 -0
  114. data/vendor/local/share/gtk-doc/html/atk/api-index-1-12.html +51 -0
  115. data/vendor/local/share/gtk-doc/html/atk/api-index-1-13.html +41 -0
  116. data/vendor/local/share/gtk-doc/html/atk/api-index-1-20.html +35 -0
  117. data/vendor/local/share/gtk-doc/html/atk/api-index-1-22.html +45 -0
  118. data/vendor/local/share/gtk-doc/html/atk/api-index-1-3.html +41 -0
  119. data/vendor/local/share/gtk-doc/html/atk/api-index-1-30.html +41 -0
  120. data/vendor/local/share/gtk-doc/html/atk/api-index-1-4.html +35 -0
  121. data/vendor/local/share/gtk-doc/html/atk/api-index-1-6.html +35 -0
  122. data/vendor/local/share/gtk-doc/html/atk/api-index-1-9.html +39 -0
  123. data/vendor/local/share/gtk-doc/html/atk/api-index-2-10.html +35 -0
  124. data/vendor/local/share/gtk-doc/html/atk/api-index-2-12.html +78 -0
  125. data/vendor/local/share/gtk-doc/html/atk/api-index-2-2.html +53 -0
  126. data/vendor/local/share/gtk-doc/html/atk/api-index-2-8.html +47 -0
  127. data/vendor/local/share/gtk-doc/html/atk/api-index-deprecated.html +119 -0
  128. data/vendor/local/share/gtk-doc/html/atk/api-index-full.html +775 -0
  129. data/vendor/local/share/gtk-doc/html/atk/atk-AtkHyperlinkImpl.html +142 -0
  130. data/vendor/local/share/gtk-doc/html/atk/atk-AtkPlug.html +147 -0
  131. data/vendor/local/share/gtk-doc/html/atk/atk-AtkRange.html +328 -0
  132. data/vendor/local/share/gtk-doc/html/atk/atk-AtkSocket.html +207 -0
  133. data/vendor/local/share/gtk-doc/html/atk/atk-AtkState.html +556 -0
  134. data/vendor/local/share/gtk-doc/html/atk/atk-Versioning-Utilities.html +293 -0
  135. data/vendor/local/share/gtk-doc/html/atk/atk.devhelp2 +441 -0
  136. data/vendor/local/share/gtk-doc/html/atk/atkobject.html +33 -0
  137. data/vendor/local/share/gtk-doc/html/atk/data.html +49 -0
  138. data/vendor/local/share/gtk-doc/html/atk/deprecated.html +33 -0
  139. data/vendor/local/share/gtk-doc/html/atk/home.png +0 -0
  140. data/vendor/local/share/gtk-doc/html/atk/index.html +175 -0
  141. data/vendor/local/share/gtk-doc/html/atk/index.sgml +632 -0
  142. data/vendor/local/share/gtk-doc/html/atk/interfaces.html +89 -0
  143. data/vendor/local/share/gtk-doc/html/atk/left-insensitive.png +0 -0
  144. data/vendor/local/share/gtk-doc/html/atk/left.png +0 -0
  145. data/vendor/local/share/gtk-doc/html/atk/overview.html +47 -0
  146. data/vendor/local/share/gtk-doc/html/atk/right-insensitive.png +0 -0
  147. data/vendor/local/share/gtk-doc/html/atk/right.png +0 -0
  148. data/vendor/local/share/gtk-doc/html/atk/style.css +476 -0
  149. data/vendor/local/share/gtk-doc/html/atk/toolkit.html +33 -0
  150. data/vendor/local/share/gtk-doc/html/atk/up-insensitive.png +0 -0
  151. data/vendor/local/share/gtk-doc/html/atk/up.png +0 -0
  152. data/vendor/local/share/gtk-doc/html/atk/utilities.html +47 -0
  153. data/vendor/local/share/license/atk/AUTHORS +18 -0
  154. data/vendor/local/share/license/atk/COPYING +482 -0
  155. data/vendor/local/share/locale/af/LC_MESSAGES/atk10.mo +0 -0
  156. data/vendor/local/share/locale/am/LC_MESSAGES/atk10.mo +0 -0
  157. data/vendor/local/share/locale/an/LC_MESSAGES/atk10.mo +0 -0
  158. data/vendor/local/share/locale/ar/LC_MESSAGES/atk10.mo +0 -0
  159. data/vendor/local/share/locale/as/LC_MESSAGES/atk10.mo +0 -0
  160. data/vendor/local/share/locale/ast/LC_MESSAGES/atk10.mo +0 -0
  161. data/vendor/local/share/locale/az/LC_MESSAGES/atk10.mo +0 -0
  162. data/vendor/local/share/locale/be/LC_MESSAGES/atk10.mo +0 -0
  163. data/vendor/local/share/locale/be@latin/LC_MESSAGES/atk10.mo +0 -0
  164. data/vendor/local/share/locale/bg/LC_MESSAGES/atk10.mo +0 -0
  165. data/vendor/local/share/locale/bn/LC_MESSAGES/atk10.mo +0 -0
  166. data/vendor/local/share/locale/bn_IN/LC_MESSAGES/atk10.mo +0 -0
  167. data/vendor/local/share/locale/bs/LC_MESSAGES/atk10.mo +0 -0
  168. data/vendor/local/share/locale/ca/LC_MESSAGES/atk10.mo +0 -0
  169. data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/atk10.mo +0 -0
  170. data/vendor/local/share/locale/cs/LC_MESSAGES/atk10.mo +0 -0
  171. data/vendor/local/share/locale/cy/LC_MESSAGES/atk10.mo +0 -0
  172. data/vendor/local/share/locale/da/LC_MESSAGES/atk10.mo +0 -0
  173. data/vendor/local/share/locale/de/LC_MESSAGES/atk10.mo +0 -0
  174. data/vendor/local/share/locale/dz/LC_MESSAGES/atk10.mo +0 -0
  175. data/vendor/local/share/locale/el/LC_MESSAGES/atk10.mo +0 -0
  176. data/vendor/local/share/locale/en@shaw/LC_MESSAGES/atk10.mo +0 -0
  177. data/vendor/local/share/locale/en_CA/LC_MESSAGES/atk10.mo +0 -0
  178. data/vendor/local/share/locale/en_GB/LC_MESSAGES/atk10.mo +0 -0
  179. data/vendor/local/share/locale/eo/LC_MESSAGES/atk10.mo +0 -0
  180. data/vendor/local/share/locale/es/LC_MESSAGES/atk10.mo +0 -0
  181. data/vendor/local/share/locale/et/LC_MESSAGES/atk10.mo +0 -0
  182. data/vendor/local/share/locale/eu/LC_MESSAGES/atk10.mo +0 -0
  183. data/vendor/local/share/locale/fa/LC_MESSAGES/atk10.mo +0 -0
  184. data/vendor/local/share/locale/fi/LC_MESSAGES/atk10.mo +0 -0
  185. data/vendor/local/share/locale/fr/LC_MESSAGES/atk10.mo +0 -0
  186. data/vendor/local/share/locale/ga/LC_MESSAGES/atk10.mo +0 -0
  187. data/vendor/local/share/locale/gl/LC_MESSAGES/atk10.mo +0 -0
  188. data/vendor/local/share/locale/gu/LC_MESSAGES/atk10.mo +0 -0
  189. data/vendor/local/share/locale/he/LC_MESSAGES/atk10.mo +0 -0
  190. data/vendor/local/share/locale/hi/LC_MESSAGES/atk10.mo +0 -0
  191. data/vendor/local/share/locale/hr/LC_MESSAGES/atk10.mo +0 -0
  192. data/vendor/local/share/locale/hu/LC_MESSAGES/atk10.mo +0 -0
  193. data/vendor/local/share/locale/hy/LC_MESSAGES/atk10.mo +0 -0
  194. data/vendor/local/share/locale/id/LC_MESSAGES/atk10.mo +0 -0
  195. data/vendor/local/share/locale/is/LC_MESSAGES/atk10.mo +0 -0
  196. data/vendor/local/share/locale/it/LC_MESSAGES/atk10.mo +0 -0
  197. data/vendor/local/share/locale/ja/LC_MESSAGES/atk10.mo +0 -0
  198. data/vendor/local/share/locale/ka/LC_MESSAGES/atk10.mo +0 -0
  199. data/vendor/local/share/locale/kk/LC_MESSAGES/atk10.mo +0 -0
  200. data/vendor/local/share/locale/km/LC_MESSAGES/atk10.mo +0 -0
  201. data/vendor/local/share/locale/kn/LC_MESSAGES/atk10.mo +0 -0
  202. data/vendor/local/share/locale/ko/LC_MESSAGES/atk10.mo +0 -0
  203. data/vendor/local/share/locale/ku/LC_MESSAGES/atk10.mo +0 -0
  204. data/vendor/local/share/locale/li/LC_MESSAGES/atk10.mo +0 -0
  205. data/vendor/local/share/locale/lt/LC_MESSAGES/atk10.mo +0 -0
  206. data/vendor/local/share/locale/lv/LC_MESSAGES/atk10.mo +0 -0
  207. data/vendor/local/share/locale/mai/LC_MESSAGES/atk10.mo +0 -0
  208. data/vendor/local/share/locale/mk/LC_MESSAGES/atk10.mo +0 -0
  209. data/vendor/local/share/locale/ml/LC_MESSAGES/atk10.mo +0 -0
  210. data/vendor/local/share/locale/mn/LC_MESSAGES/atk10.mo +0 -0
  211. data/vendor/local/share/locale/mr/LC_MESSAGES/atk10.mo +0 -0
  212. data/vendor/local/share/locale/ms/LC_MESSAGES/atk10.mo +0 -0
  213. data/vendor/local/share/locale/nb/LC_MESSAGES/atk10.mo +0 -0
  214. data/vendor/local/share/locale/ne/LC_MESSAGES/atk10.mo +0 -0
  215. data/vendor/local/share/locale/nl/LC_MESSAGES/atk10.mo +0 -0
  216. data/vendor/local/share/locale/nn/LC_MESSAGES/atk10.mo +0 -0
  217. data/vendor/local/share/locale/oc/LC_MESSAGES/atk10.mo +0 -0
  218. data/vendor/local/share/locale/or/LC_MESSAGES/atk10.mo +0 -0
  219. data/vendor/local/share/locale/pa/LC_MESSAGES/atk10.mo +0 -0
  220. data/vendor/local/share/locale/pl/LC_MESSAGES/atk10.mo +0 -0
  221. data/vendor/local/share/locale/ps/LC_MESSAGES/atk10.mo +0 -0
  222. data/vendor/local/share/locale/pt/LC_MESSAGES/atk10.mo +0 -0
  223. data/vendor/local/share/locale/pt_BR/LC_MESSAGES/atk10.mo +0 -0
  224. data/vendor/local/share/locale/ro/LC_MESSAGES/atk10.mo +0 -0
  225. data/vendor/local/share/locale/ru/LC_MESSAGES/atk10.mo +0 -0
  226. data/vendor/local/share/locale/rw/LC_MESSAGES/atk10.mo +0 -0
  227. data/vendor/local/share/locale/si/LC_MESSAGES/atk10.mo +0 -0
  228. data/vendor/local/share/locale/sk/LC_MESSAGES/atk10.mo +0 -0
  229. data/vendor/local/share/locale/sl/LC_MESSAGES/atk10.mo +0 -0
  230. data/vendor/local/share/locale/sq/LC_MESSAGES/atk10.mo +0 -0
  231. data/vendor/local/share/locale/sr/LC_MESSAGES/atk10.mo +0 -0
  232. data/vendor/local/share/locale/sr@ije/LC_MESSAGES/atk10.mo +0 -0
  233. data/vendor/local/share/locale/sr@latin/LC_MESSAGES/atk10.mo +0 -0
  234. data/vendor/local/share/locale/sv/LC_MESSAGES/atk10.mo +0 -0
  235. data/vendor/local/share/locale/ta/LC_MESSAGES/atk10.mo +0 -0
  236. data/vendor/local/share/locale/te/LC_MESSAGES/atk10.mo +0 -0
  237. data/vendor/local/share/locale/tg/LC_MESSAGES/atk10.mo +0 -0
  238. data/vendor/local/share/locale/th/LC_MESSAGES/atk10.mo +0 -0
  239. data/vendor/local/share/locale/tk/LC_MESSAGES/atk10.mo +0 -0
  240. data/vendor/local/share/locale/tr/LC_MESSAGES/atk10.mo +0 -0
  241. data/vendor/local/share/locale/tt/LC_MESSAGES/atk10.mo +0 -0
  242. data/vendor/local/share/locale/ug/LC_MESSAGES/atk10.mo +0 -0
  243. data/vendor/local/share/locale/uk/LC_MESSAGES/atk10.mo +0 -0
  244. data/vendor/local/share/locale/vi/LC_MESSAGES/atk10.mo +0 -0
  245. data/vendor/local/share/locale/wa/LC_MESSAGES/atk10.mo +0 -0
  246. data/vendor/local/share/locale/xh/LC_MESSAGES/atk10.mo +0 -0
  247. data/vendor/local/share/locale/yi/LC_MESSAGES/atk10.mo +0 -0
  248. data/vendor/local/share/locale/zh_CN/LC_MESSAGES/atk10.mo +0 -0
  249. data/vendor/local/share/locale/zh_HK/LC_MESSAGES/atk10.mo +0 -0
  250. data/vendor/local/share/locale/zh_TW/LC_MESSAGES/atk10.mo +0 -0
  251. data/vendor/local/share/locale/zu/LC_MESSAGES/atk10.mo +0 -0
  252. metadata +307 -0
@@ -0,0 +1,394 @@
1
+ /* ATK - Accessibility Toolkit
2
+ *
3
+ * Copyright (C) 2012 Igalia, S.L.
4
+ * Copyright (C) 2014 Chun-wei Fan
5
+ *
6
+ * Author: Alejandro Pi�eiro Iglesias <apinheiro@igalia.com>
7
+ *
8
+ * This library is free software; you can redistribute it and/or
9
+ * modify it under the terms of the GNU Library General Public
10
+ * License as published by the Free Software Foundation; either
11
+ * version 2 of the License, or (at your option) any later version.
12
+ *
13
+ * This library is distributed in the hope that it will be useful,
14
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
15
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16
+ * Library General Public License for more details.
17
+ *
18
+ * You should have received a copy of the GNU Library General Public
19
+ * License along with this library; if not, write to the
20
+ * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
21
+ * Boston, MA 02111-1307, USA.
22
+ */
23
+
24
+ #if defined(ATK_DISABLE_SINGLE_INCLUDES) && !defined (__ATK_H_INSIDE__) && !defined (ATK_COMPILATION)
25
+ #error "Only <atk/atk.h> can be included directly."
26
+ #endif
27
+
28
+ #ifndef __ATK_VERSION_H__
29
+ #define __ATK_VERSION_H__
30
+
31
+ #include <glib.h>
32
+
33
+ /**
34
+ * ATK_MAJOR_VERSION:
35
+ *
36
+ * Like atk_get_major_version(), but from the headers used at
37
+ * application compile time, rather than from the library linked
38
+ * against at application run time.
39
+ *
40
+ * Since: 2.7.4
41
+ */
42
+ #define ATK_MAJOR_VERSION (2)
43
+
44
+ /**
45
+ * ATK_MINOR_VERSION:
46
+ *
47
+ * Like atk_get_minor_version(), but from the headers used at
48
+ * application compile time, rather than from the library linked
49
+ * against at application run time.
50
+ *
51
+ * Since: 2.7.4
52
+ */
53
+ #define ATK_MINOR_VERSION (14)
54
+
55
+ /**
56
+ * ATK_MICRO_VERSION:
57
+ *
58
+ * Like atk_get_micro_version(), but from the headers used at
59
+ * application compile time, rather than from the library linked
60
+ * against at application run time.
61
+ *
62
+ * Since: 2.7.4
63
+ */
64
+ #define ATK_MICRO_VERSION (0)
65
+
66
+ /**
67
+ * ATK_BINARY_AGE:
68
+ *
69
+ * Like atk_get_binary_age(), but from the headers used at
70
+ * application compile time, rather than from the library linked
71
+ * against at application run time.
72
+ *
73
+ * Since: 2.7.4
74
+ */
75
+ #define ATK_BINARY_AGE (21410)
76
+
77
+ /**
78
+ * ATK_INTERFACE_AGE:
79
+ *
80
+ * Like atk_get_interface_age(), but from the headers used at
81
+ * application compile time, rather than from the library linked
82
+ * against at application run time.
83
+ *
84
+ * Since: 2.7.4
85
+ */
86
+ #define ATK_INTERFACE_AGE (1)
87
+
88
+ /**
89
+ * ATK_CHECK_VERSION:
90
+ * @major: major version (e.g. 1 for version 1.2.5)
91
+ * @minor: minor version (e.g. 2 for version 1.2.5)
92
+ * @micro: micro version (e.g. 5 for version 1.2.5)
93
+ *
94
+ * Returns %TRUE if the version of the ATK header files is the same as
95
+ * or newer than the passed-in version.
96
+ *
97
+ * Since: 2.7.4
98
+ */
99
+ #define ATK_CHECK_VERSION(major,minor,micro) \
100
+ (ATK_MAJOR_VERSION > (major) || \
101
+ (ATK_MAJOR_VERSION == (major) && ATK_MINOR_VERSION > (minor)) || \
102
+ (ATK_MAJOR_VERSION == (major) && ATK_MINOR_VERSION == (minor) && \
103
+ ATK_MICRO_VERSION >= (micro)))
104
+
105
+ #ifndef _ATK_EXTERN
106
+ #define _ATK_EXTERN extern
107
+ #endif
108
+
109
+ /**
110
+ * ATK_VERSION_2_2:
111
+ *
112
+ * A macro that evaluates to the 2.2 version of ATK, in a format
113
+ * that can be used by the C pre-processor.
114
+ *
115
+ * Since: 2.14
116
+ */
117
+ #define ATK_VERSION_2_2 (G_ENCODE_VERSION (2, 2))
118
+
119
+ /**
120
+ * ATK_VERSION_2_4:
121
+ *
122
+ * A macro that evaluates to the 2.4 version of ATK, in a format
123
+ * that can be used by the C pre-processor.
124
+ *
125
+ * Since: 2.14
126
+ */
127
+ #define ATK_VERSION_2_4 (G_ENCODE_VERSION (2, 4))
128
+
129
+ /**
130
+ * ATK_VERSION_2_6:
131
+ *
132
+ * A macro that evaluates to the 2.6 version of ATK, in a format
133
+ * that can be used by the C pre-processor.
134
+ *
135
+ * Since: 2.14
136
+ */
137
+ #define ATK_VERSION_2_6 (G_ENCODE_VERSION (2, 6))
138
+
139
+ /**
140
+ * ATK_VERSION_2_8:
141
+ *
142
+ * A macro that evaluates to the 2.8 version of ATK, in a format
143
+ * that can be used by the C pre-processor.
144
+ *
145
+ * Since: 2.14
146
+ */
147
+ #define ATK_VERSION_2_8 (G_ENCODE_VERSION (2, 8))
148
+
149
+ /**
150
+ * ATK_VERSION_2_10:
151
+ *
152
+ * A macro that evaluates to the 2.10 version of ATK, in a format
153
+ * that can be used by the C pre-processor.
154
+ *
155
+ * Since: 2.14
156
+ */
157
+
158
+ #define ATK_VERSION_2_10 (G_ENCODE_VERSION (2, 10))
159
+ /**
160
+ * ATK_VERSION_2_12:
161
+ *
162
+ * A macro that evaluates to the 2.12 version of ATK, in a format
163
+ * that can be used by the C pre-processor.
164
+ *
165
+ * Since: 2.14
166
+ */
167
+ #define ATK_VERSION_2_12 (G_ENCODE_VERSION (2, 12))
168
+
169
+ /**
170
+ * ATK_VERSION_2_14:
171
+ *
172
+ * A macro that evaluates to the 2.14 version of ATK, in a format
173
+ * that can be used by the C pre-processor.
174
+ *
175
+ * Since: 2.14
176
+ */
177
+ #define ATK_VERSION_2_14 (G_ENCODE_VERSION (2, 14))
178
+
179
+ /* evaluates to the current stable version; for development cycles,
180
+ * this means the next stable target
181
+ */
182
+ #if (ATK_MINOR_VERSION % 2)
183
+ #define ATK_VERSION_CUR_STABLE (G_ENCODE_VERSION (ATK_MAJOR_VERSION, ATK_MINOR_VERSION + 1))
184
+ #else
185
+ #define ATK_VERSION_CUR_STABLE (G_ENCODE_VERSION (ATK_MAJOR_VERSION, ATK_MINOR_VERSION))
186
+ #endif
187
+
188
+ /* evaluates to the previous stable version */
189
+ #if (ATK_MINOR_VERSION % 2)
190
+ #define ATK_VERSION_PREV_STABLE (G_ENCODE_VERSION (ATK_MAJOR_VERSION, ATK_MINOR_VERSION - 1))
191
+ #else
192
+ #define ATK_VERSION_PREV_STABLE (G_ENCODE_VERSION (ATK_MAJOR_VERSION, ATK_MINOR_VERSION - 2))
193
+ #endif
194
+
195
+ /**
196
+ * ATK_VERSION_MIN_REQUIRED:
197
+ *
198
+ * A macro that should be defined by the user prior to including
199
+ * the atk/atk.h header.
200
+ * The definition should be one of the predefined ATK version
201
+ * macros: %ATK_VERSION_2_12, %ATK_VERSION_2_14,...
202
+ *
203
+ * This macro defines the earliest version of ATK that the package is
204
+ * required to be able to compile against.
205
+ *
206
+ * If the compiler is configured to warn about the use of deprecated
207
+ * functions, then using functions that were deprecated in version
208
+ * %ATK_VERSION_MIN_REQUIRED or earlier will cause warnings (but
209
+ * using functions deprecated in later releases will not).
210
+ *
211
+ * Since: 2.14
212
+ */
213
+ /* If the package sets ATK_VERSION_MIN_REQUIRED to some future
214
+ * ATK_VERSION_X_Y value that we don't know about, it will compare as
215
+ * 0 in preprocessor tests.
216
+ */
217
+ #ifndef ATK_VERSION_MIN_REQUIRED
218
+ # define ATK_VERSION_MIN_REQUIRED (ATK_VERSION_CUR_STABLE)
219
+ #elif ATK_VERSION_MIN_REQUIRED == 0
220
+ # undef ATK_VERSION_MIN_REQUIRED
221
+ # define ATK_VERSION_MIN_REQUIRED (ATK_VERSION_CUR_STABLE + 2)
222
+ #endif
223
+
224
+ /**
225
+ * ATK_VERSION_MAX_ALLOWED:
226
+ *
227
+ * A macro that should be defined by the user prior to including
228
+ * the atk/atk.h header.
229
+ * The definition should be one of the predefined ATK version
230
+ * macros: %ATK_VERSION_2_12, %ATK_VERSION_2_14,...
231
+ *
232
+ * This macro defines the latest version of the ATK API that the
233
+ * package is allowed to make use of.
234
+ *
235
+ * If the compiler is configured to warn about the use of deprecated
236
+ * functions, then using functions added after version
237
+ * %ATK_VERSION_MAX_ALLOWED will cause warnings.
238
+ *
239
+ * Unless you are using ATK_CHECK_VERSION() or the like to compile
240
+ * different code depending on the ATK version, then this should be
241
+ * set to the same value as %ATK_VERSION_MIN_REQUIRED.
242
+ *
243
+ * Since: 2.14
244
+ */
245
+ #if !defined (ATK_VERSION_MAX_ALLOWED) || (ATK_VERSION_MAX_ALLOWED == 0)
246
+ # undef ATK_VERSION_MAX_ALLOWED
247
+ # define ATK_VERSION_MAX_ALLOWED (ATK_VERSION_CUR_STABLE)
248
+ #endif
249
+
250
+ /* sanity checks */
251
+ #if ATK_VERSION_MIN_REQUIRED > ATK_VERSION_CUR_STABLE
252
+ #error "ATK_VERSION_MIN_REQUIRED must be <= ATK_VERSION_CUR_STABLE"
253
+ #endif
254
+ #if ATK_VERSION_MAX_ALLOWED < ATK_VERSION_MIN_REQUIRED
255
+ #error "ATK_VERSION_MAX_ALLOWED must be >= ATK_VERSION_MIN_REQUIRED"
256
+ #endif
257
+ #if ATK_VERSION_MIN_REQUIRED < ATK_VERSION_2_2
258
+ #error "ATK_VERSION_MIN_REQUIRED must be >= ATK_VERSION_2_2"
259
+ #endif
260
+
261
+ /* these macros are used to mark deprecated functions, and thus have to be
262
+ * exposed in a public header.
263
+ *
264
+ * do *not* use them in other libraries depending on Atk: use G_DEPRECATED
265
+ * and G_DEPRECATED_FOR, or use your own wrappers around them.
266
+ */
267
+ #ifdef ATK_DISABLE_DEPRECATION_WARNINGS
268
+ #define ATK_DEPRECATED _ATK_EXTERN
269
+ #define ATK_DEPRECATED_FOR(f) _ATK_EXTERN
270
+ #else
271
+ #define ATK_DEPRECATED G_DEPRECATED _ATK_EXTERN
272
+ #define ATK_DEPRECATED_FOR(f) G_DEPRECATED_FOR(f) _ATK_EXTERN
273
+ #endif
274
+
275
+ #define ATK_AVAILABLE_IN_ALL _ATK_EXTERN
276
+
277
+ /* XXX: Every new stable minor release should add a set of macros here */
278
+
279
+ #if ATK_VERSION_MIN_REQUIRED >= ATK_VERSION_2_2
280
+ # define ATK_DEPRECATED_IN_2_2 ATK_DEPRECATED
281
+ # define ATK_DEPRECATED_IN_2_2_FOR(f) ATK_DEPRECATED_FOR(f)
282
+ #else
283
+ # define ATK_DEPRECATED_IN_2_2 _ATK_EXTERN
284
+ # define ATK_DEPRECATED_IN_2_2_FOR(f) _ATK_EXTERN
285
+ #endif
286
+
287
+ #if ATK_VERSION_MAX_ALLOWED < ATK_VERSION_2_2
288
+ # define ATK_AVAILABLE_IN_2_2 ATK_UNAVAILABLE(2, 2)
289
+ #else
290
+ # define ATK_AVAILABLE_IN_2_2 _ATK_EXTERN
291
+ #endif
292
+
293
+ #if ATK_VERSION_MIN_REQUIRED >= ATK_VERSION_2_4
294
+ # define ATK_DEPRECATED_IN_2_4 ATK_DEPRECATED
295
+ # define ATK_DEPRECATED_IN_2_4_FOR(f) ATK_DEPRECATED_FOR(f)
296
+ #else
297
+ # define ATK_DEPRECATED_IN_2_4 _ATK_EXTERN
298
+ # define ATK_DEPRECATED_IN_2_4_FOR(f) _ATK_EXTERN
299
+ #endif
300
+
301
+ #if ATK_VERSION_MAX_ALLOWED < ATK_VERSION_2_4
302
+ # define ATK_AVAILABLE_IN_2_4 ATK_UNAVAILABLE(2, 4)
303
+ #else
304
+ # define ATK_AVAILABLE_IN_2_4 _ATK_EXTERN
305
+ #endif
306
+
307
+ #if ATK_VERSION_MIN_REQUIRED >= ATK_VERSION_2_6
308
+ # define ATK_DEPRECATED_IN_2_6 ATK_DEPRECATED
309
+ # define ATK_DEPRECATED_IN_2_6_FOR(f) ATK_DEPRECATED_FOR(f)
310
+ #else
311
+ # define ATK_DEPRECATED_IN_2_6 _ATK_EXTERN
312
+ # define ATK_DEPRECATED_IN_2_6_FOR(f) _ATK_EXTERN
313
+ #endif
314
+
315
+ #if ATK_VERSION_MAX_ALLOWED < ATK_VERSION_2_6
316
+ # define ATK_AVAILABLE_IN_2_6 ATK_UNAVAILABLE(2, 6)
317
+ #else
318
+ # define ATK_AVAILABLE_IN_2_6 _ATK_EXTERN
319
+ #endif
320
+
321
+ #if ATK_VERSION_MIN_REQUIRED >= ATK_VERSION_2_8
322
+ # define ATK_DEPRECATED_IN_2_8 ATK_DEPRECATED
323
+ # define ATK_DEPRECATED_IN_2_8_FOR(f) ATK_DEPRECATED_FOR(f)
324
+ #else
325
+ # define ATK_DEPRECATED_IN_2_8 _ATK_EXTERN
326
+ # define ATK_DEPRECATED_IN_2_8_FOR(f) _ATK_EXTERN
327
+ #endif
328
+
329
+ #if ATK_VERSION_MAX_ALLOWED < ATK_VERSION_2_8
330
+ # define ATK_AVAILABLE_IN_2_8 ATK_UNAVAILABLE(2, 8)
331
+ #else
332
+ # define ATK_AVAILABLE_IN_2_8 _ATK_EXTERN
333
+ #endif
334
+
335
+ #if ATK_VERSION_MIN_REQUIRED >= ATK_VERSION_2_10
336
+ # define ATK_DEPRECATED_IN_2_10 ATK_DEPRECATED
337
+ # define ATK_DEPRECATED_IN_2_10_FOR(f) ATK_DEPRECATED_FOR(f)
338
+ #else
339
+ # define ATK_DEPRECATED_IN_2_10 _ATK_EXTERN
340
+ # define ATK_DEPRECATED_IN_2_10_FOR(f) _ATK_EXTERN
341
+ #endif
342
+
343
+ #if ATK_VERSION_MAX_ALLOWED < ATK_VERSION_2_10
344
+ # define ATK_AVAILABLE_IN_2_10 ATK_UNAVAILABLE(2, 10)
345
+ #else
346
+ # define ATK_AVAILABLE_IN_2_10 _ATK_EXTERN
347
+ #endif
348
+
349
+ #if ATK_VERSION_MIN_REQUIRED >= ATK_VERSION_2_12
350
+ # define ATK_DEPRECATED_IN_2_12 ATK_DEPRECATED
351
+ # define ATK_DEPRECATED_IN_2_12_FOR(f) ATK_DEPRECATED_FOR(f)
352
+ #else
353
+ # define ATK_DEPRECATED_IN_2_12 _ATK_EXTERN
354
+ # define ATK_DEPRECATED_IN_2_12_FOR(f) _ATK_EXTERN
355
+ #endif
356
+
357
+ #if ATK_VERSION_MAX_ALLOWED < ATK_VERSION_2_12
358
+ # define ATK_AVAILABLE_IN_2_12 ATK_UNAVAILABLE(2, 12)
359
+ #else
360
+ # define ATK_AVAILABLE_IN_2_12 _ATK_EXTERN
361
+ #endif
362
+
363
+ #if ATK_VERSION_MIN_REQUIRED >= ATK_VERSION_2_14
364
+ # define ATK_DEPRECATED_IN_2_14 ATK_DEPRECATED
365
+ # define ATK_DEPRECATED_IN_2_14_FOR(f) ATK_DEPRECATED_FOR(f)
366
+ #else
367
+ # define ATK_DEPRECATED_IN_2_14 _ATK_EXTERN
368
+ # define ATK_DEPRECATED_IN_2_14_FOR(f) _ATK_EXTERN
369
+ #endif
370
+
371
+ #if ATK_VERSION_MAX_ALLOWED < ATK_VERSION_2_14
372
+ # define ATK_AVAILABLE_IN_2_14 ATK_UNAVAILABLE(2, 14)
373
+ #else
374
+ # define ATK_AVAILABLE_IN_2_14 _ATK_EXTERN
375
+ #endif
376
+
377
+ ATK_AVAILABLE_IN_2_8
378
+ guint atk_get_major_version (void) G_GNUC_CONST;
379
+ ATK_AVAILABLE_IN_2_8
380
+ guint atk_get_minor_version (void) G_GNUC_CONST;
381
+ ATK_AVAILABLE_IN_2_8
382
+ guint atk_get_micro_version (void) G_GNUC_CONST;
383
+ ATK_AVAILABLE_IN_2_8
384
+ guint atk_get_binary_age (void) G_GNUC_CONST;
385
+ ATK_AVAILABLE_IN_2_8
386
+ guint atk_get_interface_age (void) G_GNUC_CONST;
387
+
388
+ #define atk_major_version atk_get_major_version ()
389
+ #define atk_minor_version atk_get_minor_version ()
390
+ #define atk_micro_version atk_get_micro_version ()
391
+ #define atk_binary_age atk_get_binary_age ()
392
+ #define atk_interface_age atk_get_interface_age ()
393
+
394
+ #endif /* __ATK_VERSION_H__ */
@@ -0,0 +1,53 @@
1
+ /* ATK - Accessibility Toolkit
2
+ * Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
3
+ *
4
+ * This library is free software; you can redistribute it and/or
5
+ * modify it under the terms of the GNU Library General Public
6
+ * License as published by the Free Software Foundation; either
7
+ * version 2 of the License, or (at your option) any later version.
8
+ *
9
+ * This library is distributed in the hope that it will be useful,
10
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12
+ * Library General Public License for more details.
13
+ *
14
+ * You should have received a copy of the GNU Library General Public
15
+ * License along with this library; if not, write to the
16
+ * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
17
+ * Boston, MA 02111-1307, USA.
18
+ */
19
+
20
+ #if defined(ATK_DISABLE_SINGLE_INCLUDES) && !defined (__ATK_H_INSIDE__) && !defined (ATK_COMPILATION)
21
+ #error "Only <atk/atk.h> can be included directly."
22
+ #endif
23
+
24
+ #ifndef __ATK_WINDOW_H__
25
+ #define __ATK_WINDOW_H__
26
+
27
+ #include <atk/atkobject.h>
28
+
29
+ G_BEGIN_DECLS
30
+
31
+ /*
32
+ * AtkWindow describes signals pertaining to on-screen windows.
33
+ */
34
+
35
+
36
+ #define ATK_TYPE_WINDOW (atk_window_get_type ())
37
+ #define ATK_IS_WINDOW(obj) G_TYPE_CHECK_INSTANCE_TYPE ((obj), ATK_TYPE_WINDOW)
38
+ #define ATK_WINDOW(obj) G_TYPE_CHECK_INSTANCE_CAST ((obj), ATK_TYPE_WINDOW, AtkWindow)
39
+ #define ATK_WINDOW_GET_IFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), ATK_TYPE_WINDOW, AtkWindowIface))
40
+
41
+ typedef struct _AtkWindow AtkWindow; /* Dummy typedef */
42
+ typedef struct _AtkWindowIface AtkWindowIface;
43
+
44
+ struct _AtkWindowIface
45
+ {
46
+ GTypeInterface parent;
47
+ };
48
+
49
+ ATK_AVAILABLE_IN_2_2
50
+ GType atk_window_get_type (void);
51
+ G_END_DECLS
52
+
53
+ #endif /* __ATK_WINDOW_H__ */
Binary file