2001-11-13 Michael Meeks <michael@ximian.com>
[platform/core/uifw/at-spi2-atk.git] / cspi / spi_hypertext.c
1 int
2 SpiAccessibleHypertext_ref (SpiAccessibleHypertext *obj)
3 {
4   Accessibility_Hypertext_ref (*obj, &ev);
5   return 0;
6 }
7
8
9
10 int
11 SpiAccessibleHypertext_unref (SpiAccessibleHypertext *obj)
12 {
13   Accessibility_Hypertext_unref (*obj, &ev);
14   return 0;
15 }
16
17
18
19 long
20 SpiAccessibleHypertext_getNLinks (SpiAccessibleHypertext *obj)
21 {
22   return (long)
23     Accessibility_Hypertext_getNLinks (*obj, &ev);
24 }
25
26
27 SpiAccessibleHyperlink *
28 SpiAccessibleHyperText_getLink (SpiAccessibleHypertext *obj,
29                              long linkIndex)
30 {
31   return (SpiAccessibleHyperlink *)
32     Accessibility_Hypertext_getLink (*obj,
33                                      (CORBA_long) linkIndex, &ev);
34 }
35
36
37
38 long
39 SpiAccessibleHypertext_getLinkIndex (SpiAccessibleHypertext *obj,
40                                   long characterIndex)
41 {
42   return (long)
43     Accessibility_Hypertext_getLinkIndex (*obj,
44                                           (CORBA_long) characterIndex, &ev);
45 }
46
47