Mercurial > hg > orthanc-stone
view Platforms/Wasm/WasmPlatformApplicationAdapter.h @ 311:3b29c9c77d9b am-callable-and-promise
Close branch am-callable-and-promise
author | Alain Mazy <am@osimis.io> |
---|---|
date | Tue, 02 Oct 2018 10:15:36 +0200 |
parents | be2660b6e40a |
children | 7105a0bad250 |
line wrap: on
line source
#pragma once #include <string> #include <Framework/Messages/IObserver.h> #include <Applications/IStoneApplication.h> namespace OrthancStone { class WasmPlatformApplicationAdapter : public IObserver { IStoneApplication& application_; public: WasmPlatformApplicationAdapter(MessageBroker& broker, IStoneApplication& application); virtual void HandleMessageFromWeb(std::string& output, const std::string& input); virtual void NotifyStatusUpdateFromCppToWeb(const std::string& statusUpdateMessage); }; }