Mercurial > hg > orthanc-stone
changeset 245:e802578e1554 am
register observer
author | am@osimis.io |
---|---|
date | Wed, 20 Jun 2018 15:59:52 +0200 |
parents | 313903066093 |
children | 5470b15f7cf2 2da24bf88100 |
files | Applications/Samples/SimpleViewerApplication.h |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/Applications/Samples/SimpleViewerApplication.h Wed Jun 20 14:56:52 2018 +0200 +++ b/Applications/Samples/SimpleViewerApplication.h Wed Jun 20 15:59:52 2018 +0200 @@ -292,6 +292,7 @@ // sources source_ = new OrthancFrameLayerSource(context_->GetWebService()); source_->LoadFrame(instances_[currentInstanceIndex_], 0); + source_->Register(*this); mainViewport_->AddLayer(source_);