comparison Plugins/Samples/Common/OrthancPluginCppWrapper.h @ 2109:d5c29fd74ffa

OrthancPlugins::CheckMinimalOrthancVersion
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 26 Oct 2016 13:32:02 +0200
parents 40ffd0e8676a
children aa2915963531
comparison
equal deleted inserted replaced
2108:68510b1c2433 2109:d5c29fd74ffa
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,