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 File Reference
#include "djvu-document.h"
#include <libdjvu/ddjvuapi.h>
+ Include dependency graph for djvu-document-private.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  _DjvuDocument
 

Functions

int djvu_document_get_n_pages (EvDocument *document)
 
void djvu_handle_events (DjvuDocument *djvu_document, int wait, GError **error)
 

Function Documentation

int djvu_document_get_n_pages ( EvDocument document)

Definition at line 287 of file djvu-document.c.

288 {
289  DjvuDocument *djvu_document = DJVU_DOCUMENT (document);
290 
291  g_return_val_if_fail (djvu_document->d_document, 0);
292 
293  return ddjvu_document_get_pagenum (djvu_document->d_document);
294 }

+ Here is the caller graph for this function:

void djvu_handle_events ( DjvuDocument djvu_document,
int  wait,
GError **  error 
)

Definition at line 112 of file djvu-document.c.

113 {
114  ddjvu_context_t *ctx = djvu_document->d_context;
115  const ddjvu_message_t *msg;
116 
117  if (!ctx)
118  return;
119 
120  if (wait)
121  ddjvu_message_wait (ctx);
122 
123  while ((msg = ddjvu_message_peek (ctx))) {
124  handle_message (msg, error);
125  ddjvu_message_pop (ctx);
126  if (error && *error)
127  return;
128  }
129 }

+ Here is the caller graph for this function: