Salome HOME
Minor corrections: coding rules
[modules/shaper.git] / src / GeomAlgoAPI / GeomAlgoAPI_IGESImport.h
index c01f7c1d542675acc8dfd842a753450915da56ad..37ab90aa7d19069600f733000542ea3b9d74ac21 100644 (file)
@@ -1,29 +1,22 @@
 // Copyright (C) 2014-20xx CEA/DEN, EDF R&D
 
-/*
- * GEOMALGOAPI_IGESImport.h
- *
- *  Created on: May 14, 2015
- *      Author: spo
- */
+// File:    GEOMALGOAPI_IGESImport.h
+// Created: May 14, 2015
+// Author:  Sergey POKHODENKO
 
 #ifndef GEOMALGOAPI_IGESIMPORT_H_
 #define GEOMALGOAPI_IGESIMPORT_H_
 
 #include <GeomAlgoAPI.h>
 
-#include <TCollection_AsciiString.hxx>
-#include <TopoDS_Shape.hxx>
-#include <TDF_Label.hxx>
+#include <string>
 
-namespace IGESImport {
+#include <GeomAPI_Shape.h>
 
 /// Implementation of the import IGES files algorithms
 GEOMALGOAPI_EXPORT
-TopoDS_Shape Import(const TCollection_AsciiString& theFileName,
-                    const TCollection_AsciiString& theFormatName,
-                    TCollection_AsciiString& theError, const TDF_Label&);
-
-}
+std::shared_ptr<GeomAPI_Shape> IGESImport(const std::string& theFileName,
+                                          const std::string& theFormatName,
+                                          std::string& theError);
 
 #endif /* GEOMALGOAPI_IGESIMPORT_H_ */