Mercurial > hg > orthanc
diff Core/FileStorage/StorageAccessor.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 | 9d277f8ad698 |
children | 4e43e67f8ecf |
line wrap: on
line diff
--- a/Core/FileStorage/StorageAccessor.h Thu Oct 18 10:48:11 2018 +0200 +++ b/Core/FileStorage/StorageAccessor.h Thu Dec 06 15:58:08 2018 +0100 @@ -110,10 +110,24 @@ #if ORTHANC_ENABLE_CIVETWEB == 1 || ORTHANC_ENABLE_MONGOOSE == 1 void AnswerFile(HttpOutput& output, const FileInfo& info, + MimeType mime) + { + AnswerFile(output, info, EnumerationToString(mime)); + } + + void AnswerFile(HttpOutput& output, + const FileInfo& info, const std::string& mime); void AnswerFile(RestApiOutput& output, const FileInfo& info, + MimeType mime) + { + AnswerFile(output, info, EnumerationToString(mime)); + } + + void AnswerFile(RestApiOutput& output, + const FileInfo& info, const std::string& mime); #endif };