Salome HOME
Moved some functionality to VTKViewer_Utilities.h
[modules/kernel.git] / src / RegistryDisplay / RegWidgetFactory.cxx
index 0c92d2dcbfe47d34af12c1e172267caf083fbf11..ffef14c4d8c1539665a9cf4a65739963c9c60263 100644 (file)
@@ -1,15 +1,34 @@
-using namespace std;
-//=============================================================================
-// File      : RegWidgetFactory.cxx
-// Created   : Tue Nov 13 17:16:01 CET 2001
-// Author    : Pascale NOYRET, EDF
-// Project   : SALOME
-// Copyright : EDF 2001
-// $Header$
-//=============================================================================
+//  SALOME RegistryDisplay : GUI for Registry server implementation
+//
+//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
+//
+//
+//
+//  File   : RegWidgetFactory.cxx
+//  Author : Pascale NOYRET, EDF
+//  Module : SALOME
+//  $Header$
 
 # include "RegWidget.hxx"
 # include "utilities.h"
+using namespace std;
 
 extern "C"
 {
@@ -18,7 +37,7 @@ void OnGUIEvent( CORBA::ORB_var &orb, QWidget *parent, const char *name )
 {
   // N.B. parent can be 0
  RegWidget* ptrRegWidget = RegWidget::GetRegWidget( orb, parent, name );
- ASSERT ( !ptrRegWidget );
//ASSERT ( !ptrRegWidget );
  ptrRegWidget->show();
  ptrRegWidget->raise();
  ptrRegWidget->setActiveWindow();