1 /* pdfdocument.h: Implementation of EvDocument for PDF 2 * Copyright (C) 2004, Red Hat, Inc. 3 * 4 * This program is free software; you can redistribute it and/or modify 5 * it under the terms of the GNU General Public License as published by 6 * the Free Software Foundation; either version 2, or (at your option) 7 * any later version. 8 * 9 * This program is distributed in the hope that it will be useful, 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 * GNU General Public License for more details. 13 * 14 * You should have received a copy of the GNU General Public License 15 * along with this program; if not, write to the Free Software 16 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 17 */ 18 19 #ifndef __PDF_DOCUMENT_H__ 20 #define __PDF_DOCUMENT_H__ 21 22 #include "ev-document.h" 23 24 G_BEGIN_DECLS 25 26 #define PDF_TYPE_DOCUMENT (pdf_document_get_type ()) 27 #define PDF_DOCUMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PDF_TYPE_DOCUMENT, PdfDocument)) 28 #define PDF_IS_DOCUMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), PDF_TYPE_DOCUMENT)) 29 30 typedef struct _PdfDocument PdfDocument; 31 typedef struct _PdfDocumentClass PdfDocumentClass; 32 33 GType pdf_document_get_type (void) G_GNUC_CONST; 34 35 G_MODULE_EXPORT GType register_evince_backend (GTypeModule *module); 36 37 38 G_END_DECLS 39 40 #endif /* __PDF_DOCUMENT_H__ */ 41