diff OrthancServer/ServerEnumerations.h @ 696:4c1860179cc5

dictionary of user-defined content types
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 05 Feb 2014 15:00:29 +0100
parents 2d0a347e8cfc
children b79eda29896d
line wrap: on
line diff
--- a/OrthancServer/ServerEnumerations.h	Wed Feb 05 13:58:00 2014 +0100
+++ b/OrthancServer/ServerEnumerations.h	Wed Feb 05 15:00:29 2014 +0100
@@ -121,13 +121,20 @@
   void RegisterUserMetadata(int metadata,
                             const std::string& name);
 
-  std::string GetBasePath(ResourceType type,
-                          const std::string& publicId);
-
   MetadataType StringToMetadata(const std::string& str);
 
   std::string EnumerationToString(MetadataType type);
 
+  void RegisterUserContentType(int contentType,
+                               const std::string& name);
+
+  FileContentType StringToContentType(const std::string& str);
+
+  std::string EnumerationToString(FileContentType type);
+
+  std::string GetBasePath(ResourceType type,
+                          const std::string& publicId);
+
   const char* EnumerationToString(SeriesStatus status);
 
   const char* EnumerationToString(StoreStatus status);