1 /* this file is part of atril, a mate document viewer 2 * 3 * Copyright (C) 2010 Carlos Garcia Campos <carlosgc@gnome.org> 4 * 2012 Leandro Vital <leandro.vital@yahoo.com.br> 5 * 6 * Atril 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 * Atril 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 #ifndef __XPS_DOCUMENT_H__ 22 #define __XPS_DOCUMENT_H__ 23 24 #include "ev-document.h" 25 26 G_BEGIN_DECLS 27 28 #define XPS_TYPE_DOCUMENT (xps_document_get_type()) 29 #define XPS_DOCUMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), XPS_TYPE_DOCUMENT, XPSDocument)) 30 #define XPS_DOCUMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), XPS_TYPE_DOCUMENT, XPSDocumentClass)) 31 #define XPS_IS_DOCUMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), XPS_TYPE_DOCUMENT)) 32 #define XPS_DOCUMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), XPS_TYPE_DOCUMENT, XPSDocumentClass)) 33 34 typedef struct _XPSDocument XPSDocument; 35 typedef struct _XPSDocumentClass XPSDocumentClass; 36 37 GType xps_document_get_type (void) G_GNUC_CONST; 38 39 G_MODULE_EXPORT GType register_atril_backend (GTypeModule *module); 40 41 G_END_DECLS 42 43 #endif /* __XPS_DOCUMENT_H__ */ 44