diff Framework/Widgets/LayerWidget.h @ 90:64e60018943f wasm

fix and observer refactoring
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 29 May 2017 11:04:18 +0200
parents f244018a4e4b
children f8bce1bebe01
line wrap: on
line diff
--- a/Framework/Widgets/LayerWidget.h	Fri May 26 18:27:59 2017 +0200
+++ b/Framework/Widgets/LayerWidget.h	Mon May 29 11:04:18 2017 +0200
@@ -55,12 +55,16 @@
                          double& y2,
                          ILayerSource& source) const;
 
+    virtual void NotifyGeometryReady(const ILayerSource& source);
+
+    virtual void NotifyGeometryError(const ILayerSource& source);
+
     virtual void NotifyContentChange(const ILayerSource& source);
 
     virtual void NotifySliceChange(const ILayerSource& source,
                                    const Slice& slice);
 
-    virtual void NotifyLayerReady(ILayerRenderer* renderer,
+    virtual void NotifyLayerReady(std::auto_ptr<ILayerRenderer>& renderer,
                                   const ILayerSource& source,
                                   const Slice& slice);