diff Core/Enumerations.h @ 4073:e8d30585b909

LookupMimeType()
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 15 Jun 2020 17:21:48 +0200
parents b3f09bc9734b
children
line wrap: on
line diff
--- a/Core/Enumerations.h	Thu Jun 11 16:42:27 2020 +0200
+++ b/Core/Enumerations.h	Mon Jun 15 17:21:48 2020 +0200
@@ -885,6 +885,10 @@
   MimeType StringToMimeType(const std::string& mime);
   
   ORTHANC_PUBLIC
+  bool LookupMimeType(MimeType& target,
+                      const std::string& source);
+  
+  ORTHANC_PUBLIC
   unsigned int GetBytesPerPixel(PixelFormat format);
 
   ORTHANC_PUBLIC