diff OrthancServer/ServerIndex.h @ 3080:1a75595d8e44 db-changes

started refactoring of ServerIndex::Store()
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 03 Jan 2019 18:21:22 +0100
parents ce272138f15e
children 74e3e48aa9bd
line wrap: on
line diff
--- a/OrthancServer/ServerIndex.h	Thu Jan 03 14:03:39 2019 +0100
+++ b/OrthancServer/ServerIndex.h	Thu Jan 03 18:21:22 2019 +0100
@@ -116,10 +116,12 @@
                    ResourceType resourceType,
                    const std::string& publicId);
 
-    uint64_t IncrementGlobalSequenceInternal(GlobalProperty property);
+    void SignalNewResource(ChangeType changeType,
+                           ResourceType level,
+                           const std::string& publicId,
+                           int64_t internalId);
 
-    int64_t CreateResource(const std::string& publicId,
-                           ResourceType type);
+    uint64_t IncrementGlobalSequenceInternal(GlobalProperty property);
 
     void SetInstanceMetadata(std::map<MetadataType, std::string>& instanceMetadata,
                              int64_t instance,