Salome HOME
updated copyright message
[modules/kernel.git] / src / SALOMEDSClient / SALOMEDSClient_ClientFactory.hxx
index d0023b81b706959ef323318a577cb74d4253c2a0..aacabfa4e87b679bf07e5d814269082b08e9da2f 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2015  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2023  CEA, EDF, OPEN CASCADE
 //
 // Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@ -32,7 +32,6 @@
 #include "SALOMEDSClient_SObject.hxx"
 #include "SALOMEDSClient_SComponent.hxx"
 #include "SALOMEDSClient_Study.hxx"
-#include "SALOMEDSClient_StudyManager.hxx"
 #include "SALOMEDSClient_IParameters.hxx"
 
 #include <string>
@@ -60,19 +59,19 @@ public:
   static _PTR(Study) Study(SALOMEDS::Study_ptr theStudy);
 
   /*!
-   *  Returns a client StudyBuilder wrapper that corresponds %theStudy
+   *  Creates and returns a client Study wrapper
    */
-  static _PTR(StudyBuilder) StudyBuilder(SALOMEDS::StudyBuilder_ptr theBuilder);
-
+  static void createStudy(CORBA::ORB_ptr orb, PortableServer::POA_ptr poa);
+  
   /*!
-   *  Returns a client StudyManager wrapper
+   * Creates and returns a client Study wrapper without external NS process
    */
-  static _PTR(StudyManager) StudyManager();
+  static void createStudyWithoutNS(CORBA::ORB_ptr orb, PortableServer::POA_ptr poa);
 
   /*!
-   *  Creates and returns a client StudyManager wrapper
+   *  Returns a client StudyBuilder wrapper that corresponds %theStudy
    */
-  static _PTR(StudyManager) createStudyManager(CORBA::ORB_ptr orb, PortableServer::POA_ptr poa);
+  static _PTR(StudyBuilder) StudyBuilder(SALOMEDS::StudyBuilder_ptr theBuilder);
 
   /*!
    * Returns an IParameters interface
@@ -85,11 +84,6 @@ public:
    */
   static SALOMEDS::SObject_ptr crbSObject(const _PTR(SObject)& theSObject);
 
-  /*!
-   *  Returns a CORBA Study that corresponds %theStudy
-   */
-  static SALOMEDS::Study_ptr crbStudy(const _PTR(Study)& theStudy);  
-
   /*!
    *  Returns a CORBA StudyBuilder that corresponds %theStudyBuilder
    */