Mercurial > hg > orthanc-stone
diff Framework/Layers/LayerSourceBase.cpp @ 380:ba5ad93f935a
ILayerSource::LayerErrorMessage
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 06 Nov 2018 14:59:20 +0100 |
parents | 2308fe0b0b05 |
children | 19bd222283ae |
line wrap: on
line diff
--- a/Framework/Layers/LayerSourceBase.cpp Tue Nov 06 14:41:36 2018 +0100 +++ b/Framework/Layers/LayerSourceBase.cpp Tue Nov 06 14:59:20 2018 +0100 @@ -46,10 +46,14 @@ } void LayerSourceBase::NotifyLayerReady(ILayerRenderer* layer, - const CoordinateSystem3D& slice, - bool isError) + const CoordinateSystem3D& slice) { - EmitMessage(ILayerSource::LayerReadyMessage(*this, layer, slice, isError)); + EmitMessage(ILayerSource::LayerReadyMessage(*this, layer, slice)); + } + + void LayerSourceBase::NotifyLayerError(const CoordinateSystem3D& slice) + { + EmitMessage(ILayerSource::LayerErrorMessage(*this, slice)); } void LayerSourceBase::NotifyImageReady(const Orthanc::ImageAccessor& image,