From c077e7131bdd63aeaee762b69d77f3881ff496b1 Mon Sep 17 00:00:00 2001 From: Carlos Garcia Campos Date: Sat, 29 Nov 2008 12:09:10 +0000 Subject: Move mime-type functions from document-facrory to file-helpers so that it 2008-11-29 Carlos Garcia Campos * libdocument/ev-document-factory.c: (get_document_from_uri), (ev_document_factory_get_document): * libdocument/ev-file-helpers.[ch]: (get_mime_type_from_uri), (get_mime_type_from_data), (ev_file_get_mime_type): Move mime-type functions from document-facrory to file-helpers so that it can be reused. svn path=/trunk/; revision=3279 --- (limited to 'libdocument/ev-file-helpers.h') diff --git a/libdocument/ev-file-helpers.h b/libdocument/ev-file-helpers.h index cd86320..833eade 100644 --- a/libdocument/ev-file-helpers.h +++ b/libdocument/ev-file-helpers.h @@ -50,6 +50,10 @@ gboolean ev_xfer_uri_simple (const char *from, const char *to, GError **error); +gchar *ev_file_get_mime_type (const gchar *uri, + gboolean fast, + GError **error); + gchar *ev_file_uncompress (const gchar *uri, EvCompressionType type, GError **error); -- cgit v0.9.1