diff OrthancServer/ServerIndex.h @ 1668:de1413733c97 db-changes

reconstructing main dicom tags
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 30 Sep 2015 17:18:39 +0200
parents d6a93e12b1c1
children a903d57d9f0c
line wrap: on
line diff
--- a/OrthancServer/ServerIndex.h	Wed Sep 30 14:04:53 2015 +0200
+++ b/OrthancServer/ServerIndex.h	Wed Sep 30 17:18:39 2015 +0200
@@ -76,7 +76,8 @@
     static void UnstableResourcesMonitorThread(ServerIndex* that);
 
     void MainDicomTagsToJson(Json::Value& result,
-                             int64_t resourceId);
+                             int64_t resourceId,
+                             ResourceType resourceType);
 
     SeriesStatus GetSeriesStatus(int64_t id);
 
@@ -110,9 +111,6 @@
 
     uint64_t IncrementGlobalSequenceInternal(GlobalProperty property);
 
-    void SetMainDicomTags(int64_t resource,
-                          const DicomMap& tags);
-
     int64_t CreateResource(const std::string& publicId,
                            ResourceType type);
 
@@ -267,5 +265,7 @@
 
     bool LookupResourceType(ResourceType& type,
                             const std::string& publicId);
+
+    unsigned int GetDatabaseVersion();
   };
 }