comparison Core/SystemToolbox.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 4a38d7d4f0e0
children 4e43e67f8ecf
comparison
equal deleted inserted replaced
2896:3fabf9a673f6 2981:eff50153a7b3
41 # error The namespace SystemToolbox cannot be used in sandboxed environments 41 # error The namespace SystemToolbox cannot be used in sandboxed environments
42 #endif 42 #endif
43 43
44 #include "Enumerations.h" 44 #include "Enumerations.h"
45 45
46 #include <map>
46 #include <vector> 47 #include <vector>
47 #include <string> 48 #include <string>
48 #include <stdint.h> 49 #include <stdint.h>
49 50
50 namespace Orthanc 51 namespace Orthanc
98 void GetNowDicom(std::string& date, 99 void GetNowDicom(std::string& date,
99 std::string& time, 100 std::string& time,
100 bool utc); 101 bool utc);
101 102
102 unsigned int GetHardwareConcurrency(); 103 unsigned int GetHardwareConcurrency();
104
105 MimeType AutodetectMimeType(const std::string& path);
106
107 void GetEnvironmentVariables(std::map<std::string, std::string>& env);
108
109 std::string InterpretRelativePath(const std::string& baseDirectory,
110 const std::string& relativePath);
103 } 111 }
104 } 112 }