Mercurial > hg > orthanc-stone
view Applications/Samples/SimpleViewer/AppStatus.h @ 1291:ea6c2254536d bugs/2020-02-invisible-slice
Removal of debug logs
author | Benjamin Golinvaux <bgo@osimis.io> |
---|---|
date | Fri, 21 Feb 2020 15:23:40 +0100 |
parents | daa04d15192c |
children |
line wrap: on
line source
#pragma once #include <string> namespace SimpleViewer { struct AppStatus { std::string patientId; std::string studyDescription; std::string currentInstanceIdInMainViewport; // note: if you add members here, update the serialization code below and deserialization in simple-viewer.ts -> onAppStatusUpdated() AppStatus() { } void ToJson(Json::Value &output) const { output["patientId"] = patientId; output["studyDescription"] = studyDescription; output["currentInstanceIdInMainViewport"] = currentInstanceIdInMainViewport; } }; }