Mercurial > hg > orthanc-stone
comparison Framework/Layers/LayerSourceBase.cpp @ 89:f244018a4e4b wasm
BUGGY- trying to remove IVolumeSlicesObserver
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 26 May 2017 18:27:59 +0200 |
parents | 4a541cd4fa83 |
children | 64e60018943f |
comparison
equal
deleted
inserted
replaced
88:90bf4116a23c | 89:f244018a4e4b |
---|---|
23 | 23 |
24 #include "../../Resources/Orthanc/Core/OrthancException.h" | 24 #include "../../Resources/Orthanc/Core/OrthancException.h" |
25 | 25 |
26 namespace OrthancStone | 26 namespace OrthancStone |
27 { | 27 { |
28 void LayerSourceBase::NotifyGeometryReady() | |
29 { | |
30 if (observer_ != NULL) | |
31 { | |
32 observer_->NotifyGeometryReady(*this); | |
33 } | |
34 } | |
35 | |
36 void LayerSourceBase::NotifyGeometryError() | |
37 { | |
38 if (observer_ != NULL) | |
39 { | |
40 observer_->NotifyGeometryError(*this); | |
41 } | |
42 } | |
43 | |
44 void LayerSourceBase::NotifyContentChange() | 28 void LayerSourceBase::NotifyContentChange() |
45 { | 29 { |
46 if (observer_ != NULL) | 30 if (observer_ != NULL) |
47 { | 31 { |
48 observer_->NotifyContentChange(*this); | 32 observer_->NotifyContentChange(*this); |