Mercurial > hg > orthanc
comparison Plugins/Samples/Common/OrthancPluginCppWrapper.cpp @ 2988:9cc3d40e389b
Orthanc 1.4.3 is now known as 1.5.0
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 10 Dec 2018 11:15:31 +0100 |
parents | 32ec5078e32b |
children | c358bdb37c13 |
comparison
equal
deleted
inserted
replaced
2987:96089d1aba4d | 2988:9cc3d40e389b |
---|---|
1355 return false; | 1355 return false; |
1356 } | 1356 } |
1357 } | 1357 } |
1358 | 1358 |
1359 | 1359 |
1360 #if ORTHANC_PLUGINS_VERSION_IS_ABOVE(1, 4, 3) | 1360 #if ORTHANC_PLUGINS_VERSION_IS_ABOVE(1, 5, 0) |
1361 const char* AutodetectMimeType(const std::string& path) | 1361 const char* AutodetectMimeType(const std::string& path) |
1362 { | 1362 { |
1363 const char* mime = OrthancPluginAutodetectMimeType(GetGlobalContext(), path.c_str()); | 1363 const char* mime = OrthancPluginAutodetectMimeType(GetGlobalContext(), path.c_str()); |
1364 | 1364 |
1365 if (mime == NULL) | 1365 if (mime == NULL) |