Salome HOME
NRI : Merge from V1_2.
authornri <nri@opencascade.com>
Wed, 9 Jul 2003 16:10:27 +0000 (16:10 +0000)
committernri <nri@opencascade.com>
Wed, 9 Jul 2003 16:10:27 +0000 (16:10 +0000)
idl/SALOME_ModuleCatalog.idl
idl/SALOME_Session.idl
src/Makefile.in
src/Session/Makefile.in
src/Session/SALOME_Session_i.cxx
src/Session/SALOME_Session_i.hxx
src/TOOLSDS/Makefile.in
src/TOOLSGUI/Makefile.in
src/TOOLSGUI/ToolsGUI_CatalogGeneratorDlg.cxx
src/Utils/SALOME_utilities.py
src/Utils/utilities.py

index 789722be47efa598bb89cab4242ca024f160c574..3f6bfaefbc6225171d08e8541f8b038b43157fba 100644 (file)
@@ -1,9 +1,27 @@
-// File: SALOME_ModuleCatalog.idl
-// Created: Tue June 25 2001
-// Author: Estelle Deville
-// Project: SALOME
-// Copyright : CEA/DEN/DMSS/LGLS
-// $Header$
+//  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   : SALOME_ModuleCatalog.idl
+//  Author : Estelle Deville
+//  $Header$
 
 /*! \file SALOME_ModuleCatalog.idl This file conatins a set of interfaces used for  
   creation of the catalog of components in %SALOME application
index 9601cb102b14255305f75f7a3fe2ba98a2eeec51..7d1d5a7c48d2886e2eb3d75e41f67c6245b731a3 100644 (file)
@@ -1,14 +1,28 @@
-//=============================================================================
-// File      : SALOME_Session.idl
-// Created   : mar jun 19 09:15:07 CEST 2001
-// Author    : Paul RASCLE, EDF
-// Project   : SALOME
-// Copyright : EDF 2001
-// $Header$
-//=============================================================================
+//  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   : SALOME_Session.idl
+//  Author : Paul RASCLE, EDF
+//  $Header$
 
-
-//***//#include "VISU_Gen.idl"
 #include "SALOME_Component.idl"
 /*! \defgroup Kernel SALOME KERNEL module
 */
index 4a57fd0c3d8fb47c2057c3096d35f67dba00476a..e3694451242e9dee870c0cca7e3c16b4a5e2e9f7 100644 (file)
@@ -1,13 +1,31 @@
-# -* Makefile *- 
+#  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 
+#
 #
-# Author : Patrick GOLDBRONN (CEA)
-# Date : 28/06/2001
-# $Header$
 #
+#  File   : Makefile.in
+#  Author : Patrick GOLDBRONN (CEA)
+#  Module : SALOME
+# $Header$
 
-# source path
 top_srcdir=@top_srcdir@
-top_builddir=..
+top_builddir=../..
 srcdir=@srcdir@
 VPATH=.:@srcdir@
 
@@ -16,9 +34,9 @@ VPATH=.:@srcdir@
 
 SUBDIRS = MSG2QM Logger Utils PatchQt NamingService Registry ModuleCatalog DataTypeCatalog \
          RessourcesCatalog Notification NOTIFICATION_SWIG Container TestContainer LifeCycleCORBA \
-          HDFPersist OBJECT SALOMEDS SALOMEGUI Plot2d VTKViewer OCCViewer SUPERVGraph Session Loader\
+          HDFPersist OBJECT TOOLSDS SALOMEDS SALOMEGUI Plot2d VTKViewer OCCViewer SUPERVGraph Session \
          SALOME_SWIG TOOLSGUI SALOME_PY RegistryDisplay ModuleGenerator \
-         SALOME_PYQT
+         SALOME_PYQT Loader
 
 ifeq (@WITHMPICH@,yes)
   SUBDIRS+= MPIContainer
index 2448c8e778ba200a29f9ad1fecd9a43a9937a6c6..c6a7ffbe0928cbc04977cf46e0a06aad5dcfbb28 100644 (file)
@@ -28,7 +28,7 @@
 
 # source path
 top_srcdir=@top_srcdir@
-top_builddir=../../..
+top_builddir=../..
 srcdir=@srcdir@
 VPATH=.:@srcdir@:@top_srcdir@/idl
 
index c57e4cd99eb97fc5ae7448c11d39f6e39adab33c..41b68e8185396e90cec34721cdcfeb05b4cba801 100644 (file)
@@ -1,13 +1,32 @@
-using namespace std;
-//=============================================================================
-// File      : SALOME_Session_i.cxx
-// Created   : mar jun 19 14:02:45 CEST 2001
-// Author    : Paul RASCLE, EDF
-// Project   : SALOME
-// Copyright : EDF 2001
-// $Header$
-//=============================================================================
+//  SALOME Session : implementation of Session.idl
+//
+//  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   : SALOME_Session_i.cxx
+//  Author : Paul RASCLE, EDF
+//  Module : SALOME
+//  $Header$
 
+using namespace std;
 #include "utilities.h"
 
 #include "SALOME_Session_i.hxx"
@@ -41,15 +60,16 @@ SALOME_Session_i::SALOME_Session_i(int argc, char ** argv, CORBA::ORB_ptr orb, P
   MESSAGE("constructor end");
 }
   
