Mercurial > hg > orthanc-wsi
comparison Framework/Orthanc/Plugins/Samples/Common/OrthancPluginCppWrapper.h @ 5:77b76c1a213f
check the version of the Orthanc core
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 26 Oct 2016 13:34:49 +0200 |
parents | dc730d11b101 |
children | 06847108819c |
comparison
equal
deleted
inserted
replaced
4:e49aaf9127ca | 5:77b76c1a213f |
---|---|
386 { | 386 { |
387 OrthancPluginLogInfo(context, message.c_str()); | 387 OrthancPluginLogInfo(context, message.c_str()); |
388 } | 388 } |
389 } | 389 } |
390 | 390 |
391 bool CheckMinimalOrthancVersion(OrthancPluginContext* context, | |
392 unsigned int major, | |
393 unsigned int minor, | |
394 unsigned int revision); | |
395 | |
391 | 396 |
392 namespace Internals | 397 namespace Internals |
393 { | 398 { |
394 template <RestCallback Callback> | 399 template <RestCallback Callback> |
395 OrthancPluginErrorCode Protect(OrthancPluginRestOutput* output, | 400 OrthancPluginErrorCode Protect(OrthancPluginRestOutput* output, |