diff Framework/Scene2D/RotateSceneTracker.h @ 860:238693c3bc51 am-dev

merge default -> am-dev
author Alain Mazy <alain@mazy.be>
date Mon, 24 Jun 2019 14:35:00 +0200
parents 266e2b0b9abc
children 2d8ab34c8c91
line wrap: on
line diff
--- a/Framework/Scene2D/RotateSceneTracker.h	Wed Jun 19 17:36:33 2019 +0200
+++ b/Framework/Scene2D/RotateSceneTracker.h	Mon Jun 24 14:35:00 2019 +0200
@@ -23,15 +23,14 @@
 
 #include "../Scene2DViewport/OneGesturePointerTracker.h"
 #include "Internals/FixedPointAligner.h"
+#include <memory>
 
 namespace OrthancStone
 {
-  class ViewportController;
-
   class RotateSceneTracker : public OneGesturePointerTracker
   {
   public:
-    RotateSceneTracker(ViewportControllerWPtr controllerW,
+    RotateSceneTracker(boost::weak_ptr<ViewportController> controllerW,
                        const PointerEvent& event);
 
     virtual void PointerMove(const PointerEvent& event) ORTHANC_OVERRIDE;