Salome HOME
Copyrights update 2015.
[samples/sierpinsky.git] / src / SierpinskyGUI / SierpinskyGUI.h
index eba7f078b7b84650044c2cde7a7e980131cfd8aa..50e75fe1cb7322689e361d62aa9b40eb3b6b0529 100644 (file)
@@ -1,13 +1,33 @@
+// Copyright (C) 2005-2015  OPEN CASCADE
+//
+// 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
+//
+
 ///////////////////////////////////////////////////////////
 // File    : SierpinskyGUI.h
 // Author  : Vadim SANDLER (OCN)
 // Created : 13/07/05
-// Copyright (C) 2005 Open CASCADE
 ///////////////////////////////////////////////////////////
-
+//
 #ifndef __SIERPINSKYGUI_H
 #define __SIERPINSKYGUI_H
 
+#include "SierpinskyGUI.hxx"
+
 #include <SalomeApp_Module.h>
 
 #include <SALOMEconfig.h>
@@ -16,9 +36,9 @@
 class SUIT_Desktop;
 class SalomeApp_Application;
 
-class SierpinskyGUI : public SalomeApp_Module
+class SIERPINSKY_EXPORT SierpinskyGUI : public SalomeApp_Module
 {
-  Q_OBJECT;
+  Q_OBJECT
 
 public:
   // Constructor
@@ -29,11 +49,14 @@ public:
   void    initialize( CAM_Application* );
   virtual QString     engineIOR() const;
 
+  virtual void        windows( QMap<int, int>& ) const;
+  virtual void        viewManagers( QStringList& ) const;
+
   static SIERPINSKY_ORB::SIERPINSKY_ptr InitSIERPINSKYGen( SalomeApp_Application* );
   
 public slots:
-  bool    deactivateModule( SUIT_Study* );
-  bool    activateModule( SUIT_Study* );
+  virtual bool        deactivateModule( SUIT_Study* );
+  virtual bool        activateModule( SUIT_Study* );
 
 protected slots:
   void    OnRun();