Mercurial > hg > orthanc-databases
comparison Framework/Plugins/IndexBackend.h @ 366:cd9521e04249 attach-custom-data
DatabaseBackendAdapterV4: added support for customData + revision when not already done
author | Alain Mazy <am@osimis.io> |
---|---|
date | Thu, 15 Sep 2022 18:12:34 +0200 |
parents | 6b18d3fbee82 |
children | f18e46d7dbf8 |
comparison
equal
deleted
inserted
replaced
365:7671fa7f099e | 366:cd9521e04249 |
---|---|
83 | 83 |
84 virtual void AddAttachment(DatabaseManager& manager, | 84 virtual void AddAttachment(DatabaseManager& manager, |
85 int64_t id, | 85 int64_t id, |
86 const OrthancPluginAttachment& attachment, | 86 const OrthancPluginAttachment& attachment, |
87 int64_t revision) ORTHANC_OVERRIDE; | 87 int64_t revision) ORTHANC_OVERRIDE; |
88 | 88 |
89 #if ORTHANC_PLUGINS_VERSION_IS_ABOVE(1, 12, 0) | |
90 | |
91 virtual void AddAttachment2(DatabaseManager& manager, | |
92 int64_t id, | |
93 const OrthancPluginAttachment2& attachment, | |
94 int64_t revision) ORTHANC_OVERRIDE; | |
95 | |
96 #endif | |
97 | |
89 virtual void AttachChild(DatabaseManager& manager, | 98 virtual void AttachChild(DatabaseManager& manager, |
90 int64_t parent, | 99 int64_t parent, |
91 int64_t child) ORTHANC_OVERRIDE; | 100 int64_t child) ORTHANC_OVERRIDE; |
92 | 101 |
93 virtual void ClearChanges(DatabaseManager& manager) ORTHANC_OVERRIDE; | 102 virtual void ClearChanges(DatabaseManager& manager) ORTHANC_OVERRIDE; |