X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;f=backend%2Fev-document.h;h=5581cd713825df9385bc75f1e8cf7a3f9262b570;hb=20bac8406dacba5512f116c91ab21b0ad20fabf5;hp=3616e4307b465988e0a74025527e0ca98d26bc3b;hpb=e0ca7880392b3d064e55406f270e2f68779e3cdc;p=evince.git diff --git a/backend/ev-document.h b/backend/ev-document.h index 3616e430..5581cd71 100644 --- a/backend/ev-document.h +++ b/backend/ev-document.h @@ -40,6 +40,14 @@ G_BEGIN_DECLS typedef struct _EvDocument EvDocument; typedef struct _EvDocumentIface EvDocumentIface; +#define EV_DOCUMENT_ERROR ev_document_error_quark () + +typedef enum +{ + EV_DOCUMENT_ERROR_INVALID, + EV_DOCUMENT_ERROR_ENCRYPTED +} EvDocumentError; + struct _EvDocumentIface { GTypeInterface base_iface; @@ -78,9 +86,12 @@ struct _EvDocumentIface int clip_y, int clip_width, int clip_height); + + }; -GType ev_document_get_type (void); +GType ev_document_get_type (void); +GQuark ev_document_error_quark (void); gboolean ev_document_load (EvDocument *document, const char *uri,