atk 3.1.1 → 3.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (47) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +18 -2
  3. data/dependency-check/Rakefile +44 -0
  4. data/lib/atk.rb +29 -21
  5. data/test/atk-test-utils.rb +1 -1
  6. data/test/run-test.rb +5 -2
  7. data/test/test-text-rectangle.rb +5 -4
  8. data/test/test-version.rb +1 -1
  9. metadata +7 -44
  10. data/README +0 -30
  11. data/ext/atk/atk.def +0 -2
  12. data/ext/atk/depend +0 -11
  13. data/ext/atk/extconf.rb +0 -83
  14. data/ext/atk/rbatk.c +0 -66
  15. data/ext/atk/rbatk.h +0 -47
  16. data/ext/atk/rbatkaction.c +0 -85
  17. data/ext/atk/rbatkcomponent.c +0 -175
  18. data/ext/atk/rbatkconversions.h +0 -70
  19. data/ext/atk/rbatkdocument.c +0 -96
  20. data/ext/atk/rbatkeditabletext.c +0 -177
  21. data/ext/atk/rbatkgobjectaccessible.c +0 -46
  22. data/ext/atk/rbatkhyperlink.c +0 -71
  23. data/ext/atk/rbatkhypertext.c +0 -53
  24. data/ext/atk/rbatkimage.c +0 -68
  25. data/ext/atk/rbatkimplementor.c +0 -38
  26. data/ext/atk/rbatknoopobject.c +0 -40
  27. data/ext/atk/rbatknoopobjectfactory.c +0 -40
  28. data/ext/atk/rbatkobject.c +0 -153
  29. data/ext/atk/rbatkobjectfactory.c +0 -53
  30. data/ext/atk/rbatkobjectrole.c +0 -50
  31. data/ext/atk/rbatkprivate.h +0 -48
  32. data/ext/atk/rbatkregistry.c +0 -63
  33. data/ext/atk/rbatkrelation.c +0 -98
  34. data/ext/atk/rbatkrelationset.c +0 -95
  35. data/ext/atk/rbatkrelationtype.c +0 -38
  36. data/ext/atk/rbatkselection.c +0 -87
  37. data/ext/atk/rbatkstate.c +0 -51
  38. data/ext/atk/rbatkstateset.c +0 -180
  39. data/ext/atk/rbatkstreamablecontent.c +0 -57
  40. data/ext/atk/rbatktable.c +0 -271
  41. data/ext/atk/rbatktext.c +0 -318
  42. data/ext/atk/rbatktextattribute.c +0 -54
  43. data/ext/atk/rbatktextrange.c +0 -92
  44. data/ext/atk/rbatktextrectangle.c +0 -149
  45. data/ext/atk/rbatkutil.c +0 -122
  46. data/ext/atk/rbatkvalue.c +0 -78
  47. data/extconf.rb +0 -49
