diff OrthancServer/IDatabaseWrapper.h @ 3083:683d572424b6 db-changes

IDatabaseWrapper::SetResourcesContent
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 04 Jan 2019 15:52:19 +0100
parents 847a0ed92654
children fb8ee0786b1e
line wrap: on
line diff
--- a/OrthancServer/IDatabaseWrapper.h	Fri Jan 04 13:52:34 2019 +0100
+++ b/OrthancServer/IDatabaseWrapper.h	Fri Jan 04 15:52:19 2019 +0100
@@ -48,6 +48,9 @@
 
 namespace Orthanc
 {
+  class ResourcesContent;
+
+  
   class IDatabaseWrapper : public boost::noncopyable
   {
   public:
@@ -76,7 +79,6 @@
       int64_t  seriesId_;
     };
 
-
     virtual ~IDatabaseWrapper()
     {
     }
@@ -191,14 +193,6 @@
 
     virtual void ClearMainDicomTags(int64_t id) = 0;
 
-    virtual void SetMainDicomTag(int64_t id,
-                                 const DicomTag& tag,
-                                 const std::string& value) = 0;
-
-    virtual void SetIdentifierTag(int64_t id,
-                                  const DicomTag& tag,
-                                  const std::string& value) = 0;
-
     virtual void SetMetadata(int64_t id,
                              MetadataType type,
                              const std::string& value) = 0;
@@ -237,5 +231,7 @@
                                 const std::string& study,
                                 const std::string& series,
                                 const std::string& instance) = 0;
+
+    virtual void SetResourcesContent(const ResourcesContent& content) = 0;
   };
 }