diff OrthancServer/ServerIndex.h @ 1822:9ed9458aa44f

refactoring
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 25 Nov 2015 10:06:50 +0100
parents 98abb8d7f905
children e018037d4d0e
line wrap: on
line diff
--- a/OrthancServer/ServerIndex.h	Tue Nov 24 17:46:32 2015 +0100
+++ b/OrthancServer/ServerIndex.h	Wed Nov 25 10:06:50 2015 +0100
@@ -42,11 +42,11 @@
 
 #include "IDatabaseWrapper.h"
 
-
 namespace Orthanc
 {
   class LookupResource;
   class ServerContext;
+  class DicomInstanceToStore;
 
   class ServerIndex : public boost::noncopyable
   {
@@ -140,10 +140,8 @@
     void SetMaximumPatientCount(unsigned int count);
 
     StoreStatus Store(std::map<MetadataType, std::string>& instanceMetadata,
-                      const DicomMap& dicomSummary,
-                      const Attachments& attachments,
-                      const std::string& remoteAet,
-                      const MetadataMap& metadata);
+                      DicomInstanceToStore& instance,
+                      const Attachments& attachments);
 
     void ComputeStatistics(Json::Value& target);