diff Core/Enumerations.h @ 232:5368bbe813cf

refactoring of attachments
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 30 Nov 2012 14:22:27 +0100
parents e7432706b354
children c11273198cef
line wrap: on
line diff
--- a/Core/Enumerations.h	Fri Nov 30 12:18:44 2012 +0100
+++ b/Core/Enumerations.h	Fri Nov 30 14:22:27 2012 +0100
@@ -64,9 +64,22 @@
     PixelFormat_Grayscale16
   };
 
+
+  /**
+   * WARNING: Do not change the explicit values in the enumerations
+   * below this point. This would result in incompatible databases
+   * between versions of Orthanc!
+   **/
+
   enum CompressionType
   {
     CompressionType_None = 1,
     CompressionType_Zlib = 2
   };
+
+  enum FileType
+  {
+    FileType_Dicom = 1,
+    FileType_Json = 2
+  };
 }