X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGeomAlgoAPI%2FGeomAlgoAPI_BREPImport.h;h=a8a5c582f9b591f6474d53340758141399c57fa6;hb=5c7800057bef826f4dfcd151a05b18ca5c69a08a;hp=93fce71fd4d4ff9b85d04dfeabf6d13d901e509e;hpb=2dd4d315bde6af849d68f1d3cd190ac3ec219527;p=modules%2Fshaper.git diff --git a/src/GeomAlgoAPI/GeomAlgoAPI_BREPImport.h b/src/GeomAlgoAPI/GeomAlgoAPI_BREPImport.h index 93fce71fd..a8a5c582f 100644 --- a/src/GeomAlgoAPI/GeomAlgoAPI_BREPImport.h +++ b/src/GeomAlgoAPI/GeomAlgoAPI_BREPImport.h @@ -1,11 +1,8 @@ // Copyright (C) 2014-20xx CEA/DEN, EDF R&D -/* - * GEOMALGOAPI_BREPImport.h - * - * Created on: Dec 24, 2014 - * Author: sbh - */ +// File: GEOMALGOAPI_BREPImport.h +// Created: Dec 24, 2014 +// Author: Sergey BELASH #ifndef GEOMALGOAPI_BREPIMPORT_H_ #define GEOMALGOAPI_BREPIMPORT_H_ @@ -14,16 +11,12 @@ #include -#include - -namespace BREPImport { +#include /// Implementation of the import BREP files algorithms GEOMALGOAPI_EXPORT -TopoDS_Shape Import(const std::string& theFileName, - const std::string& theFormatName, - std::string& theError); - -} // namespace BREPImport +std::shared_ptr BREPImport(const std::string& theFileName, + const std::string& theFormatName, + std::string& theError); #endif /* GEOMALGOAPI_BREPIMPORT_H_ */