1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
|
/*
* AT-SPI - Assistive Technology Service Provider Interface
* (Gnome Accessibility Project; http://developer.gnome.org/projects/gap)
*
* Copyright 2002 Ximian, Inc.
* 2002 Sun Microsystems Inc.
* Copyright 2010, 2011 Novell, Inc.
*
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Library General Public License for more details.
*
* You should have received a copy of the GNU Library General Public
* License along with this library; if not, write to the
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#ifndef _ATSPI_HYPERLINK_H_
#define _ATSPI_HYPERLINK_H_
#include "glib-object.h"
#include "atspi-constants.h"
#include "atspi-text.h" /* for AtspiRange */
#include "atspi-types.h"
G_BEGIN_DECLS
#define ATSPI_TYPE_HYPERLINK (atspi_hyperlink_get_type ())
#define ATSPI_HYPERLINK(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), ATSPI_TYPE_HYPERLINK, AtspiHyperlink))
#define ATSPI_HYPERLINK_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), ATSPI_TYPE_HYPERLINK, AtspiHyperlinkClass))
#define ATSPI_IS_HYPERLINK(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), ATSPI_TYPE_HYPERLINK))
#define ATSPI_IS_HYPERLINK_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), ATSPI_TYPE_HYPERLINK))
#define ATSPI_HYPERLINK_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), ATSPI_TYPE_HYPERLINK, AtspiHyperlinkClass))
struct _AtspiHyperlink
{
AtspiObject parent;
};
typedef struct _AtspiHyperlinkClass AtspiHyperlinkClass;
struct _AtspiHyperlinkClass
{
AtspiObjectClass parent_class;
};
GType atspi_hyperlink_get_type (void);
AtspiHyperlink *
_atspi_hyperlink_new (AtspiApplication *app, const gchar *path);
gint atspi_hyperlink_get_n_anchors (AtspiHyperlink *obj, GError **error);
gchar * atspi_hyperlink_get_uri (AtspiHyperlink *obj, int i, GError **error);
AtspiAccessible* atspi_hyperlink_get_object (AtspiHyperlink *obj, gint i, GError **error);
AtspiRange * atspi_hyperlink_get_index_range (AtspiHyperlink *obj, GError **error);
gint atspi_hyperlink_get_start_index (AtspiHyperlink *obj, GError **error);
gint atspi_hyperlink_get_end_index (AtspiHyperlink *obj, GError **error);
gboolean atspi_hyperlink_is_valid (AtspiHyperlink *obj, GError **error);
G_END_DECLS
#endif /* _ATSPI_HYPERLINK_H_ */
|