Salome HOME
#18963 Minimize compiler warnings
[modules/gui.git] / src / SVTK / SVTK_ViewManager.h
index e6fa784f959ceac247a33279428e650e7430a1c2..3d56a3fe09dd5c2c1e8d89ba2919cf18115379a5 100644 (file)
@@ -1,3 +1,25 @@
+// Copyright (C) 2007-2020  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
+//
+// 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
+// version 2.1 of the License, or (at your option) any later version.
+//
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+//
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+//
+
 #ifndef SVTK_VIEWMANAGER_H
 #define SVTK_VIEWMANAGER_H
 
 
 class SUIT_Desktop;
 
+//! Extend SUIT_ViewManager to deal with SVTK_Viewer
 class SVTK_EXPORT SVTK_ViewManager : public SUIT_ViewManager
 {
   Q_OBJECT
 
 public:
+  //! Construct the view manager
   SVTK_ViewManager( SUIT_Study* study, SUIT_Desktop* );
-  virtual ~SVTK_ViewManager();
 
-protected:
-  void setViewName( SUIT_ViewWindow* theView );
+  //! Destroy the view manager
+  virtual ~SVTK_ViewManager();
 
-private:
-  int               myId;
-  static  int       _SVTKViewMgr_Id;
+  SUIT_Desktop* getDesktop();
 };
 
 #endif