// 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_ */