0031521: Samples - update MFC ImportExport sample to use AIS_ViewController
[occt.git] / samples / mfc / standard / Common / OCC_2dDoc.h
index e868dbc..59a1476 100755 (executable)
@@ -28,23 +28,11 @@ public: // New operations
 
   void FitAll2DViews(Standard_Boolean theUpdateViewer = Standard_False);
 
-public: // getters
-
-  Handle(V3d_Viewer) GetViewer2D () { return myViewer; };
-
-  Handle(AIS_InteractiveContext)& GetInteractiveContext() { return myAISContext; };
-
 public: // Operations to override
 
-   // Mouse move event tracking for 2D view : no rotation is supported in 2D view.
-  virtual void MoveEvent(const Standard_Integer theMouseX,
-                         const Standard_Integer theMouseY,
-                         const Handle(V3d_View)& theView);
-
-  // Shift move event tracking for 2D view : no rotation is supported in 2D view.
-  virtual void ShiftMoveEvent(const Standard_Integer theMouseX,
-                              const Standard_Integer theMouseY,
-                              const Handle(V3d_View)& theViewView);
+  virtual void Popup (const Standard_Integer theMouseX,
+                      const Standard_Integer theMouseY,
+                      const Handle(V3d_View)& theView) Standard_OVERRIDE;
 };
 
 #endif // !defined(AFX_OCC_2dDOC_H__2E048CC7_38F9_11D7_8611_0060B0EE281E__INCLUDED_)