Salome HOME
Minor corrections: coding rules
[modules/shaper.git] / src / GeomAlgoAPI / GeomAlgoAPI_BREPImport.h
index 93fce71fd4d4ff9b85d04dfeabf6d13d901e509e..a8a5c582f9b591f6474d53340758141399c57fa6 100644 (file)
@@ -1,11 +1,8 @@
 // Copyright (C) 2014-20xx CEA/DEN, EDF R&D
 
-/*
- * GEOMALGOAPI_BREPImport.h
- *
- *  Created on: Dec 24, 2014
- *      Author: sbh
- */
+// File:    GEOMALGOAPI_BREPImport.h
+// Created: Dec 24, 2014
+// Author:  Sergey BELASH
 
 #ifndef GEOMALGOAPI_BREPIMPORT_H_
 #define GEOMALGOAPI_BREPIMPORT_H_
 
 #include <string>
 
-#include <TopoDS_Shape.hxx>
-
-namespace BREPImport {
+#include <GeomAPI_Shape.h>
 
 /// Implementation of the import BREP files algorithms
 GEOMALGOAPI_EXPORT
-TopoDS_Shape Import(const std::string& theFileName,
-                    const std::string& theFormatName,
-                    std::string& theError);
-
-} // namespace BREPImport
+std::shared_ptr<GeomAPI_Shape> BREPImport(const std::string& theFileName,
+                                          const std::string& theFormatName,
+                                          std::string& theError);
 
 #endif /* GEOMALGOAPI_BREPIMPORT_H_ */