Mercurial > hg > orthanc-databases
diff 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 |
line wrap: on
line diff
--- a/Framework/Plugins/IndexBackend.h Tue Jul 05 08:44:26 2022 +0200 +++ b/Framework/Plugins/IndexBackend.h Thu Sep 15 18:12:34 2022 +0200 @@ -85,7 +85,16 @@ int64_t id, const OrthancPluginAttachment& attachment, int64_t revision) ORTHANC_OVERRIDE; - + +#if ORTHANC_PLUGINS_VERSION_IS_ABOVE(1, 12, 0) + + virtual void AddAttachment2(DatabaseManager& manager, + int64_t id, + const OrthancPluginAttachment2& attachment, + int64_t revision) ORTHANC_OVERRIDE; + +#endif + virtual void AttachChild(DatabaseManager& manager, int64_t parent, int64_t child) ORTHANC_OVERRIDE;