diff Core/Toolbox.h @ 1397:704de8c30ff5

modularization
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 01 Jun 2015 11:50:58 +0200
parents f497a72d9f71
children fe384a9d3b51
line wrap: on
line diff
--- a/Core/Toolbox.h	Mon Jun 01 11:15:55 2015 +0200
+++ b/Core/Toolbox.h	Mon Jun 01 11:50:58 2015 +0200
@@ -122,24 +122,30 @@
 
     std::string StripSpaces(const std::string& source);
 
+#if BOOST_HAS_DATE_TIME == 1
     std::string GetNowIsoString();
+#endif
 
     // In-place percent-decoding for URL
     void UrlDecode(std::string& s);
 
     Endianness DetectEndianness();
 
+#if BOOST_HAS_REGEX == 1
     std::string WildcardToRegularExpression(const std::string& s);
+#endif
 
     void TokenizeString(std::vector<std::string>& result,
                         const std::string& source,
                         char separator);
 
+#if BOOST_HAS_REGEX == 1
     void DecodeDataUriScheme(std::string& mime,
                              std::string& content,
                              const std::string& source);
+#endif
 
-    void CreateDirectory(const std::string& path);
+    void MakeDirectory(const std::string& path);
 
     bool IsExistingFile(const std::string& path);