view Platforms/Wasm/IStoneApplicationToWebApplicationAdapter.h @ 303:ed1a4302154f am-callable-and-promise

new messages in wasm too
author am@osimis.io
date Tue, 18 Sep 2018 18:17:26 +0200
parents 2038d76bf13f
children
line wrap: on
line source

#pragma once

#include <string>

namespace OrthancStone
{
  class IStoneApplicationToWebApplicationAdapter
  {
    public:
      virtual void HandleMessageFromWeb(std::string& output, const std::string& input) = 0;
      virtual void NotifyStatusUpdateFromCppToWeb(const std::string& statusUpdateMessage) = 0;
  };
}