X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSALOMEDSClient%2FSALOMEDSClient_ClientFactory.hxx;h=6293ce2941aa57cb0a6561ff8a8b1a073eb7f4c6;hb=fc1b34ca40de4f6d67945dd793c0a53abd243231;hp=6c226d402520b75bd6f9bb84734032e0202995ee;hpb=e6bfea36374791cd31c274a2f97df90dc60ddaf3;p=modules%2Fkernel.git diff --git a/src/SALOMEDSClient/SALOMEDSClient_ClientFactory.hxx b/src/SALOMEDSClient/SALOMEDSClient_ClientFactory.hxx index 6c226d402..6293ce294 100644 --- a/src/SALOMEDSClient/SALOMEDSClient_ClientFactory.hxx +++ b/src/SALOMEDSClient/SALOMEDSClient_ClientFactory.hxx @@ -1,27 +1,30 @@ -// Copyright (C) 2006 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, +// Copyright (C) 2007-2016 CEA/DEN, EDF R&D, OPEN CASCADE +// +// Copyright (C) 2003-2007 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 +// 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 +// 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 : SALOMEDSClient_ClientFactory.hxx // Author : Sergey RUIN // Module : SALOME // $Header: - +// #ifndef SALOMEDSClient_ClientFactory_HeaderFile #define SALOMEDSClient_ClientFactory_HeaderFile @@ -29,7 +32,6 @@ #include "SALOMEDSClient_SObject.hxx" #include "SALOMEDSClient_SComponent.hxx" #include "SALOMEDSClient_Study.hxx" -#include "SALOMEDSClient_StudyManager.hxx" #include "SALOMEDSClient_IParameters.hxx" #include @@ -38,7 +40,7 @@ #include #include CORBA_CLIENT_HEADER(SALOMEDS) -class ClientFactory { +class SALOMEDSCLIENT_EXPORT ClientFactory { public: /*! @@ -57,19 +59,14 @@ public: static _PTR(Study) Study(SALOMEDS::Study_ptr theStudy); /*! - * Returns a client StudyBuilder wrapper that corresponds %theStudy - */ - static _PTR(StudyBuilder) StudyBuilder(SALOMEDS::StudyBuilder_ptr theBuilder); - - /*! - * Returns a client StudyManager wrapper + * Creates and returns a client Study wrapper */ - static _PTR(StudyManager) StudyManager(); + static void createStudy(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 @@ -82,11 +79,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 */