Mercurial > hg > orthanc-stone
diff Framework/Oracle/WebAssemblyOracle.h @ 831:d71cf8504159
handling of GET arguments
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 31 May 2019 10:30:22 +0200 |
parents | 9a6c7a5dcb76 |
children | a9f5d0742e22 |
line wrap: on
line diff
--- a/Framework/Oracle/WebAssemblyOracle.h Fri May 31 09:12:05 2019 +0200 +++ b/Framework/Oracle/WebAssemblyOracle.h Fri May 31 10:30:22 2019 +0200 @@ -59,11 +59,18 @@ void Execute(const IObserver& receiver, GetOrthancWebViewerJpegCommand* command); + std::string orthancRoot_; + public: WebAssemblyOracle(MessageBroker& broker) : IObservable(broker) { } + + void SetOrthancRoot(const std::string& root) + { + orthancRoot_ = root; + } virtual void Schedule(const IObserver& receiver, IOracleCommand* command);