diff OrthancServer/OrthancRestApi.cpp @ 193:a1b9d1e1497b

failed attempt to compile with linux standard base
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 13 Nov 2012 14:02:28 +0100
parents c56dc32266e0
children 530a25320461
line wrap: on
line diff
--- a/OrthancServer/OrthancRestApi.cpp	Tue Nov 13 11:29:43 2012 +0100
+++ b/OrthancServer/OrthancRestApi.cpp	Tue Nov 13 14:02:28 2012 +0100
@@ -568,17 +568,18 @@
               uri[2] == "tags" || 
               uri[2] == "simplified-tags"))
     {
+      CompressionType compressionType;
       std::string fileUuid, contentType, filename;
       if (uri[2] == "file")
       {
-        existingResource = index_.GetFile(fileUuid, uri[1], "dicom");
+        existingResource = index_.GetFile(fileUuid, compressionType, uri[1], "dicom");
         contentType = "application/dicom";
         filename = fileUuid + ".dcm";
       }
       else if (uri[2] == "tags" ||
                uri[2] == "simplified-tags")
       {
-        existingResource = index_.GetFile(fileUuid, uri[1], "json");
+        existingResource = index_.GetFile(fileUuid, compressionType, uri[1], "json");
         contentType = "application/json";
         filename = fileUuid + ".json";
       }
@@ -642,7 +643,8 @@
                 uri[4] == "image-uint16"))))
     {
       std::string uuid;
-      existingResource = index_.GetFile(uuid, uri[1], "dicom");
+      CompressionType compressionType;
+      existingResource = index_.GetFile(uuid, compressionType, uri[1], "dicom");
 
       std::string action = uri[2];