Salome HOME
Fix pb. with double omniORB.
[modules/superv.git] / src / SUPERVGUI / SUPERVGUI_Notification.h
index 3c5f93a8e3a007b0b62e6efa464fd814bd709283..479203df1c8b011eea6fa342f03447a92da1a7ca 100644 (file)
@@ -1,14 +1,33 @@
-//  File      : SUPERVGUI_Notification.h
-//  Created   : 21 / 02 / 2002
-//  Author    : Francis KLOSS
-//  Project   : SALOME
-//  Module    : SUPERVGUI
-//  Copyright : CEA
+//  SUPERV SUPERVGUI : GUI for Supervisor component
+//
+//  Copyright (C) 2003  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. 
+// 
+//  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   : SUPERVGUI_Notification.h
+//  Author : Francis KLOSS
+//  Module : SUPERV
 
 #ifndef SUPERVGUI_Notification_H
 #define SUPERVGUI_Notification_H
 
-using namespace std;
 #include "SUPERVGUI_Def.h"
 #include <qdialog.h>
 #include <qlist.h>
@@ -18,7 +37,7 @@ using namespace std;
 #include <qvbox.h>
 
 class SUPERVGUI_Main;
-class SUPERVGUI_Node;
+class SUPERVGUI_CanvasNode;
 class SUPERVGUI_NotifWidget;
 
 class SUPERVGUI_Notification: public QDialog 
@@ -66,11 +85,11 @@ private:
 class SUPERVGUI_NotifWidget : public QWidget 
 {
 public:
-  SUPERVGUI_NotifWidget( QWidget* parent, SUPERVGUI_Node* n );
+  SUPERVGUI_NotifWidget( QWidget* parent, SUPERVGUI_CanvasNode* n );
   SUPERVGUI_NotifWidget( QWidget* parent, QString title );
   ~SUPERVGUI_NotifWidget();
 
-  SUPERVGUI_Node* getNode() { return myNode; }
+  SUPERVGUI_CanvasNode* getNode() { return myNode; }
 
   bool getWarning() { return myWarningCheck->isChecked(); }
   bool getStep()    { return myStepCheck->isChecked();    }
@@ -87,7 +106,7 @@ private:
   
 private:
   QString         myTitle;
-  SUPERVGUI_Node* myNode;
+  SUPERVGUI_CanvasNode* myNode;
   QCheckBox*      myWarningCheck;
   QCheckBox*      myStepCheck;
   QCheckBox*      myTraceCheck;