-//***//VISU::VISU_Gen_ptr SALOME_Session_i::GetVisuGen(){
-//***//  typedef VISU::VISU_Gen_ptr VisuGen(CORBA::ORB_var,PortableServer::POA_var,QMutex*);
-//***//  MESSAGE("SALOME_Session_i::GetVisuGen");
-//***//  OSD_SharedLibrary  visuSharedLibrary("libVisuEngine.so");
-//***//  if(visuSharedLibrary.DlOpen(OSD_RTLD_LAZY))
-//***//    if(OSD_Function osdFun = visuSharedLibrary.DlSymb("GetVisuGen"))
-//***//      return ((VisuGen (*)) osdFun)(_orb,_poa,&_GUIMutex);
-//***//  return VISU::VISU_Gen::_nil();
-//***//} 
+Engines::Component_ptr SALOME_Session_i::GetVisuGen(){
+  typedef Engines::Component_ptr VisuGen(CORBA::ORB_ptr, PortableServer::POA_ptr,
+                                        SALOME_NamingService*, QMutex*);
+  MESSAGE("SALOME_Session_i::GetVisuGen");
+  OSD_SharedLibrary  visuSharedLibrary("libVisuEngine.so");
+  if(visuSharedLibrary.DlOpen(OSD_RTLD_LAZY))
+    if(OSD_Function osdFun = visuSharedLibrary.DlSymb("GetVisuGen"))
+      return ((VisuGen (*)) osdFun)(_orb,_poa,_NS,&_GUIMutex);
+  return Engines::Component::_nil();
+}
 
 Engines::Component_ptr SALOME_Session_i::GetVisuComponent() {
   MESSAGE("SALOME_Session_i::GetVisuGen");
index ef7a55f086d632f285f69206ee0b3f8693ecde8b..93d1f77cf019423cfed83d1117fe1dbba9e0b9b1 100644 (file)
@@ -1,11 +1,30 @@
-//=============================================================================
-// File      : SALOME_Session_i.hxx
-// Created   : mar jun 19 13:42:55 CEST 2001
-// Author    : Paul RASCLE, EDF
-// Project   : SALOME
-// Copyright : EDF 2001
-// $Header$
-//=============================================================================
+//  SALOME Session : implementation of Session.idl
+//
+//  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   : SALOME_Session_i.hxx
+//  Author : Paul RASCLE, EDF
+//  Module : SALOME
+//  $Header$
 
 #ifndef _SALOME_SESSION_I_HXX_
 #define _SALOME_SESSION_I_HXX_
 class SALOME_NamingService;
 class SALOME_Session_QThread;
 
-//! CORBA SALOME Session Servant
-
-class SALOME_Session_i:  public POA_SALOME::Session,
-                        public PortableServer::RefCountServantBase
+class SALOME_Session_i:  public virtual POA_SALOME::Session,
+                        public virtual PortableServer::RefCountServantBase
 {
 public:
   SALOME_Session_i(int argc, char ** argv, CORBA::ORB_ptr orb, PortableServer::POA_ptr poa) ;
index e4e5fc028b7fda05b45d8b6c03b18bd261d6c7c4..fe5211407f07ad5e60117de0ae9e33581226b795 100644 (file)
@@ -5,7 +5,7 @@
 
 # source path
 top_srcdir=@top_srcdir@
-top_builddir=../../..
+top_builddir=../..
 srcdir=@srcdir@
 VPATH=.:@srcdir@:@top_srcdir@/idl:$(top_srcdir)/idl
 
index 1ea5086741f5a7daf9f933308dec5247f5309504..a51debd21bae9ece81a87617429b77383f4700e2 100644 (file)
@@ -1,11 +1,31 @@
-# -* Makefile *- 
+#  SALOME TOOLSGUI : implementation of desktop "Tools" optioins
 #
-# Author : Marc Tajchman (CEA)
-# Date : 5/07/2001
-# $Header$
+#  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   : Makefile.in
+#  Author : Marc Tajchman (CEA)
+#  Module : SALOME
+#  $Header$
 
-# source path
 top_srcdir=@top_srcdir@
 top_builddir=../..
 srcdir=@srcdir@
index 970b0d5913c528339a5acbecb3abd0f09463a725..1147a6e378f4cc8530d84142b4a422559a36a791 100644 (file)
@@ -1,13 +1,32 @@
-using namespace std;
-//  File      : ToolsGUI_CatalogGeneratorDlg.cxx
-//  Created   : Thu Apr 25 18:52:40 2002
-//  Author    : Nicolas REJNERI
-
-//  Project   : SALOME
-//  Module    : TOOLSGUI
-//  Copyright : Open CASCADE 2002
+//  SALOME TOOLSGUI : implementation of desktop "Tools" optioins
+//
+//  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   : ToolsGUI_CatalogGeneratorDlg.cxx
+//  Author : Nicolas REJNERI
+//  Module : SALOME
 //  $Header$
 
+using namespace std;
 #include "ToolsGUI_CatalogGeneratorDlg.h"
 
 #include "QAD_Application.h"
index f21c174575e6caa760529ecb007cc2cbd5cac3cf..bf18aaf700c2698c17d313f21631b72058ec9600 100644 (file)
@@ -1,3 +1,12 @@
+#  SALOME Utils : general SALOME's definitions and tools
+#
+#  Copyright (C) 2003  CEA/DEN, EDF R&D
+#
+#
+#
+#  File   : SALOME_utilities.py
+#  Module : SALOME
+
 import SALOME_Trace
 GLogger = SALOME_Trace.SALOME_Trace()
 
index f21c174575e6caa760529ecb007cc2cbd5cac3cf..9c209354080e62e7dac8e994403fa51f002be9fe 100644 (file)
@@ -1,3 +1,12 @@
+#  SALOME Utils : general SALOME's definitions and tools
+#
+#  Copyright (C) 2003  CEA/DEN, EDF R&D
+#
+#
+#
+#  File   : utilities.py
+#  Module : SALOME
+
 import SALOME_Trace
 GLogger = SALOME_Trace.SALOME_Trace()