comparison Applications/Samples/Deprecated/SimpleViewer/AppStatus.h @ 1347:bfd77672d825 broker

Moved Application/Samples/* to Application/Samples/Deprecated/*
author Benjamin Golinvaux <bgo@osimis.io>
date Tue, 07 Apr 2020 14:29:01 +0200
parents Applications/Samples/SimpleViewer/AppStatus.h@daa04d15192c
children
comparison
equal deleted inserted replaced
1346:df8bf351c23f 1347:bfd77672d825
1 #pragma once
2
3 #include <string>
4
5
6 namespace SimpleViewer
7 {
8 struct AppStatus
9 {
10 std::string patientId;
11 std::string studyDescription;
12 std::string currentInstanceIdInMainViewport;
13 // note: if you add members here, update the serialization code below and deserialization in simple-viewer.ts -> onAppStatusUpdated()
14
15
16 AppStatus()
17 {
18 }
19
20 void ToJson(Json::Value &output) const
21 {
22 output["patientId"] = patientId;
23 output["studyDescription"] = studyDescription;
24 output["currentInstanceIdInMainViewport"] = currentInstanceIdInMainViewport;
25 }
26 };
27 }