diff OrthancServer/ServerIndex.h @ 268:4bc02e2254ec

preparing ServerIndex for recycling
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 07 Dec 2012 13:43:35 +0100
parents e4148b0ab1d0
children f6fdf5abe751
line wrap: on
line diff
--- a/OrthancServer/ServerIndex.h	Fri Dec 07 13:19:42 2012 +0100
+++ b/OrthancServer/ServerIndex.h	Fri Dec 07 13:43:35 2012 +0100
@@ -67,6 +67,11 @@
 
     SeriesStatus GetSeriesStatus(int id);
 
+    bool IsRecyclingNeeded(uint64_t instanceSize);
+
+    void Recycle(uint64_t instanceSize,
+                 const std::string& newPatientId);
+
   public:
     typedef std::list<FileInfo> Attachments;