Salome HOME
Adding error handling.
[modules/shaper.git] / src / GeomAlgoAPI / GeomAlgoAPI_IGESExport.h
index a583ae804b8acf481e2fe696ddd4627f86df4d69..62781d9ea4ee346b8f64c9fc40f9cca6bcd17c4f 100644 (file)
 
 #include <string>
 
-#include <TopoDS_Shape.hxx>
-
-namespace IGESExport {
+#include <GeomAPI_Shape.h>
 
 /// Implementation of the export IGES files algorithms
 GEOMALGOAPI_EXPORT
-bool Export(const std::string& theFileName,
-            const std::string& theFormatName,
-            const TopoDS_Shape& theShape,
-            std::string& theError);
-
-} // namespace IGESExport
+bool IGESExport(const std::string& theFileName,
+                const std::string& theFormatName,
+                const std::shared_ptr<GeomAPI_Shape>& theShape,
+                std::string& theError);
 
 #endif /* GEOMALGOAPI_IGESEXPORT_H_ */