Mercurial > hg > orthanc-databases
comparison Framework/Plugins/IDatabaseBackend.h @ 577:991b9b285e1a attach-custom-data tip
fix custom-data handling
author | Alain Mazy <am@orthanc.team> |
---|---|
date | Wed, 02 Oct 2024 09:40:20 +0200 |
parents | f18e46d7dbf8 |
children |
comparison
equal
deleted
inserted
replaced
576:b0533b703c2c | 577:991b9b285e1a |
---|---|
64 virtual void AddAttachment(DatabaseManager& manager, | 64 virtual void AddAttachment(DatabaseManager& manager, |
65 int64_t id, | 65 int64_t id, |
66 const OrthancPluginAttachment& attachment, | 66 const OrthancPluginAttachment& attachment, |
67 int64_t revision) = 0; | 67 int64_t revision) = 0; |
68 | 68 |
69 #if ORTHANC_PLUGINS_VERSION_IS_ABOVE(1, 12, 0) | 69 #if ORTHANC_PLUGINS_VERSION_IS_ABOVE(1, 12, 6) |
70 | 70 // New in Orthanc 1.12.6 |
71 virtual void AddAttachment2(DatabaseManager& manager, | 71 virtual void AddAttachment(Orthanc::DatabasePluginMessages::TransactionResponse& response, |
72 int64_t id, | 72 DatabaseManager& manager, |
73 const OrthancPluginAttachment2& attachment, | 73 const Orthanc::DatabasePluginMessages::AddAttachment_Request& request) = 0; |
74 int64_t revision) = 0; | 74 #endif |
75 #endif | 75 |
76 // #if ORTHANC_PLUGINS_VERSION_IS_ABOVE(1, 12, 6) | |
77 | |
78 // virtual void AddAttachment2(DatabaseManager& manager, | |
79 // int64_t id, | |
80 // const OrthancPluginAttachment2& attachment, | |
81 // int64_t revision) = 0; | |
82 // #endif | |
76 | 83 |
77 virtual void AttachChild(DatabaseManager& manager, | 84 virtual void AttachChild(DatabaseManager& manager, |
78 int64_t parent, | 85 int64_t parent, |
79 int64_t child) = 0; | 86 int64_t child) = 0; |
80 | 87 |
404 // New in Orthanc 1.12.5 | 411 // New in Orthanc 1.12.5 |
405 virtual void ExecuteFind(Orthanc::DatabasePluginMessages::TransactionResponse& response, | 412 virtual void ExecuteFind(Orthanc::DatabasePluginMessages::TransactionResponse& response, |
406 DatabaseManager& manager, | 413 DatabaseManager& manager, |
407 const Orthanc::DatabasePluginMessages::Find_Request& request) = 0; | 414 const Orthanc::DatabasePluginMessages::Find_Request& request) = 0; |
408 #endif | 415 #endif |
416 | |
409 }; | 417 }; |
410 } | 418 } |