Mercurial > hg > orthanc-stone
comparison Resources/Orthanc/Core/FileStorage/StorageAccessor.cpp @ 208:db70f6c5fa4f
sync
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 11 Apr 2018 16:27:09 +0200 |
parents | 03afbee0cc7b |
children |
comparison
equal
deleted
inserted
replaced
205:886230938339 | 208:db70f6c5fa4f |
---|---|
35 #include "StorageAccessor.h" | 35 #include "StorageAccessor.h" |
36 | 36 |
37 #include "../Compression/ZlibCompressor.h" | 37 #include "../Compression/ZlibCompressor.h" |
38 #include "../OrthancException.h" | 38 #include "../OrthancException.h" |
39 #include "../Toolbox.h" | 39 #include "../Toolbox.h" |
40 #include "../SystemToolbox.h" | 40 #include "../Toolbox.h" |
41 | 41 |
42 #if ORTHANC_ENABLE_CIVETWEB == 1 || ORTHANC_ENABLE_MONGOOSE == 1 | 42 #if ORTHANC_ENABLE_CIVETWEB == 1 || ORTHANC_ENABLE_MONGOOSE == 1 |
43 # include "../HttpServer/HttpStreamTranscoder.h" | 43 # include "../HttpServer/HttpStreamTranscoder.h" |
44 #endif | 44 #endif |
45 | 45 |
49 size_t size, | 49 size_t size, |
50 FileContentType type, | 50 FileContentType type, |
51 CompressionType compression, | 51 CompressionType compression, |
52 bool storeMd5) | 52 bool storeMd5) |
53 { | 53 { |
54 std::string uuid = SystemToolbox::GenerateUuid(); | 54 std::string uuid = Toolbox::GenerateUuid(); |
55 | 55 |
56 std::string md5; | 56 std::string md5; |
57 | 57 |
58 if (storeMd5) | 58 if (storeMd5) |
59 { | 59 { |