diff Framework/Scene2DViewport/OneGesturePointerTracker.h @ 818:e42b491f1fb2

Removed typedefs to shared_ptr by making them explicit. Removed using namespace directives to make usage more explicit, too.
author Benjamin Golinvaux <bgo@osimis.io>
date Wed, 29 May 2019 10:51:28 +0200
parents 28b9e3a54200
children 2d8ab34c8c91
line wrap: on
line diff
--- a/Framework/Scene2DViewport/OneGesturePointerTracker.h	Wed May 29 08:36:13 2019 +0200
+++ b/Framework/Scene2DViewport/OneGesturePointerTracker.h	Wed May 29 10:51:28 2019 +0200
@@ -39,16 +39,16 @@
   class OneGesturePointerTracker : public IFlexiblePointerTracker
   {
   public:
-    OneGesturePointerTracker(ViewportControllerWPtr controllerW);
+    OneGesturePointerTracker(boost::weak_ptr<ViewportController> controllerW);
     virtual void PointerUp(const PointerEvent& event) ORTHANC_OVERRIDE;
     virtual void PointerDown(const PointerEvent& event) ORTHANC_OVERRIDE;
     virtual bool IsAlive() const ORTHANC_OVERRIDE;
   
   protected:
-    ViewportControllerPtr  GetController();
+    boost::shared_ptr<ViewportController>  GetController();
 
   private:
-    ViewportControllerWPtr controllerW_;
+    boost::weak_ptr<ViewportController> controllerW_;
     bool                   alive_;
     int                    currentTouchCount_;
   };