Mercurial > hg > orthanc-python
comparison 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 |
comparison
equal
deleted
inserted
replaced
118:7f8f26ef5006 | 119:cf6decdf9e15 |
---|---|
30 #include "OnChangeCallback.h" | 30 #include "OnChangeCallback.h" |
31 #include "OnStoredInstanceCallback.h" | 31 #include "OnStoredInstanceCallback.h" |
32 #include "IncomingInstanceFilter.h" | 32 #include "IncomingInstanceFilter.h" |
33 #include "ReceivedInstanceCallback.h" | 33 #include "ReceivedInstanceCallback.h" |
34 #include "StorageArea.h" | 34 #include "StorageArea.h" |
35 #include "StorageCommitmentScpCallback.h" | |
35 | 36 |
36 #include "RestCallbacks.h" | 37 #include "RestCallbacks.h" |
37 #include "PythonModule.h" | 38 #include "PythonModule.h" |
38 | 39 |
39 #include "Autogenerated/sdk.h" | 40 #include "Autogenerated/sdk.h" |
389 PyMethodDef f = { "RegisterReceivedInstanceCallback", RegisterReceivedInstanceCallback, METH_VARARGS, "" }; | 390 PyMethodDef f = { "RegisterReceivedInstanceCallback", RegisterReceivedInstanceCallback, METH_VARARGS, "" }; |
390 functions.push_back(f); | 391 functions.push_back(f); |
391 } | 392 } |
392 | 393 |
393 /** | 394 /** |
395 * New in release 4.1 | |
396 **/ | |
397 | |
398 { | |
399 PyMethodDef f = { "RegisterStorageCommitmentScpCallback", RegisterStorageCommitmentScpCallback, METH_VARARGS, "" }; | |
400 functions.push_back(f); | |
401 } | |
402 | |
403 /** | |
394 * Append all the global functions that were automatically generated | 404 * Append all the global functions that were automatically generated |
395 **/ | 405 **/ |
396 | 406 |
397 const PyMethodDef* sdk = GetOrthancSdkFunctions(); | 407 const PyMethodDef* sdk = GetOrthancSdkFunctions(); |
398 | 408 |