annotate Resources/Graveyard/Deprecated/Platforms/Wasm/WasmPlatformApplicationAdapter.h @ 1503:553084468225

moving /Deprecated/ to /Resources/Graveyard/Deprecated/
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 30 Jun 2020 11:38:13 +0200
parents Deprecated/Platforms/Wasm/WasmPlatformApplicationAdapter.h@fbc5bfde6c95
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1458
828a9b4ee1b7 added missing copyright
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1400
diff changeset
1 /**
828a9b4ee1b7 added missing copyright
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1400
diff changeset
2 * Stone of Orthanc
828a9b4ee1b7 added missing copyright
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1400
diff changeset
3 * Copyright (C) 2012-2016 Sebastien Jodogne, Medical Physics
828a9b4ee1b7 added missing copyright
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1400
diff changeset
4 * Department, University Hospital of Liege, Belgium
828a9b4ee1b7 added missing copyright
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1400
diff changeset
5 * Copyright (C) 2017-2020 Osimis S.A., Belgium
828a9b4ee1b7 added missing copyright
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1400
diff changeset
6 *
828a9b4ee1b7 added missing copyright
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1400
diff changeset
7 * This program is free software: you can redistribute it and/or
828a9b4ee1b7 added missing copyright
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1400
diff changeset
8 * modify it under the terms of the GNU Affero General Public License
828a9b4ee1b7 added missing copyright
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1400
diff changeset
9 * as published by the Free Software Foundation, either version 3 of
828a9b4ee1b7 added missing copyright
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1400
diff changeset
10 * the License, or (at your option) any later version.
828a9b4ee1b7 added missing copyright
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1400
diff changeset
11 *
828a9b4ee1b7 added missing copyright
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1400
diff changeset
12 * This program is distributed in the hope that it will be useful, but
828a9b4ee1b7 added missing copyright
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1400
diff changeset
13 * WITHOUT ANY WARRANTY; without even the implied warranty of
828a9b4ee1b7 added missing copyright
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1400
diff changeset
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
828a9b4ee1b7 added missing copyright
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1400
diff changeset
15 * Affero General Public License for more details.
828a9b4ee1b7 added missing copyright
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1400
diff changeset
16 *
828a9b4ee1b7 added missing copyright
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1400
diff changeset
17 * You should have received a copy of the GNU Affero General Public License
828a9b4ee1b7 added missing copyright
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1400
diff changeset
18 * along with this program. If not, see <http://www.gnu.org/licenses/>.
828a9b4ee1b7 added missing copyright
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1400
diff changeset
19 **/
828a9b4ee1b7 added missing copyright
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1400
diff changeset
20
828a9b4ee1b7 added missing copyright
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1400
diff changeset
21
307
be2660b6e40a wip: commands + status update
am@osimis.io
parents:
diff changeset
22 #pragma once
be2660b6e40a wip: commands + status update
am@osimis.io
parents:
diff changeset
23
be2660b6e40a wip: commands + status update
am@osimis.io
parents:
diff changeset
24 #include <string>
1460
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1458
diff changeset
25 #include "../../../Framework/Messages/IObserver.h"
307
be2660b6e40a wip: commands + status update
am@osimis.io
parents:
diff changeset
26 #include <Applications/IStoneApplication.h>
be2660b6e40a wip: commands + status update
am@osimis.io
parents:
diff changeset
27
be2660b6e40a wip: commands + status update
am@osimis.io
parents:
diff changeset
28 namespace OrthancStone
be2660b6e40a wip: commands + status update
am@osimis.io
parents:
diff changeset
29 {
be2660b6e40a wip: commands + status update
am@osimis.io
parents:
diff changeset
30 class WasmPlatformApplicationAdapter : public IObserver
be2660b6e40a wip: commands + status update
am@osimis.io
parents:
diff changeset
31 {
be2660b6e40a wip: commands + status update
am@osimis.io
parents:
diff changeset
32 IStoneApplication& application_;
be2660b6e40a wip: commands + status update
am@osimis.io
parents:
diff changeset
33 public:
be2660b6e40a wip: commands + status update
am@osimis.io
parents:
diff changeset
34 WasmPlatformApplicationAdapter(MessageBroker& broker, IStoneApplication& application);
be2660b6e40a wip: commands + status update
am@osimis.io
parents:
diff changeset
35
508
7105a0bad250 - Added HandleSerializedMessage to IStoneApplication (empty impl)
Benjamin Golinvaux <bgo@osimis.io>
parents: 307
diff changeset
36 virtual void HandleSerializedMessageFromWeb(std::string& output, const std::string& input);
7105a0bad250 - Added HandleSerializedMessage to IStoneApplication (empty impl)
Benjamin Golinvaux <bgo@osimis.io>
parents: 307
diff changeset
37 virtual void NotifyStatusUpdateFromCppToWebWithString(const std::string& statusUpdateMessage);
7105a0bad250 - Added HandleSerializedMessage to IStoneApplication (empty impl)
Benjamin Golinvaux <bgo@osimis.io>
parents: 307
diff changeset
38 virtual void NotifyStatusUpdateFromCppToWebWithSerializedMessage(const std::string& statusUpdateMessage);
307
be2660b6e40a wip: commands + status update
am@osimis.io
parents:
diff changeset
39 };
1458
828a9b4ee1b7 added missing copyright
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1400
diff changeset
40 }