Mercurial > hg > orthanc-stone
diff Applications/IBasicApplication.cpp @ 82:cee8f308a4bc wasm
Getting rid of Orthanc*WebService
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 24 May 2017 23:05:10 +0200 |
parents | 8677d95753f8 |
children | fcec0ab44054 |
line wrap: on
line diff
--- a/Applications/IBasicApplication.cpp Wed May 24 22:54:09 2017 +0200 +++ b/Applications/IBasicApplication.cpp Wed May 24 23:05:10 2017 +0200 @@ -199,9 +199,8 @@ LOG(WARNING) << "URL to the Orthanc REST API: " << webService.GetUrl(); { - OrthancSynchronousWebService orthanc(webService); - - if (!MessagingToolbox::CheckOrthancVersion(orthanc.GetConnection())) + OrthancPlugins::OrthancHttpConnection orthanc(webService); + if (!MessagingToolbox::CheckOrthancVersion(orthanc)) { LOG(ERROR) << "Your version of Orthanc is incompatible with Orthanc Stone, please upgrade"; throw Orthanc::OrthancException(Orthanc::ErrorCode_NetworkProtocol);