]> www.fi.muni.cz Git - evince.git/blob - djvu/djvu-document-private.h
3fa579f759d1b311fe980c52157f33dea8162104
[evince.git] / 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
36         gchar            *uri;
37
38         DjvuText         *search;
39 };
40
41 int  djvu_document_get_n_pages (EvDocument   *document);
42 void djvu_handle_events        (DjvuDocument *djvu_document, 
43                                 int           wait);
44
45 #endif /* __DJVU_DOCUMENT_INTERNAL_H__ */