* cspi/Makefile.am:
[platform/core/uifw/at-spi2-atk.git] / cspi / spi_hyperlink.c
1 #include "spi-util.h"
2
3 int
4 AccessibleHyperlink_ref (AccessibleHyperlink *obj)
5 {
6   Accessibility_Hyperlink_ref (*obj, &ev);
7   return 0;
8 }
9
10
11
12 int
13 AccessibleHyperlink_unref (AccessibleHyperlink *obj)
14 {
15   Accessibility_Hyperlink_unref (*obj, &ev);
16   return 0;
17 }
18
19
20
21 long
22 AccessibleHyperlink_getNAnchors (AccessibleHyperlink *obj)
23 {
24   return (long)
25     Accessibility_Hyperlink__get_nAnchors (*obj, &ev);
26 }
27
28
29
30 char *
31 AccessibleHyperlink_getURI (AccessibleHyperlink *obj,
32                             long i)
33 {
34   return string_from_corba_string (
35                                    Accessibility_Hyperlink_getURI (*obj,
36                                                                   (CORBA_long) i, &ev));
37 }
38
39
40
41 Accessible
42 AccessibleHyperlink_getObject (AccessibleHyperlink *obj,
43                                long i)
44 {
45   return (Accessible)
46     Accessibility_Hyperlink_getObject (*obj,
47                                        (CORBA_long) i, &ev);
48 }
49
50
51
52 void
53 AccessibleHyperlink_getIndexRange (AccessibleHyperlink *obj,
54                                    long *startIndex,
55                                    long *endIndex)
56 {
57   *startIndex = (long)
58     Accessibility_Hyperlink__get_startIndex (*obj, &ev);
59   *endIndex = (long)
60     Accessibility_Hyperlink__get_endIndex (*obj, &ev);
61 }
62
63
64
65 boolean
66 AccessibleHyperlink_isValid (AccessibleHyperlink *obj)
67 {
68   return (boolean)
69     Accessibility_Hyperlink_isValid (*obj, &ev);
70 }
71
72