Mercurial > hg > orthanc-stone
view Applications/Samples/Deprecated/SimpleViewer/AppStatus.h @ 1350:c53a4667f895 broker
Sample paths have been adapted
author | Benjamin Golinvaux <bgo@osimis.io> |
---|---|
date | Tue, 14 Apr 2020 14:57:06 +0200 |
parents | bfd77672d825 |
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; } }; }