data/ext/atk/rbatk.c DELETED
@@ -1,66 +0,0 @@
1
- /* -*- c-file-style: "ruby"; indent-tabs-mode: nil -*- */
2
- /*
3
- * Copyright (C) 2011 Ruby-GNOME2 Project Team
4
- * Copyright (C) 2003-2005 Masao Mutoh
5
- *
6
- * This library is free software; you can redistribute it and/or
7
- * modify it under the terms of the GNU Lesser General Public
8
- * License as published by the Free Software Foundation; either
9
- * version 2.1 of the License, or (at your option) any later version.
10
- *
11
- * This library is distributed in the hope that it will be useful,
12
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14
- * Lesser General Public License for more details.
15
- *
16
- * You should have received a copy of the GNU Lesser General Public
17
- * License along with this library; if not, write to the Free Software
18
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
19
- * MA 02110-1301 USA
20
- */
21
-
22
- #include "rbatkprivate.h"
23
-
24
- #define RG_TARGET_NAMESPACE mAtk
25
- VALUE mAtk;
26
-
27
- extern void Init_atk(void);
28
-
29
- void
30
- Init_atk(void)
31
- {
32
- RG_TARGET_NAMESPACE = rb_define_module("Atk");
33
-
34
- rb_define_const(RG_TARGET_NAMESPACE, "BUILD_VERSION",
35
- rb_ary_new3(3,
36
- INT2FIX(ATK_MAJOR_VERSION),
37
- INT2FIX(ATK_MINOR_VERSION),
38
- INT2FIX(ATK_MICRO_VERSION)));
39
-
40
- Init_atk_action(RG_TARGET_NAMESPACE);
41
- Init_atk_component(RG_TARGET_NAMESPACE);
42
- Init_atk_document(RG_TARGET_NAMESPACE);
43
- Init_atk_editabletext(RG_TARGET_NAMESPACE);
44
- Init_atk_gobjectaccessible(RG_TARGET_NAMESPACE);
45
- Init_atk_hyperlink(RG_TARGET_NAMESPACE);
46
- Init_atk_hypertext(RG_TARGET_NAMESPACE);
47
- Init_atk_image(RG_TARGET_NAMESPACE);
48
- Init_atk_implementor(RG_TARGET_NAMESPACE);
49
- Init_atk_noopobject(RG_TARGET_NAMESPACE);
50
- Init_atk_noopobjectfactory(RG_TARGET_NAMESPACE);
51
- Init_atk_object(RG_TARGET_NAMESPACE);
52
- Init_atk_objectfactory(RG_TARGET_NAMESPACE);
53
- Init_atk_registry(RG_TARGET_NAMESPACE);
54
- Init_atk_relation(RG_TARGET_NAMESPACE);
55
- Init_atk_relation_set(RG_TARGET_NAMESPACE);
56
- Init_atk_selection(RG_TARGET_NAMESPACE);
57
- Init_atk_state(RG_TARGET_NAMESPACE);
58
- Init_atk_state_set(RG_TARGET_NAMESPACE);
59
- Init_atk_streamable_content(RG_TARGET_NAMESPACE);
60
- Init_atk_table(RG_TARGET_NAMESPACE);
61
- Init_atk_text(RG_TARGET_NAMESPACE);
62
- Init_atk_text_range(RG_TARGET_NAMESPACE);
63
- Init_atk_text_rectangle(RG_TARGET_NAMESPACE);
64
- Init_atk_util(RG_TARGET_NAMESPACE);
65
- Init_atk_value(RG_TARGET_NAMESPACE);
66
- }
data/ext/atk/rbatk.h DELETED
@@ -1,47 +0,0 @@
1
- /* -*- c-file-style: "ruby"; indent-tabs-mode: nil -*- */
2
- /*
3
- * Copyright (C) 2011 Ruby-GNOME2 Project Team
4
- * Copyright (C) 2003,2004 Masao Mutoh
5
- *
6
- * This library is free software; you can redistribute it and/or
7
- * modify it under the terms of the GNU Lesser General Public
8
- * License as published by the Free Software Foundation; either
9
- * version 2.1 of the License, or (at your option) any later version.
10
- *
11
- * This library is distributed in the hope that it will be useful,
12
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14
- * Lesser General Public License for more details.
15
- *
16
- * You should have received a copy of the GNU Lesser General Public
17
- * License along with this library; if not, write to the Free Software
18
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
19
- * MA 02110-1301 USA
20
- */
21
-
22
- #include "ruby.h"
23
- #include <atk/atk.h>
24
- #include <atk/atk-enum-types.h>
25
- #include <atk/atknoopobject.h>
26
- #include <atk/atknoopobjectfactory.h>
27
- #include "rbgobject.h"
28
- #include "rbatkversion.h"
29
- #include "rbatkconversions.h"
30
-
31
- #if defined(G_PLATFORM_WIN32) && !defined(RUBY_ATK_STATIC_COMPILATION)
32
- # ifdef RUBY_ATK_COMPILATION
33
- # define RUBY_ATK_VAR __declspec(dllexport)
34
- # else
35
- # define RUBY_ATK_VAR extern __declspec(dllimport)
36
- # endif
37
- #else
38
- # define RUBY_ATK_VAR extern
39
- #endif
40
-
41
- extern GType atk_text_rectangle_get_type(void);
42
- extern GType atk_text_range_get_type(void);
43
-
44
- RUBY_ATK_VAR VALUE mAtk;
45
-
46
- #define ATK_TYPE_TEXT_RECTANGLE (atk_text_rectangle_get_type())
47
- #define ATK_TYPE_TEXT_RANGE (atk_text_range_get_type())
@@ -1,85 +0,0 @@
1
- /* -*- c-file-style: "ruby"; indent-tabs-mode: nil -*- */
2
- /*
3
- * Copyright (C) 2011 Ruby-GNOME2 Project Team
4
- * Copyright (C) 2004 Masao Mutoh
5
- *
6
- * This library is free software; you can redistribute it and/or
7
- * modify it under the terms of the GNU Lesser General Public
8
- * License as published by the Free Software Foundation; either
9
- * version 2.1 of the License, or (at your option) any later version.
10
- *
11
- * This library is distributed in the hope that it will be useful,
12
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14
- * Lesser General Public License for more details.
15
- *
16
- * You should have received a copy of the GNU Lesser General Public
17
- * License along with this library; if not, write to the Free Software
18
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
19
- * MA 02110-1301 USA
20
- */
21
-
22
- #include "rbatkprivate.h"
23
-
24
- #define RG_TARGET_NAMESPACE mAction
25
- #define _SELF(s) (RVAL2ATKACTION(s))
26
-
27
- static VALUE
28
- rg_do_action(VALUE self, VALUE i)
29
- {
30
- return CBOOL2RVAL(atk_action_do_action(_SELF(self), NUM2INT(i)));
31
- }
32
-
33
- static VALUE
34
- rg_n_actions(VALUE self)
35
- {
36
- return INT2NUM(atk_action_get_n_actions(_SELF(self)));
37
- }
38
-
39
- static VALUE
40
- rg_get_description(VALUE self, VALUE i)
41
- {
42
- return CSTR2RVAL(atk_action_get_description(_SELF(self), NUM2INT(i)));
43
- }
44
-
45
- static VALUE
46
- rg_get_name(VALUE self, VALUE i)
47
- {
48
- return CSTR2RVAL(atk_action_get_name(_SELF(self), NUM2INT(i)));
49
- }
50
-
51
- #ifdef HAVE_ATK_ACTION_GET_LOCALIZED_NAME
52
- static VALUE
53
- rg_get_localized_name(VALUE self, VALUE i)
54
- {
55
- return CSTR2RVAL(atk_action_get_localized_name(_SELF(self), NUM2INT(i)));
56
- }
57
- #endif
58
-
59
- static VALUE
60
- rg_get_keybinding(VALUE self, VALUE i)
61
- {
62
- return CSTR2RVAL(atk_action_get_keybinding(_SELF(self), NUM2INT(i)));
63
- }
64
-
65
- static VALUE
66
- rg_set_description(VALUE self, VALUE i, VALUE desc)
67
- {
68
- return CBOOL2RVAL(atk_action_set_description(_SELF(self), NUM2INT(i), RVAL2CSTR(desc)));
69
- }
70
-
71
- void
72
- Init_atk_action(VALUE mAtk)
73
- {
74
- VALUE RG_TARGET_NAMESPACE = G_DEF_INTERFACE(ATK_TYPE_ACTION, "Action", mAtk);
75
-
76
- RG_DEF_METHOD(do_action, 1);
77
- RG_DEF_METHOD(n_actions, 0);
78
- RG_DEF_METHOD(get_description, 1);
79
- RG_DEF_METHOD(get_name, 1);
80
- #ifdef HAVE_ATK_ACTION_GET_LOCALIZED_NAME
81
- RG_DEF_METHOD(get_localized_name, 1);
82
- #endif
83
- RG_DEF_METHOD(get_keybinding, 1);
84
- RG_DEF_METHOD(set_description, 2);
85
- }
@@ -1,175 +0,0 @@
1
- /* -*- c-file-style: "ruby"; indent-tabs-mode: nil -*- */
2
- /*
3
- * Copyright (C) 2011 Ruby-GNOME2 Project Team
4
- * Copyright (C) 2004 Masao Mutoh
5
- *
6
- * This library is free software; you can redistribute it and/or
7
- * modify it under the terms of the GNU Lesser General Public
8
- * License as published by the Free Software Foundation; either
9
- * version 2.1 of the License, or (at your option) any later version.
10
- *
11
- * This library is distributed in the hope that it will be useful,
12
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14
- * Lesser General Public License for more details.
15
- *
16
- * You should have received a copy of the GNU Lesser General Public
17
- * License along with this library; if not, write to the Free Software
18
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
19
- * MA 02110-1301 USA
20
- */
21
-
22
- #include "rbatkprivate.h"
23
-
24
- #define RG_TARGET_NAMESPACE mComponent
25
- #define _SELF(s) (RVAL2ATKCOMPONENT(s))
26
-
27
- /*
28
- static void
29
- focus_handler(AtkObject *aobj, gboolean bool)
30
- {
31
- VALUE ret = rb_funcall((VALUE)func, id_call, 2,
32
- GOBJ2RVAL(aobj), CBOOL2RVAL(bool));
33
- }
34
- static VALUE
35
- rg_add_focus_handler(VALUE self)
36
- {
37
- VALUE func = rb_block_proc();
38
- G_RELATIVE(self, func);
39
- return UINT2NUM(atk_component_add_focus_handler(_SELF(self), focus_handler));
40
- }
41
- */
42
-
43
- static VALUE
44
- rg_contains_p(VALUE self, VALUE x, VALUE y, VALUE coord_type)
45
- {
46
- return CBOOL2RVAL(atk_component_contains(_SELF(self),
47
- NUM2INT(x), NUM2INT(y),
48
- RVAL2ATKCOORDTYPE(coord_type)));
49
- }
50
-
51
- static VALUE
52
- rg_get_extents(VALUE self, VALUE coord_type)
53
- {
54
- gint x, y, width, height;
55
- atk_component_get_extents(_SELF(self), &x, &y, &width, &height,
56
- RVAL2ATKCOORDTYPE(coord_type));
57
- return rb_ary_new3(4, INT2NUM(x), INT2NUM(y), INT2NUM(width), INT2NUM(height));
58
- }
59
-
60
- #ifdef HAVE_ATK_COMPONENT_GET_LAYER
61
- static VALUE
62
- rg_layer(VALUE self)
63
- {
64
- return ATKLAYER2RVAL(atk_component_get_layer(_SELF(self)));
65
- }
66
- #endif
67
-
68
- #ifdef HAVE_ATK_COMPONENT_GET_MDI_ZORDER
69
- static VALUE
70
- rg_mdi_zorder(VALUE self)
71
- {
72
- return INT2NUM(atk_component_get_mdi_zorder(_SELF(self)));
73
- }
74
-
75
- #endif
76
- static VALUE
77
- rg_position(VALUE self, VALUE coord_type)
78
- {
79
- gint x, y;
80
- atk_component_get_position(_SELF(self), &x, &y,
81
- RVAL2ATKCOORDTYPE(coord_type));
82
- return rb_assoc_new(INT2NUM(x), INT2NUM(y));
83
- }
84
-
85
- static VALUE
86
- rg_size(VALUE self)
87
- {
88
- gint width, height;
89
- atk_component_get_size(_SELF(self), &width, &height);
90
- return rb_assoc_new(INT2NUM(width), INT2NUM(height));
91
- }
92
-
93
- static VALUE
94
- rg_grab_focus(VALUE self)
95
- {
96
- return CBOOL2RVAL(atk_component_grab_focus(_SELF(self)));
97
- }
98
-
99
- static VALUE
100
- rg_ref_accessible_at_point(VALUE self, VALUE x, VALUE y, VALUE coord_type)
101
- {
102
- return GOBJ2RVAL(atk_component_ref_accessible_at_point(
103
- _SELF(self),
104
- NUM2INT(x), NUM2INT(y),
105
- RVAL2ATKCOORDTYPE(coord_type)));
106
- }
107
-
108
- static VALUE
109
- rg_remove_focus_handler(VALUE self, VALUE handler_id)
110
- {
111
- atk_component_remove_focus_handler(_SELF(self), NUM2UINT(handler_id));
112
- return self;
113
- }
114
-
115
- static VALUE
116
- rg_set_extents(VALUE self, VALUE x, VALUE y, VALUE width, VALUE height, VALUE coord_type)
117
- {
118
- gboolean ret = atk_component_set_extents(_SELF(self),
119
- NUM2INT(x), NUM2INT(y),
120
- NUM2INT(width), NUM2INT(height),
121
- RVAL2ATKCOORDTYPE(coord_type));
122
- if (! ret) rb_raise(rb_eRuntimeError, "Can't set extents");
123
- return self;
124
- }
125
-
126
- static VALUE
127
- rg_set_position(VALUE self, VALUE x, VALUE y, VALUE coord_type)
128
- {
129
- gboolean ret = atk_component_set_position(_SELF(self),
130
- NUM2INT(x), NUM2INT(y),
131
- RVAL2ATKCOORDTYPE(coord_type));
132
- if (! ret) rb_raise(rb_eRuntimeError, "Can't set the position");
133
- return self;
134
- }
135
-
136
- static VALUE
137
- rg_set_size(VALUE self, VALUE width, VALUE height)
138
- {
139
- gboolean ret = atk_component_set_size(_SELF(self),
140
- NUM2INT(width), NUM2INT(height));
141
- if (! ret) rb_raise(rb_eRuntimeError, "Can't set the size");
142
- return self;
143
- }
144
-
145
- static VALUE
146
- rg_alpha(VALUE self)
147
- {
148
- return rb_float_new(atk_component_get_alpha(_SELF(self)));
149
- }
150
-
151
- void
152
- Init_atk_component(VALUE mAtk)
153
- {
154
- VALUE RG_TARGET_NAMESPACE = G_DEF_INTERFACE(ATK_TYPE_COMPONENT, "Component", mAtk);
155
- /*
156
- RG_DEF_METHOD(add_focus_handler, 0);
157
- */
158
- RG_DEF_METHOD_P(contains, 3);
159
- RG_DEF_METHOD(get_extents, 1);
160
- #ifdef HAVE_ATK_COMPONENT_GET_LAYER
161
- RG_DEF_METHOD(layer, 0);
162
- #endif
163
- #ifdef HAVE_ATK_COMPONENT_GET_MDI_ZORDER
164
- RG_DEF_METHOD(mdi_zorder, 0);
165
- #endif
166
- RG_DEF_METHOD(position, 1);
167
- RG_DEF_METHOD(size, 0);
168
- RG_DEF_METHOD(grab_focus, 0);
169
- RG_DEF_METHOD(ref_accessible_at_point, 3);
170
- RG_DEF_METHOD(remove_focus_handler, 1);
171
- RG_DEF_METHOD(set_extents, 5);
172
- RG_DEF_METHOD(set_position, 2);
173
- RG_DEF_METHOD(set_size, 2);
174
- RG_DEF_METHOD(alpha, 0);
175
- }
@@ -1,70 +0,0 @@
1
- /* -*- c-file-style: "ruby"; indent-tabs-mode: nil -*- */
2
- /*
3
- * Copyright (C) 2011 Ruby-GNOME2 Project Team
4
- *
5
- * This library is free software; you can redistribute it and/or
6
- * modify it under the terms of the GNU Lesser General Public
7
- * License as published by the Free Software Foundation; either
8
- * version 2.1 of the License, or (at your option) any later version.
9
- *
10
- * This library is distributed in the hope that it will be useful,
11
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13
- * Lesser General Public License for more details.
14
- *
15
- * You should have received a copy of the GNU Lesser General Public
16
- * License along with this library; if not, write to the Free Software
17
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
18
- * MA 02110-1301 USA
19
- */
20
-
21
- #ifndef __RBATKCONVERSIONS_H__
22
- #define __RBATKCONVERSIONS_H__
23
-
24
- #define RVAL2ATKACTION(o) (ATK_ACTION(RVAL2GOBJ(o)))
25
- #define RVAL2ATKCOMPONENT(o) (ATK_COMPONENT(RVAL2GOBJ(o)))
26
- #define RVAL2ATKDOCUMENT(o) (ATK_DOCUMENT(RVAL2GOBJ(o)))
27
- #define RVAL2ATKEDITABLETEXT(o) (ATK_EDITABLE_TEXT(RVAL2GOBJ(o)))
28
- #define RVAL2ATKGOBJECTACCESSIBLE(o) (ATK_GOBJECT_ACCESSIBLE(RVAL2GOBJ(o)))
29
- #define RVAL2ATKHYPERLINK(o) (ATK_HYPERLINK(RVAL2GOBJ(o)))
30
- #define RVAL2ATKHYPERTEXT(o) (ATK_HYPERTEXT(RVAL2GOBJ(o)))
31
- #define RVAL2ATKIMAGE(o) (ATK_IMAGE(RVAL2GOBJ(o)))
32
- #define RVAL2ATKIMPLEMENTOR(o) (ATK_IMPLEMENTOR(RVAL2GOBJ(o)))
33
- #define RVAL2ATKNOOPOBJECT(o) (ATK_NOOPOBJECT(RVAL2GOBJ(o)))
34
- #define RVAL2ATKNOOPOBJECTFACTORY(o) (ATK_NO_OP_OBJECT_FACTORY(RVAL2GOBJ(o)))
35
- #define RVAL2ATKOBJECT(o) (ATK_OBJECT(RVAL2GOBJ(o)))
36
- #define RVAL2ATKOBJECTFACTORY(o) (ATK_OBJECT_FACTORY(RVAL2GOBJ(o)))
37
- #define RVAL2ATKREGISTRY(o) (ATK_REGISTRY(RVAL2GOBJ(o)))
38
- #define RVAL2ATKRELATION(o) (ATK_RELATION(RVAL2GOBJ(o)))
39
- #define RVAL2ATKRELATIONSET(o) (ATK_RELATION_SET(RVAL2GOBJ(o)))
40
- #define RVAL2ATKSELECTION(o) (ATK_SELECTION(RVAL2GOBJ(o)))
41
- #define RVAL2ATKSTATE(o) (ATK_STATE(RVAL2GOBJ(o)))
42
- #define RVAL2ATKSTATESET(o) (ATK_STATE_SET(RVAL2GOBJ(o)))
43
- #define RVAL2ATKSTREAMABLECONTENT(o) (ATK_STREAMABLE_CONTENT(RVAL2GOBJ(o)))
44
- #define RVAL2ATKTABLE(o) (ATK_TABLE(RVAL2GOBJ(o)))
45
- #define RVAL2ATKTEXT(o) (ATK_TEXT(RVAL2GOBJ(o)))
46
- #define RVAL2ATKVALUE(o) (ATK_VALUE(RVAL2GOBJ(o)))
47
-
48
- #define RVAL2ATKTEXTRANGE(o) ((AtkTextRange*)RVAL2BOXED(o, ATK_TYPE_TEXT_RANGE))
49
- #define ATKTEXTRANGE2RVAL(o) (BOXED2RVAL(o, ATK_TYPE_TEXT_RANGE))
50
- #define RVAL2ATKTEXTRECTANGLE(o) ((AtkTextRectangle*)RVAL2BOXED(o, ATK_TYPE_TEXT_RECTANGLE))
51
- #define ATKTEXTRECTANGLE2RVAL(o) (BOXED2RVAL(o, ATK_TYPE_TEXT_RECTANGLE))
52
-
53
- #define RVAL2ATKCOORDTYPE(o) (RVAL2GENUM(o, ATK_TYPE_COORD_TYPE))
54
- #define ATKCOORDTYPE2RVAL(o) (GENUM2RVAL(o, ATK_TYPE_COORD_TYPE))
55
- #define RVAL2ATKLAYER(o) (RVAL2GENUM(o, ATK_TYPE_LAYER))
56
- #define ATKLAYER2RVAL(o) (GENUM2RVAL(o, ATK_TYPE_LAYER))
57
- #define RVAL2ATKRELATIONTYPE(o) (RVAL2GENUM(o, ATK_TYPE_RELATION_TYPE))
58
- #define ATKRELATIONTYPE2RVAL(o) (GENUM2RVAL(o, ATK_TYPE_RELATION_TYPE))
59
- #define RVAL2ATKROLE(o) (RVAL2GENUM(o, ATK_TYPE_ROLE))
60
- #define ATKROLE2RVAL(o) (GENUM2RVAL(o, ATK_TYPE_ROLE))
61
- #define RVAL2ATKSTATETYPE(o) (RVAL2GENUM(o, ATK_TYPE_STATE_TYPE))
62
- #define ATKSTATETYPE2RVAL(o) (GENUM2RVAL(o, ATK_TYPE_STATE_TYPE))
63
- #define RVAL2ATKTEXTATTRIBUTE(o) (RVAL2GENUM(o, ATK_TYPE_TEXT_ATTRIBUTE))
64
- #define ATKTEXTATTRIBUTE2RVAL(o) (GENUM2RVAL(o, ATK_TYPE_TEXT_ATTRIBUTE))
65
- #define RVAL2ATKTEXTBOUNDARY(o) (RVAL2GENUM(o, ATK_TYPE_TEXT_BOUNDARY))
66
- #define ATKTEXTBOUNDARY2RVAL(o) (GENUM2RVAL(o, ATK_TYPE_TEXT_BOUNDARY))
67
- #define RVAL2ATKTEXTCLIPTYPE(o) (RVAL2GENUM(o, ATK_TYPE_TEXT_CLIP_TYPE))
68
- #define ATKTEXTCLIPTYPE2RVAL(o) (GENUM2RVAL(o, ATK_TYPE_TEXT_CLIP_TYPE))
69
-
70
- #endif /* __RBATKCONVERSIONS_H__ */