Changeset 8 for trunk/src/epdfview.h

Show
Ignore:
Timestamp:
04/10/06 12:49:58 (3 years ago)
Author:
jordi
Message:

I've changed the way the loadFile() function handles the error. Now all Poppler error are defined under the DocumentError? enumeration. When an error happens we can call the Document::getErrorMessage() static method to get the error message from the error code.

Also I've added the Document domain to the GError.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/epdfview.h

    r6 r8  
    1919#define __E_PDF_VIEW_H__ 
    2020 
    21 #include <assert.h> 
    2221#include <gettext.h> 
    2322#include <glib.h>