0025748: Parallel version of progress indicator
[occt.git] / src / StlAPI / StlAPI_Writer.hxx
index c517e8b..2723710 100644 (file)
 #ifndef _StlAPI_Writer_HeaderFile
 #define _StlAPI_Writer_HeaderFile
 
-#include <Poly_Triangulation.hxx>
-#include <Standard.hxx>
-#include <Standard_DefineAlloc.hxx>
-#include <Standard_Handle.hxx>
-#include <Standard_Boolean.hxx>
-#include <Standard_CString.hxx>
+#include <Message_ProgressScope.hxx>
 #include <Message_ProgressIndicator.hxx>
 
 class TopoDS_Shape;
@@ -47,7 +42,7 @@ public:
   //! \return the error state.
   Standard_EXPORT Standard_Boolean Write (const TopoDS_Shape& theShape,
                                           const Standard_CString theFileName,
-                                          const Handle(Message_ProgressIndicator)& theProgress = NULL);
+                                          const Message_ProgressRange& theProgress = Message_ProgressRange());
 
 private:
   Standard_Boolean myASCIIMode;