Salome HOME
Correction of the path to XML file.
[modules/gui.git] / src / OCCViewer / OCCViewer_ViewModel.h
index d42be6a251fa8b24c82e197d9d038a1462eb2075..0779d3aefe9d15f8cb3c333275b5095f9e9b3380 100755 (executable)
@@ -1,3 +1,21 @@
+// Copyright (C) 2005  OPEN CASCADE, CEA/DEN, EDF R&D, PRINCIPIA 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 
+// version 2.1 of the License.
+// 
+// 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/
+//
 #ifndef OCCVIEWER_VIEWMODEL_H
 #define OCCVIEWER_VIEWMODEL_H
 
@@ -15,6 +33,7 @@
 
 class SUIT_ViewWindow;
 class SUIT_Desktop;
+class OCCViewer_ViewWindow;
 
 struct viewAspect
 {
@@ -121,6 +140,9 @@ public:
 signals:
   void selectionChanged();
 
+protected:
+  void initView( OCCViewer_ViewWindow* view );
+
 protected slots:
   void onMousePress(SUIT_ViewWindow*, QMouseEvent*);
   void onMouseMove(SUIT_ViewWindow*, QMouseEvent*);