summaryrefslogtreecommitdiff
path: root/src/core/Registry.hpp
diff options
context:
space:
mode:
authorAndreas Stöckel <astoecke@techfak.uni-bielefeld.de>2015-01-22 02:43:00 +0100
committerAndreas Stöckel <astoecke@techfak.uni-bielefeld.de>2015-01-22 02:43:00 +0100
commitd41716e4cc2be229fee82d99dc84e253d7949d47 (patch)
treeb4d7a01c0d9012cabe9ab745eb1ae11f872d4e44 /src/core/Registry.hpp
parent8e7be30a309ccd84684033ea854c574b32282495 (diff)
Added function which registers mimetypes for some default extensions (to be extended)
Diffstat (limited to 'src/core/Registry.hpp')
-rw-r--r--src/core/Registry.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/Registry.hpp b/src/core/Registry.hpp
index 965f336..f932480 100644
--- a/src/core/Registry.hpp
+++ b/src/core/Registry.hpp
@@ -106,6 +106,11 @@ public:
const std::string &mimetype);
/**
+ * Registers mimetypes for some default extensions.
+ */
+ void registerDefaultExtensions();
+
+ /**
* Returns the mimetype for the given extension.
*
* @param extension is the file extension for which the mimetype should be