diff Sources/Plugin.cpp @ 119:cf6decdf9e15

wrapped new SDK callback: orthanc.RegisterStorageCommitmentScpCallback()
author Alain Mazy <am@osimis.io>
date Mon, 28 Aug 2023 18:30:42 +0200
parents 65ec5597ec70
children c55b0583084b
line wrap: on
line diff
--- a/Sources/Plugin.cpp	Mon Aug 28 16:44:41 2023 +0200
+++ b/Sources/Plugin.cpp	Mon Aug 28 18:30:42 2023 +0200
@@ -32,6 +32,7 @@
 #include "IncomingInstanceFilter.h"
 #include "ReceivedInstanceCallback.h"
 #include "StorageArea.h"
+#include "StorageCommitmentScpCallback.h"
 
 #include "RestCallbacks.h"
 #include "PythonModule.h"
@@ -391,6 +392,15 @@
   }
 
   /**
+   * New in release 4.1
+   **/
+
+  {
+    PyMethodDef f = { "RegisterStorageCommitmentScpCallback", RegisterStorageCommitmentScpCallback, METH_VARARGS, "" };
+    functions.push_back(f);
+  }
+
+  /**
    * Append all the global functions that were automatically generated
    **/