view Platforms/Wasm/WasmPlatformApplicationAdapter.h @ 367:face7b7008de am-2

line and circle measure tools are now compatible with WebAssembly
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 01 Nov 2018 12:09:11 +0100
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);
  };
}