diff Core/Toolbox.h @ 2981:eff50153a7b3 db-changes

integration mainline->db-changes
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 06 Dec 2018 15:58:08 +0100
parents ad0e7def3338
children 4e43e67f8ecf
line wrap: on
line diff
--- a/Core/Toolbox.h	Thu Oct 18 10:48:11 2018 +0200
+++ b/Core/Toolbox.h	Thu Dec 06 15:58:08 2018 +0100
@@ -117,8 +117,6 @@
     bool IsChildUri(const UriComponents& baseUri,
                     const UriComponents& testedUri);
 
-    std::string AutodetectMimeType(const std::string& path);
-
     std::string FlattenUri(const UriComponents& components,
                            size_t fromLevel = 0);
 
@@ -238,6 +236,9 @@
     void FinalizeOpenSsl();
 
     std::string GenerateUuid();
+
+    std::string SubstituteVariables(const std::string& source,
+                                    const std::map<std::string, std::string>& dictionary);
   }
 }