-#include <glib/gi18n.h>
-#include <libgnomevfs/gnome-vfs-mime-utils.h>
-#include <libgnomevfs/gnome-vfs-file-info.h>
-#include <libgnomevfs/gnome-vfs-ops.h>
-#include <gtk/gtkfilechooserdialog.h>
-
-typedef struct _EvDocumentType EvDocumentType;
-struct _EvDocumentType
-{
- const char *mime_type;
- EvBackend backend;
- GType (*document_type_factory_callback)();
-};
-
-const EvDocumentType document_types[] = {
-#ifdef ENABLE_PDF
- /* PDF: */
- {"application/pdf", EV_BACKEND_PDF, pdf_document_get_type},
-#endif
-
-#ifdef ENABLE_PS
- /* Postscript: */
- {"application/postscript", EV_BACKEND_PS, ps_document_get_type},
- {"application/x-gzpostscript", EV_BACKEND_PS, ps_document_get_type},
- {"image/x-eps", EV_BACKEND_PS, ps_document_get_type},
-#endif
-
-#ifdef ENABLE_TIFF
- /* Tiff: */
- {"image/tiff", EV_BACKEND_TIFF, tiff_document_get_type},
-#endif
-
-#ifdef ENABLE_DJVU
- /* djvu: */
- {"image/vnd.djvu", EV_BACKEND_DJVU, djvu_document_get_type},
-#endif