Mercurial > hg > orthanc
comparison Core/FileStorage/StorageAccessor.h @ 2908:9d277f8ad698
new enumeration: MimeType
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 30 Oct 2018 16:16:07 +0100 |
parents | 878b59270859 |
children | 4e43e67f8ecf |
comparison
equal
deleted
inserted
replaced
2907:0204af4ece6a | 2908:9d277f8ad698 |
---|---|
108 } | 108 } |
109 | 109 |
110 #if ORTHANC_ENABLE_CIVETWEB == 1 || ORTHANC_ENABLE_MONGOOSE == 1 | 110 #if ORTHANC_ENABLE_CIVETWEB == 1 || ORTHANC_ENABLE_MONGOOSE == 1 |
111 void AnswerFile(HttpOutput& output, | 111 void AnswerFile(HttpOutput& output, |
112 const FileInfo& info, | 112 const FileInfo& info, |
113 MimeType mime) | |
114 { | |
115 AnswerFile(output, info, EnumerationToString(mime)); | |
116 } | |
117 | |
118 void AnswerFile(HttpOutput& output, | |
119 const FileInfo& info, | |
113 const std::string& mime); | 120 const std::string& mime); |
121 | |
122 void AnswerFile(RestApiOutput& output, | |
123 const FileInfo& info, | |
124 MimeType mime) | |
125 { | |
126 AnswerFile(output, info, EnumerationToString(mime)); | |
127 } | |
114 | 128 |
115 void AnswerFile(RestApiOutput& output, | 129 void AnswerFile(RestApiOutput& output, |
116 const FileInfo& info, | 130 const FileInfo& info, |
117 const std::string& mime); | 131 const std::string& mime); |
118 #endif | 132 #endif |