diff options
Diffstat (limited to 'backend/ev-document-factory.c')
-rw-r--r-- | backend/ev-document-factory.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/backend/ev-document-factory.c b/backend/ev-document-factory.c index 0f85c7c..7fed2b9 100644 --- a/backend/ev-document-factory.c +++ b/backend/ev-document-factory.c @@ -35,6 +35,9 @@ #ifdef ENABLE_DJVU #include "djvu-document.h" #endif +#ifdef ENABLE_COMICS +#include "comics-document.h" +#endif #include <string.h> @@ -69,6 +72,12 @@ const EvDocumentType document_types[] = { /* dvi: */ {"application/x-dvi", EV_BACKEND_DVI, dvi_document_get_type}, #endif + +#ifdef ENABLE_DVI + /* cbr/cbz: */ + {"application/cbr", EV_BACKEND_COMICS, comics_document_get_type}, + {"application/cbz", EV_BACKEND_COMICS, comics_document_get_type}, +#endif }; #ifdef ENABLE_PIXBUF |