diff Framework/Plugins/IndexBackend.h @ 261:34e2b93a7ac1

implementing interface for revisions in attachments
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 19 Apr 2021 18:47:50 +0200
parents e184dcadf163
children b0c65094b299
line wrap: on
line diff
--- a/Framework/Plugins/IndexBackend.h	Mon Apr 19 16:45:15 2021 +0200
+++ b/Framework/Plugins/IndexBackend.h	Mon Apr 19 18:47:50 2021 +0200
@@ -101,7 +101,8 @@
     
     virtual void AddAttachment(DatabaseManager& manager,
                                int64_t id,
-                               const OrthancPluginAttachment& attachment) ORTHANC_OVERRIDE;
+                               const OrthancPluginAttachment& attachment,
+                               int64_t revision) ORTHANC_OVERRIDE;
     
     virtual void AttachChild(DatabaseManager& manager,
                              int64_t parent,
@@ -205,6 +206,7 @@
                                      const OrthancPluginExportedResource& resource) ORTHANC_OVERRIDE;
     
     virtual bool LookupAttachment(IDatabaseBackendOutput& output,
+                                  int64_t& revision /*out*/,
                                   DatabaseManager& manager,
                                   int64_t id,
                                   int32_t contentType) ORTHANC_OVERRIDE;