Mercurial > hg > orthanc-stone
diff Framework/Radiography/RadiographyScene.h @ 1138:1a73f852810a broker
integration mainline->broker
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 07 Nov 2019 07:28:39 +0100 |
parents | d7e06542304c 4663f158c748 |
children | bdc6837d5917 |
line wrap: on
line diff
--- a/Framework/Radiography/RadiographyScene.h Wed Nov 06 20:27:20 2019 +0100 +++ b/Framework/Radiography/RadiographyScene.h Thu Nov 07 07:28:39 2019 +0100 @@ -101,6 +101,27 @@ } }; + class LayerRemovedMessage : public OriginMessage<RadiographyScene> + { + ORTHANC_STONE_MESSAGE(__FILE__, __LINE__); + + private: + size_t& layerIndex_; + + public: + LayerRemovedMessage(const RadiographyScene& origin, + size_t& layerIndex) : + OriginMessage(origin), + layerIndex_(layerIndex) + { + } + + size_t& GetLayerIndex() const + { + return layerIndex_; + } + }; + ORTHANC_STONE_DEFINE_ORIGIN_MESSAGE(__FILE__, __LINE__, WindowingChangedMessage, RadiographyScene);