1 /* this file is part of evince, a gnome document viewer
3 * Copyright (C) 2010 Carlos Garcia Campos <carlosgc@gnome.org>
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.
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.
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.
20 #ifndef __XPS_DOCUMENT_H__
21 #define __XPS_DOCUMENT_H__
23 #include <glib-object.h>
25 #include "ev-document.h"
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))
35 typedef struct _XPSDocument XPSDocument;
36 typedef struct _XPSDocumentClass XPSDocumentClass;
38 GType xps_document_get_type (void) G_GNUC_CONST;
40 G_MODULE_EXPORT GType register_evince_backend (GTypeModule *module);
44 #endif /* __XPS_DOCUMENT_H__ */