Mercurial > hg > orthanc-stone
comparison Framework/Layers/LayerSourceBase.h @ 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 |
---|---|
29 { | 29 { |
30 private: | 30 private: |
31 IObserver* observer_; | 31 IObserver* observer_; |
32 | 32 |
33 protected: | 33 protected: |
34 void NotifyGeometryReady(); | 34 IObserver* GetObserver() const |
35 | 35 { |
36 void NotifyGeometryError(); | 36 return observer_; // TODO REMOVE THIS, FOR TEST |
37 | 37 } |
38 | |
38 void NotifyContentChange(); | 39 void NotifyContentChange(); |
39 | 40 |
40 void NotifySliceChange(const Slice& slice); | 41 void NotifySliceChange(const Slice& slice); |
41 | 42 |
42 // Takes ownership of "layer" (that cannot be "NULL") | 43 // Takes ownership of "layer" (that cannot be "NULL") |