2
* Declarations used throughout the djvu classes
4
* Copyright (C) 2006, Michael Hofmann <mh21@piware.de>
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)
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.
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.
21
#ifndef __DJVU_DOCUMENT_INTERNAL_H__
22
#define __DJVU_DOCUMENT_INTERNAL_H__
24
#include "djvu-document.h"
25
#include "djvu-text.h"
27
#include <libdjvu/ddjvuapi.h>
29
struct _DjvuDocument {
30
GObject parent_instance;
32
ddjvu_context_t *d_context;
33
ddjvu_document_t *d_document;
34
ddjvu_format_t *d_format;
41
int djvu_document_get_n_pages (EvDocument *document);
42
void djvu_handle_events (DjvuDocument *djvu_document,
45
#endif /* __DJVU_DOCUMENT_INTERNAL_H__ */