diff OrthancServer/Sources/ServerIndex.h @ 4574:855e43bb293c db-changes

cont
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 08 Mar 2021 18:15:26 +0100
parents f6bd5563b5df
children a114a5db2afe
line wrap: on
line diff
--- a/OrthancServer/Sources/ServerIndex.h	Mon Mar 08 17:47:43 2021 +0100
+++ b/OrthancServer/Sources/ServerIndex.h	Mon Mar 08 18:15:26 2021 +0100
@@ -151,8 +151,6 @@
     StoreStatus AddAttachment(const FileInfo& attachment,
                               const std::string& publicId);
 
-    void ReconstructInstance(const ParsedDicomFile& dicom);
-
 
 
     /***
@@ -385,6 +383,11 @@
         db_.ClearExportedResources();
       }
 
+      void ClearMainDicomTags(int64_t id)
+      {
+        return db_.ClearMainDicomTags(id);
+      }
+
       void DeleteAttachment(int64_t id,
                             FileContentType attachment)
       {
@@ -433,6 +436,11 @@
       {
         db_.SetProtectedPatient(internalId, isProtected);
       }
+
+      void SetResourcesContent(const ResourcesContent& content)
+      {
+        db_.SetResourcesContent(content);
+      }
     };
 
 
@@ -603,5 +611,7 @@
 
     void LogChange(ChangeType changeType,
                    const std::string& publicId);
+
+    void ReconstructInstance(const ParsedDicomFile& dicom);
   };
 }