Mercurial > hg > orthanc-databases
comparison Framework/Plugins/IndexBackend.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 |
---|---|
89 virtual void AddAttachment(DatabaseManager& manager, | 89 virtual void AddAttachment(DatabaseManager& manager, |
90 int64_t id, | 90 int64_t id, |
91 const OrthancPluginAttachment& attachment, | 91 const OrthancPluginAttachment& attachment, |
92 int64_t revision) ORTHANC_OVERRIDE; | 92 int64_t revision) ORTHANC_OVERRIDE; |
93 | 93 |
94 #if ORTHANC_PLUGINS_VERSION_IS_ABOVE(1, 12, 0) | 94 #if ORTHANC_PLUGINS_VERSION_IS_ABOVE(1, 12, 6) |
95 | 95 // New in Orthanc 1.12.6 |
96 virtual void AddAttachment2(DatabaseManager& manager, | 96 virtual void AddAttachment(Orthanc::DatabasePluginMessages::TransactionResponse& response, |
97 int64_t id, | 97 DatabaseManager& manager, |
98 const OrthancPluginAttachment2& attachment, | 98 const Orthanc::DatabasePluginMessages::AddAttachment_Request& request) ORTHANC_OVERRIDE; |
99 int64_t revision) ORTHANC_OVERRIDE; | 99 #endif |
100 | 100 |
101 #endif | 101 // #if ORTHANC_PLUGINS_VERSION_IS_ABOVE(1, 12, 6) |
102 | |
103 // virtual void AddAttachment2(DatabaseManager& manager, | |
104 // int64_t id, | |
105 // const OrthancPluginAttachment2& attachment, | |
106 // int64_t revision) ORTHANC_OVERRIDE; | |
107 | |
108 // #endif | |
102 | 109 |
103 virtual void AttachChild(DatabaseManager& manager, | 110 virtual void AttachChild(DatabaseManager& manager, |
104 int64_t parent, | 111 int64_t parent, |
105 int64_t child) ORTHANC_OVERRIDE; | 112 int64_t child) ORTHANC_OVERRIDE; |
106 | 113 |