diff OrthancServer/ServerEnumerations.h @ 1772:53e045b5a8ec

MIME content type can be associated to custom attachments (cf. "UserContentType")
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 12 Nov 2015 14:36:27 +0100
parents d143db00a794
children 613df4362575
line wrap: on
line diff
--- a/OrthancServer/ServerEnumerations.h	Tue Nov 10 17:18:42 2015 +0100
+++ b/OrthancServer/ServerEnumerations.h	Thu Nov 12 14:36:27 2015 +0100
@@ -198,12 +198,15 @@
   std::string EnumerationToString(MetadataType type);
 
   void RegisterUserContentType(int contentType,
-                               const std::string& name);
+                               const std::string& name,
+                               const std::string& mime);
 
   FileContentType StringToContentType(const std::string& str);
 
   std::string EnumerationToString(FileContentType type);
 
+  std::string GetFileContentMime(FileContentType type);
+
   std::string GetBasePath(ResourceType type,
                           const std::string& publicId);