Salome HOME
refs #550: fix crash when myObject is NULL
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_ViewerDlg.h
index 6d844c49303a4a39bc1c23ee0054aefa0f0bf276..a638b06be9e40f3d84f8f6df89c15b81c108b3fd 100644 (file)
@@ -1,8 +1,4 @@
-// Copyright (C) 2007-2015  CEA/DEN, EDF R&D, OPEN CASCADE
-//
-// Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-//
+// Copyright (C) 2014-2015  EDF-R&D
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
 // License as published by the Free Software Foundation; either
 
 #include "HYDROGUI_InputPanel.h"
 
+#include <AIS_Trihedron.hxx>
 #include <AIS_InteractiveContext.hxx>
 
 class QLabel;
+
 class SUIT_ViewWindow;
+class SUIT_SelectionMgr;
+
 class OCCViewer_Viewer;
 class OCCViewer_ViewManager;
 
@@ -42,15 +42,15 @@ public:
 
   Handle(AIS_InteractiveContext) getAISContext();
 
-  void                           deleteSelected();
-  bool                           deleteEnabled();
+  OCCViewer_Viewer*              viewer() const;
+  OCCViewer_ViewManager*         viewManager() const;
+  SUIT_SelectionMgr*             selectionMgr() const;
 
   virtual bool                   event( QEvent* );
+  virtual bool                   eventFilter( QObject*, QEvent* );
 
 protected:
-  OCCViewer_Viewer*              viewer() const;
-  OCCViewer_ViewManager*         viewManager() const;
-  virtual bool                   eventFilter( QObject*, QEvent* );
+  virtual Handle(AIS_Trihedron)  trihedron();
 
 protected slots:
   void                           onMouseMove( SUIT_ViewWindow*, QMouseEvent* );