diff OrthancServer/ServerEnumerations.h @ 204:7f4acf490179

changes api
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 28 Nov 2012 11:27:57 +0100
parents bee20e978835
children 4453a010d0db
line wrap: on
line diff
--- a/OrthancServer/ServerEnumerations.h	Tue Nov 27 17:50:24 2012 +0100
+++ b/OrthancServer/ServerEnumerations.h	Wed Nov 28 11:27:57 2012 +0100
@@ -31,6 +31,8 @@
 
 #pragma once
 
+#include <string>
+
 namespace Orthanc
 {
   enum SeriesStatus
@@ -76,8 +78,7 @@
     ChangeType_NewInstance = 3,
     ChangeType_NewPatient = 4,
     ChangeType_NewSeries = 2,
-    ChangeType_NewStudy = 5,
-    ChangeType_InvalidSeries = 6
+    ChangeType_NewStudy = 5
   };
 
   enum AttachedFileType
@@ -88,7 +89,10 @@
 
   const char* ToString(ResourceType type);
 
-  const char* GetBasePath(ResourceType type);
+  std::string GetBasePath(ResourceType type,
+                          const std::string& publicId);
 
   const char* ToString(SeriesStatus status);
+
+  const char* ToString(ChangeType type);
 }