307
|
1 #pragma once
|
|
2
|
|
3 #include <string>
|
|
4 #include <Framework/Messages/IObserver.h>
|
|
5 #include <Applications/IStoneApplication.h>
|
|
6
|
|
7 namespace OrthancStone
|
|
8 {
|
|
9 class WasmPlatformApplicationAdapter : public IObserver
|
|
10 {
|
|
11 IStoneApplication& application_;
|
|
12 public:
|
|
13 WasmPlatformApplicationAdapter(MessageBroker& broker, IStoneApplication& application);
|
|
14
|
|
15 virtual void HandleMessageFromWeb(std::string& output, const std::string& input);
|
|
16 virtual void NotifyStatusUpdateFromCppToWeb(const std::string& statusUpdateMessage);
|
|
17 };
|
|
18 } |