Mercurial > hg > orthanc-stone
diff Applications/IBasicApplication.cpp @ 57:d20e25cfcf3a wasm
IWebService
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 03 May 2017 14:45:21 +0200 |
parents | c2dc924f1a63 |
children | ca644004d2ee |
line wrap: on
line diff
--- a/Applications/IBasicApplication.cpp Fri Apr 28 21:46:41 2017 +0200 +++ b/Applications/IBasicApplication.cpp Wed May 03 14:45:21 2017 +0200 @@ -197,9 +197,9 @@ } LOG(WARNING) << "URL to the Orthanc REST API: " << webService.GetUrl(); - OrthancPlugins::OrthancHttpConnection orthanc(webService); + OrthancWebService orthanc(webService); - if (!MessagingToolbox::CheckOrthancVersion(orthanc)) + if (!MessagingToolbox::CheckOrthancVersion(orthanc.GetConnection())) { LOG(ERROR) << "Your version of Orthanc is incompatible with Orthanc Stone, please upgrade"; throw Orthanc::OrthancException(Orthanc::ErrorCode_NetworkProtocol);