X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGEOM_SWIG%2FGeomHelper.cxx;fp=src%2FGEOM_SWIG%2FGeomHelper.cxx;h=0000000000000000000000000000000000000000;hb=0dc7370a1ac0ea1f66d420b06b43c96cb8f04f46;hp=9633a001b9ecd2c71392f47f2454bab033146c88;hpb=736d34a14fab7b5dcf8a2dd152a1b2f499aaaa36;p=modules%2Fgeom.git diff --git a/src/GEOM_SWIG/GeomHelper.cxx b/src/GEOM_SWIG/GeomHelper.cxx deleted file mode 100644 index 9633a001b..000000000 --- a/src/GEOM_SWIG/GeomHelper.cxx +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright (C) 2021 CEA/DEN, EDF R&D, OPEN CASCADE -// -// 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, 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 -// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -// -// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com -// - -#include "GeomHelper.h" - -#include "SALOME_KernelServices.hxx" - -#include "GEOM_Component_Generator.hxx" - -std::string BuildGEOMInstance() -{ - Engines::EngineComponent_var zeRef = RetrieveGEOMInstance(); - CORBA::String_var ior = KERNEL::getORB()->object_to_string(zeRef); - return std::string(ior.in()); -}