X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHELLO_SWIG%2FHelloHelper.cxx;fp=src%2FHELLO_SWIG%2FHelloHelper.cxx;h=0000000000000000000000000000000000000000;hb=73c9fdc688397b5d584540caaafac18612cba422;hp=dcf031ea1096f810e0ed37e5bc1b624cf8f9c1b7;hpb=96f1a20cb70a62c58b01ce78782f4b1240366aec;p=samples%2Fhello.git diff --git a/src/HELLO_SWIG/HelloHelper.cxx b/src/HELLO_SWIG/HelloHelper.cxx deleted file mode 100644 index dcf031e..0000000 --- a/src/HELLO_SWIG/HelloHelper.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 "HelloHelper.h" - -#include "SALOME_KernelServices.hxx" - -#include "HELLO_Component_Generator.hxx" - -std::string BuildHELLOInstance() -{ - Engines::EngineComponent_var zeRef = RetrieveHELLOInstance(); - CORBA::String_var ior = KERNEL::getORB()->object_to_string(zeRef); - return std::string(ior.in()); -}