Salome HOME
Renaming the direct API high level.
[modules/shaper.git] / src / GeomAlgoAPI / GeomAlgoAPI_BREPExport.h
index 2b51e43f7522ae7c61da8e9751f29d42b469297c..79f3d99b68ea0edb0193c3e413b083cc17e45587 100644 (file)
 
 #include <string>
 
-#include <TopoDS_Shape.hxx>
-
-namespace BREPExport {
+#include <GeomAPI_Shape.h>
 
 /// Implementation of the export BREP files algorithms
 GEOMALGOAPI_EXPORT
-bool Export(const std::string& theFileName,
-            const std::string& theFormatName,
-            const TopoDS_Shape& theShape,
-            std::string& theError);
-
-} // namespace BREPExport
+bool BREPExport(const std::string& theFileName,
+                const std::string& theFormatName,
+                const std::shared_ptr<GeomAPI_Shape>& theShape,
+                std::string& theError);
 
 #endif /* GEOMALGOAPI_BREPEXPORT_H_ */