comparison 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
comparison
equal deleted inserted replaced
1771:8790488ae98b 1772:53e045b5a8ec
196 MetadataType StringToMetadata(const std::string& str); 196 MetadataType StringToMetadata(const std::string& str);
197 197
198 std::string EnumerationToString(MetadataType type); 198 std::string EnumerationToString(MetadataType type);
199 199
200 void RegisterUserContentType(int contentType, 200 void RegisterUserContentType(int contentType,
201 const std::string& name); 201 const std::string& name,
202 const std::string& mime);
202 203
203 FileContentType StringToContentType(const std::string& str); 204 FileContentType StringToContentType(const std::string& str);
204 205
205 std::string EnumerationToString(FileContentType type); 206 std::string EnumerationToString(FileContentType type);
207
208 std::string GetFileContentMime(FileContentType type);
206 209
207 std::string GetBasePath(ResourceType type, 210 std::string GetBasePath(ResourceType type,
208 const std::string& publicId); 211 const std::string& publicId);
209 212
210 const char* EnumerationToString(SeriesStatus status); 213 const char* EnumerationToString(SeriesStatus status);