]> www.fi.muni.cz Git - evince.git/blob - backend/xps/xps-document.h
[dualscreen] fix crash on ctrl+w and fix control window closing
[evince.git] / backend / xps / xps-document.h
1 /* this file is part of evince, a gnome document viewer
2  *
3  * Copyright (C) 2010 Carlos Garcia Campos <carlosgc@gnome.org>
4  *
5  * Evince is free software; you can redistribute it and/or modify it
6  * under the terms of the GNU General Public License as published by
7  * the Free Software Foundation; either version 2 of the License, or
8  * (at your option) any later version.
9  *
10  * Evince is distributed in the hope that it will be useful, but
11  * WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13  * General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public License
16  * along with this program; if not, write to the Free Software
17  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18  */
19
20 #ifndef __XPS_DOCUMENT_H__
21 #define __XPS_DOCUMENT_H__
22
23 #include <glib-object.h>
24
25 #include "ev-document.h"
26
27 G_BEGIN_DECLS
28
29 #define XPS_TYPE_DOCUMENT           (xps_document_get_type())
30 #define XPS_DOCUMENT(obj)           (G_TYPE_CHECK_INSTANCE_CAST ((obj), XPS_TYPE_DOCUMENT, XPSDocument))
31 #define XPS_DOCUMENT_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST ((klass), XPS_TYPE_DOCUMENT, XPSDocumentClass))
32 #define XPS_IS_DOCUMENT(obj)        (G_TYPE_CHECK_INSTANCE_TYPE ((obj), XPS_TYPE_DOCUMENT))
33 #define XPS_DOCUMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), XPS_TYPE_DOCUMENT, XPSDocumentClass))
34
35 typedef struct _XPSDocument      XPSDocument;
36 typedef struct _XPSDocumentClass XPSDocumentClass;
37
38 GType                 xps_document_get_type   (void) G_GNUC_CONST;
39
40 G_MODULE_EXPORT GType register_evince_backend (GTypeModule *module);
41
42 G_END_DECLS
43
44 #endif /* __XPS_DOCUMENT_H__ */