Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/libdocument/ev-file-helpers.h
diff options
context:
space:
mode:
authorCarlos Garcia Campos <carlosgc@gnome.org>2008-11-29 12:09:10 (GMT)
committer Carlos Garcia Campos <carlosgc@src.gnome.org>2008-11-29 12:09:10 (GMT)
commitc077e7131bdd63aeaee762b69d77f3881ff496b1 (patch)
treea13eb702164bd97c1652fce526e9ebbbead68ea2 /libdocument/ev-file-helpers.h
parent4327eef27e7651e2aa59cacd206dd20691f51321 (diff)
Move mime-type functions from document-facrory to file-helpers so that it
2008-11-29 Carlos Garcia Campos <carlosgc@gnome.org> * 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
Diffstat (limited to 'libdocument/ev-file-helpers.h')
-rw-r--r--libdocument/ev-file-helpers.h4
1 files changed, 4 insertions, 0 deletions
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);