Mercurial > hg > orthanc-stone
view Applications/Samples/Deprecated/SimpleViewer/AppStatus.h @ 2159:2ab121773f4a broker
closing broker
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 27 Sep 2024 22:33:04 +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; } }; }