X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2FGeomAlgoAPI%2FGeomAlgoAPI_STEPImport.h;h=b206962cbcabd70ea31ad4a1a1397ccccb5fd1e7;hb=580f1752efd9d3e8c2890c4016b04dafd639bab7;hp=6f3506248dd1d8a84753f8cc9e35a1dd5ea5b66d;hpb=2dd4d315bde6af849d68f1d3cd190ac3ec219527;p=modules%2Fshaper.git diff --git a/src/GeomAlgoAPI/GeomAlgoAPI_STEPImport.h b/src/GeomAlgoAPI/GeomAlgoAPI_STEPImport.h index 6f3506248..b206962cb 100644 --- a/src/GeomAlgoAPI/GeomAlgoAPI_STEPImport.h +++ b/src/GeomAlgoAPI/GeomAlgoAPI_STEPImport.h @@ -1,11 +1,9 @@ // Copyright (C) 2014-20xx CEA/DEN, EDF R&D -/* - * GEOMALGOAPI_STEPImport.h - * - * Created on: Dec 24, 2014 - * Author: sbh - */ +// File: GEOMALGOAPI_STEPImport.h +// Created: Dec 24, 2014 +// Author: Sergey BELASH + #ifndef GEOMALGOAPI_STEPIMPORT_H_ #define GEOMALGOAPI_STEPIMPORT_H_ @@ -14,16 +12,12 @@ #include -#include - -namespace STEPImport { +#include /// Implementation of the import STEP files algorithms GEOMALGOAPI_EXPORT -TopoDS_Shape Import(const std::string& theFileName, - const std::string& theFormatName, - std::string& theError); - -} // namespace STEPImport +std::shared_ptr STEPImport(const std::string& theFileName, + const std::string& theFormatName, + std::string& theError); #endif /* GEOMALGOAPI_STEPIMPORT_H_ */