comparison Plugins/Samples/Common/OrthancPluginCppWrapper.h @ 2984:db8f360fcb41

OrthancPluginAutodetectMimeType()
author Sebastien Jodogne <s.jodogne@gmail.com>
date Sat, 08 Dec 2018 20:59:37 +0100
parents 5947aeedf41f
children 32ec5078e32b
comparison
equal deleted inserted replaced
2983:af068a6b476b 2984:db8f360fcb41
490 void AnswerHttpError(uint16_t httpError, 490 void AnswerHttpError(uint16_t httpError,
491 OrthancPluginRestOutput* output); 491 OrthancPluginRestOutput* output);
492 492
493 void AnswerMethodNotAllowed(OrthancPluginRestOutput* output, const char* allowedMethods); 493 void AnswerMethodNotAllowed(OrthancPluginRestOutput* output, const char* allowedMethods);
494 494
495 const char* GetMimeType(const std::string& path); 495 const char* AutodetectMimeType(const std::string& path);
496
497 496
498 void LogError(const std::string& message); 497 void LogError(const std::string& message);
499 498
500 void LogWarning(const std::string& message); 499 void LogWarning(const std::string& message);
501 500