Mercurial > hg > orthanc-stone
comparison Applications/StoneApplicationContext.cpp @ 1066:b537002f83a9 broker
removing broker from deprecated classes
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 15 Oct 2019 15:39:39 +0200 |
parents | 4f2416d519b4 |
children | 04a95ee91327 |
comparison
equal
deleted
inserted
replaced
1065:9d42f89b8c3c | 1066:b537002f83a9 |
---|---|
30 if (webService_ == NULL) | 30 if (webService_ == NULL) |
31 { | 31 { |
32 throw Orthanc::OrthancException(Orthanc::ErrorCode_BadSequenceOfCalls); | 32 throw Orthanc::OrthancException(Orthanc::ErrorCode_BadSequenceOfCalls); |
33 } | 33 } |
34 | 34 |
35 orthanc_.reset(new Deprecated::OrthancApiClient(broker_, *webService_, orthancBaseUrl_)); | 35 orthanc_.reset(new Deprecated::OrthancApiClient(*webService_, orthancBaseUrl_)); |
36 } | 36 } |
37 | 37 |
38 | 38 |
39 Deprecated::IWebService& StoneApplicationContext::GetWebService() | 39 Deprecated::IWebService& StoneApplicationContext::GetWebService() |
40 { | 40 { |