diff options
Diffstat (limited to 'src/uscxml/util/URL.h')
-rw-r--r-- | src/uscxml/util/URL.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/uscxml/util/URL.h b/src/uscxml/util/URL.h index 9ad2f8e..f9e7ed5 100644 --- a/src/uscxml/util/URL.h +++ b/src/uscxml/util/URL.h @@ -149,6 +149,8 @@ public: */ static std::string getTempDir(bool shared = true); + static std::string getMimeType(const std::string extension, std::string magic = ""); + bool isAbsolute() { return _impl->isAbsolute(); } @@ -253,6 +255,7 @@ public: protected: std::shared_ptr<URLImpl> _impl; + static std::map<std::string, std::string> mimeTypes; friend class URLFetcher; static std::string currTmpDir; |