comparison 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
comparison
equal deleted inserted replaced
830:171a486a0373 831:d71cf8504159
57 GetOrthancImageCommand* command); 57 GetOrthancImageCommand* command);
58 58
59 void Execute(const IObserver& receiver, 59 void Execute(const IObserver& receiver,
60 GetOrthancWebViewerJpegCommand* command); 60 GetOrthancWebViewerJpegCommand* command);
61 61
62 std::string orthancRoot_;
63
62 public: 64 public:
63 WebAssemblyOracle(MessageBroker& broker) : 65 WebAssemblyOracle(MessageBroker& broker) :
64 IObservable(broker) 66 IObservable(broker)
65 { 67 {
68 }
69
70 void SetOrthancRoot(const std::string& root)
71 {
72 orthancRoot_ = root;
66 } 73 }
67 74
68 virtual void Schedule(const IObserver& receiver, 75 virtual void Schedule(const IObserver& receiver,
69 IOracleCommand* command); 76 IOracleCommand* command);
70 }; 77 };