Evince
Evince is a document viewer capable of displaying multiple and single page document formats like PDF and Postscript.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
djvu-document-private.h
Go to the documentation of this file.
1 /*
2  * Declarations used throughout the djvu classes
3  *
4  * Copyright (C) 2006, Michael Hofmann <mh21@piware.de>
5  *
6  * This program is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation; either version 2, or (at your option)
9  * any later version.
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  * GNU 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 __DJVU_DOCUMENT_INTERNAL_H__
22 #define __DJVU_DOCUMENT_INTERNAL_H__
23 
24 #include "djvu-document.h"
25 
26 #include <libdjvu/ddjvuapi.h>
27 
28 struct _DjvuDocument {
30 
31  ddjvu_context_t *d_context;
32  ddjvu_document_t *d_document;
33  ddjvu_format_t *d_format;
34  ddjvu_format_t *thumbs_format;
35 
36  gchar *uri;
37 
38  /* PS exporter */
39  gchar *ps_filename;
40  GString *opts;
41  ddjvu_fileinfo_t *fileinfo_pages;
42  gint n_pages;
43  GHashTable *file_ids;
44 };
45 
47 void djvu_handle_events (DjvuDocument *djvu_document,
48  int wait,
49  GError **error);
50 
51 #endif /* __DJVU_DOCUMENT_INTERNAL_H__ */