Mercurial > hg > orthanc
comparison Core/Enumerations.cpp @ 2924:22524fd06225
macros ORTHANC_OVERRIDE and ORTHANC_FINAL
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 09 Nov 2018 09:06:46 +0100 |
parents | 9d277f8ad698 |
children | 210d5afd8f2b |
comparison
equal
deleted
inserted
replaced
2923:87366b8aed4f | 2924:22524fd06225 |
---|---|
42 #include <string.h> | 42 #include <string.h> |
43 #include <cassert> | 43 #include <cassert> |
44 | 44 |
45 namespace Orthanc | 45 namespace Orthanc |
46 { | 46 { |
47 static const char* const MIME_CSS = "text/css"; | |
48 static const char* const MIME_DICOM = "application/dicom"; | |
49 static const char* const MIME_GIF = "image/gif"; | |
50 static const char* const MIME_GZIP = "application/gzip"; | |
51 static const char* const MIME_HTML = "text/html"; | |
52 static const char* const MIME_JAVASCRIPT = "application/javascript"; | |
53 static const char* const MIME_JPEG2000 = "image/jp2"; | |
54 static const char* const MIME_PLAIN_TEXT = "text/plain"; | |
55 static const char* const MIME_WEB_ASSEMBLY = "application/wasm"; | |
56 static const char* const MIME_XML_2 = "text/xml"; | |
57 | |
47 // This function is autogenerated by the script | 58 // This function is autogenerated by the script |
48 // "Resources/GenerateErrorCodes.py" | 59 // "Resources/GenerateErrorCodes.py" |
49 const char* EnumerationToString(ErrorCode error) | 60 const char* EnumerationToString(ErrorCode error) |
50 { | 61 { |
51 switch (error) | 62 switch (error) |