Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:28:17

0001 /* ATK -  Accessibility Toolkit
0002  * Copyright 2001 Sun Microsystems Inc.
0003  *
0004  * This library is free software; you can redistribute it and/or
0005  * modify it under the terms of the GNU Library General Public
0006  * License as published by the Free Software Foundation; either
0007  * version 2 of the License, or (at your option) any later version.
0008  *
0009  * This library is distributed in the hope that it will be useful,
0010  * but WITHOUT ANY WARRANTY; without even the implied warranty of
0011  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
0012  * Library General Public License for more details.
0013  *
0014  * You should have received a copy of the GNU Library General Public
0015  * License along with this library; if not, write to the
0016  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
0017  * Boston, MA 02111-1307, USA.
0018  */
0019 
0020 #ifndef __ATK_HYPERLINK_IMPL_H__
0021 #define __ATK_HYPERLINK_IMPL_H__
0022 
0023 #if defined(ATK_DISABLE_SINGLE_INCLUDES) && !defined(__ATK_H_INSIDE__) && !defined(ATK_COMPILATION)
0024 #error "Only <atk/atk.h> can be included directly."
0025 #endif
0026 
0027 #include <atk/atkhyperlink.h>
0028 #include <atk/atkobject.h>
0029 
0030 G_BEGIN_DECLS
0031 
0032 #define ATK_TYPE_HYPERLINK_IMPL (atk_hyperlink_impl_get_type ())
0033 #define ATK_IS_HYPERLINK_IMPL(obj) G_TYPE_CHECK_INSTANCE_TYPE ((obj), ATK_TYPE_HYPERLINK_IMPL)
0034 #define ATK_HYPERLINK_IMPL(obj) G_TYPE_CHECK_INSTANCE_CAST ((obj), ATK_TYPE_HYPERLINK_IMPL, AtkHyperlinkImpl)
0035 #define ATK_HYPERLINK_IMPL_GET_IFACE(obj) G_TYPE_INSTANCE_GET_INTERFACE ((obj), ATK_TYPE_HYPERLINK_IMPL, AtkHyperlinkImplIface)
0036 
0037 #ifndef _TYPEDEF_ATK_HYPERLINK_IMPL_
0038 #define _TYPEDEF_ATK_HYPERLINK_IMPL__
0039 
0040 /**
0041  * AtkHyperlinkImpl:
0042  *
0043  * A queryable interface which allows AtkHyperlink instances
0044  * associated with an AtkObject to be obtained.  AtkHyperlinkImpl
0045  * corresponds to AT-SPI's Hyperlink interface, and differs from
0046  * AtkHyperlink in that AtkHyperlink is an object type, rather than an
0047  * interface, and thus cannot be directly queried. FTW
0048  */
0049 typedef struct _AtkHyperlinkImpl AtkHyperlinkImpl;
0050 #endif
0051 typedef struct _AtkHyperlinkImplIface AtkHyperlinkImplIface;
0052 
0053 struct _AtkHyperlinkImplIface
0054 {
0055   GTypeInterface parent;
0056 
0057   AtkHyperlink *(*get_hyperlink) (AtkHyperlinkImpl *impl);
0058 };
0059 
0060 ATK_AVAILABLE_IN_ALL
0061 GType atk_hyperlink_impl_get_type (void);
0062 
0063 ATK_AVAILABLE_IN_ALL
0064 AtkHyperlink *atk_hyperlink_impl_get_hyperlink (AtkHyperlinkImpl *impl);
0065 
0066 G_END_DECLS
0067 
0068 #endif /* __ATK_HYPERLINK_IMPL_H__ */