Mercurial > hg > orthanc-webviewer
diff Orthanc/Core/Toolbox.h @ 35:7c6cf09d838b
toolchains for MinGW-w64
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 30 Jun 2015 11:55:34 +0200 |
parents | 15acbf5e7545 |
children | dbc1c9ca0030 |
line wrap: on
line diff
--- a/Orthanc/Core/Toolbox.h Fri Jun 26 16:37:42 2015 +0200 +++ b/Orthanc/Core/Toolbox.h Tue Jun 30 11:55:34 2015 +0200 @@ -37,10 +37,7 @@ #include <stdint.h> #include <vector> #include <string> - -#if ORTHANC_PUGIXML_ENABLED == 1 #include <json/json.h> -#endif namespace Orthanc { @@ -160,5 +157,11 @@ const std::vector<std::string>& arguments); bool IsInteger(const std::string& str); + + void CopyJsonWithoutComments(Json::Value& target, + const Json::Value& source); + + bool StartsWith(const std::string& str, + const std::string& prefix); } }