Salome HOME
Implementation of the issue #1307. Also make connected parameters from different...
[modules/shaper.git] / src / GeomAlgoAPI / GeomAlgoAPI_IGESImport.h
index f2a3e2dc7324a25b202a23231dd1d6dfc41bae85..37ab90aa7d19069600f733000542ea3b9d74ac21 100644 (file)
@@ -1,11 +1,8 @@
 // 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 <string>
 
-#include <TopoDS_Shape.hxx>
-
-namespace IGESImport {
+#include <GeomAPI_Shape.h>
 
 /// Implementation of the import IGES files algorithms
 GEOMALGOAPI_EXPORT
-TopoDS_Shape Import(const std::string& theFileName,
-                    const std::string& theFormatName,
-                    std::string& theError);
-
-} // namespace IGESImport
+std::shared_ptr<GeomAPI_Shape> IGESImport(const std::string& theFileName,
+                                          const std::string& theFormatName,
+                                          std::string& theError);
 
 #endif /* GEOMALGOAPI_IGESIMPORT_H_ */