changeset 4599:3875dcb65987 db-changes

integration mainline->db-changes
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 18 Mar 2021 11:26:53 +0100
parents da2e0a457eae (current diff) b7fe3494a53c (diff)
children c02a04e6161d
files OrthancServer/Plugins/Include/orthanc/OrthancCPlugin.h
diffstat 2 files changed, 10 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/OrthancServer/Plugins/Engine/PluginsEnumerations.cpp	Thu Mar 18 11:26:10 2021 +0100
+++ b/OrthancServer/Plugins/Engine/PluginsEnumerations.cpp	Thu Mar 18 11:26:53 2021 +0100
@@ -228,6 +228,9 @@
         case FileContentType_DicomAsJson:
           return OrthancPluginContentType_DicomAsJson;
 
+        case FileContentType_DicomUntilPixelData:
+          return OrthancPluginContentType_DicomUntilPixelData;
+
         default:
           return OrthancPluginContentType_Unknown;
       }
@@ -244,6 +247,9 @@
         case OrthancPluginContentType_DicomAsJson:
           return FileContentType_DicomAsJson;
 
+        case OrthancPluginContentType_DicomUntilPixelData:
+          return FileContentType_DicomUntilPixelData;
+
         default:
           return FileContentType_Unknown;
       }
--- a/OrthancServer/Plugins/Include/orthanc/OrthancCPlugin.h	Thu Mar 18 11:26:10 2021 +0100
+++ b/OrthancServer/Plugins/Include/orthanc/OrthancCPlugin.h	Thu Mar 18 11:26:53 2021 +0100
@@ -686,9 +686,10 @@
    **/
   typedef enum
   {
-    OrthancPluginContentType_Unknown = 0,      /*!< Unknown content type */
-    OrthancPluginContentType_Dicom = 1,        /*!< DICOM */
-    OrthancPluginContentType_DicomAsJson = 2,  /*!< JSON summary of a DICOM file */
+    OrthancPluginContentType_Unknown = 0,             /*!< Unknown content type */
+    OrthancPluginContentType_Dicom = 1,               /*!< DICOM */
+    OrthancPluginContentType_DicomAsJson = 2,         /*!< JSON summary of a DICOM file */
+    OrthancPluginContentType_DicomUntilPixelData = 3, /*!< DICOM Header till pixel data */
 
     _OrthancPluginContentType_INTERNAL = 0x7fffffff
   } OrthancPluginContentType;