Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-30 09:32:47

0001 /*
0002  * AT-SPI - Assistive Technology Service Provider Interface
0003  * (Gnome Accessibility Project; http://developer.gnome.org/projects/gap)
0004  *
0005  * Copyright 2002 Ximian, Inc.
0006  *           2002 Sun Microsystems Inc.
0007  * Copyright 2010, 2011 Novell, Inc.
0008  *
0009  *
0010  * This library is free software; you can redistribute it and/or
0011  * modify it under the terms of the GNU Lesser General Public
0012  * License as published by the Free Software Foundation; either
0013  * version 2.1 of the License, or (at your option) any later version.
0014  *
0015  * This library is distributed in the hope that it will be useful,
0016  * but WITHOUT ANY WARRANTY; without even the implied warranty of
0017  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
0018  * Lesser General Public License for more details.
0019  *
0020  * You should have received a copy of the GNU Lesser General Public
0021  * License along with this library; if not, write to the
0022  * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
0023  * Boston, MA 02110-1301, USA.
0024  */
0025 
0026 #ifndef _ATSPI_HYPERTEXT_H_
0027 #define _ATSPI_HYPERTEXT_H_
0028 
0029 #include "glib-object.h"
0030 
0031 #include "atspi-constants.h"
0032 
0033 #include "atspi-types.h"
0034 
0035 G_BEGIN_DECLS
0036 
0037 #define ATSPI_TYPE_HYPERTEXT (atspi_hypertext_get_type ())
0038 #define ATSPI_IS_HYPERTEXT(obj) G_TYPE_CHECK_INSTANCE_TYPE ((obj), ATSPI_TYPE_HYPERTEXT)
0039 #define ATSPI_HYPERTEXT(obj) G_TYPE_CHECK_INSTANCE_CAST ((obj), ATSPI_TYPE_HYPERTEXT, AtspiHypertext)
0040 #define ATSPI_HYPERTEXT_GET_IFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), ATSPI_TYPE_HYPERTEXT, AtspiHypertext))
0041 
0042 GType atspi_hypertext_get_type ();
0043 
0044 struct _AtspiHypertext
0045 {
0046   GTypeInterface parent;
0047 };
0048 
0049 gint atspi_hypertext_get_n_links (AtspiHypertext *obj, GError **error);
0050 
0051 AtspiHyperlink *atspi_hypertext_get_link (AtspiHypertext *obj, gint link_index, GError **error);
0052 
0053 gint atspi_hypertext_get_link_index (AtspiHypertext *obj, gint character_offset, GError **error);
0054 
0055 G_END_DECLS
0056 
0057 #endif /* _ATSPI_HYPERTEXT_H_ */