]> www.fi.muni.cz Git - evince.git/blob - backend/djvu/djvu-document-private.h
New files, define a page transition effect, at the moment it maps
[evince.git] / backend / djvu / djvu-document-private.h
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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
19  */
20  
21 #ifndef __DJVU_DOCUMENT_INTERNAL_H__
22 #define __DJVU_DOCUMENT_INTERNAL_H__
23
24 #include "djvu-document.h"
25 #include "djvu-text.h"
26
27 #include <libdjvu/ddjvuapi.h>
28
29 struct _DjvuDocument {
30         GObject           parent_instance;
31
32         ddjvu_context_t  *d_context;
33         ddjvu_document_t *d_document;
34         ddjvu_format_t   *d_format;
35         ddjvu_format_t   *thumbs_format;
36
37         gchar            *uri;
38
39         DjvuText         *search;
40         
41         /* PS exporter */
42         gchar            *ps_filename;
43         GString          *opts;
44 };
45
46 int  djvu_document_get_n_pages (EvDocument   *document);
47 void djvu_handle_events        (DjvuDocument *djvu_document, 
48                                 int           wait);
49
50 #endif /* __DJVU_DOCUMENT_INTERNAL_H__ */