1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8; c-indent-level: 8 -*- */
2 /* this file is part of atril, a mate document viewer
3  *
4  *  Copyright (C) 2013 Carlos Garcia Campos <carlosgc@gnome.org>
5  *
6  * Evince is free software; you can redistribute it and/or modify it
7  * under the terms of the GNU General Public License as published by
8  * the Free Software Foundation; either version 2 of the License, or
9  * (at your option) any later version.
10  *
11  * Evince is distributed in the hope that it will be useful, but
12  * WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14  * General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with this program; if not, write to the Free Software
18  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
19  */
20 
21 #if !defined (XREADER_COMPILATION)
22 #error "This is a private header."
23 #endif
24 
25 #ifndef __EV_LINK_ACCESSIBLE_H__
26 #define __EV_LINK_ACCESSIBLE_H__
27 
28 #include <gtk/gtk-a11y.h>
29 #include "ev-view-accessible.h"
30 #include "ev-link.h"
31 
32 #define EV_TYPE_LINK_ACCESSIBLE      (ev_link_accessible_get_type ())
33 #define EV_LINK_ACCESSIBLE(obj)      (G_TYPE_CHECK_INSTANCE_CAST ((obj), EV_TYPE_LINK_ACCESSIBLE, EvLinkAccessible))
34 #define EV_IS_LINK_ACCESSIBLE(obj)   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), EV_TYPE_LINK_ACCESSIBLE))
35 
36 typedef struct _EvLinkAccessible        EvLinkAccessible;
37 typedef struct _EvLinkAccessibleClass   EvLinkAccessibleClass;
38 typedef struct _EvLinkAccessiblePrivate EvLinkAccessiblePrivate;
39 
40 struct _EvLinkAccessible {
41         AtkObject parent;
42 
43         EvLinkAccessiblePrivate *priv;
44 };
45 
46 struct _EvLinkAccessibleClass {
47         AtkObjectClass parent_class;
48 };
49 
50 GType             ev_link_accessible_get_type (void);
51 EvLinkAccessible *ev_link_accessible_new      (EvViewAccessible *view,
52                                                EvLink           *link,
53                                                EvRectangle      *area);
54 
55 #endif  /* __EV_LINK_ACCESSIBLE_H__ */
56 
57