diff OrthancFramework/Sources/Images/ImageAccessor.h @ 4273:0034f855c023

tuning log categories from command-line, and binary compat with orthanc framework 1.7.2
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 03 Nov 2020 12:24:50 +0100
parents 2d5209153b32
children 785a2713323e
line wrap: on
line diff
--- a/OrthancFramework/Sources/Images/ImageAccessor.h	Tue Nov 03 07:19:33 2020 +0100
+++ b/OrthancFramework/Sources/Images/ImageAccessor.h	Tue Nov 03 12:24:50 2020 +0100
@@ -22,6 +22,7 @@
 
 #pragma once
 
+#include "../Compatibility.h"
 #include "../Enumerations.h"
 
 #include <string>
@@ -60,6 +61,12 @@
       return reinterpret_cast<T*>(row) [x];
     }
 
+#if ORTHANC_BUILDING_FRAMEWORK_LIBRARY == 1
+    // Alias for binary compatibility with Orthanc Framework 1.7.2 => don't use it anymore
+    void* GetBuffer() const;
+    void* GetRow(unsigned int y) const;
+#endif
+
   public:
     ImageAccessor()
     {