0025748: Parallel version of progress indicator
[occt.git] / src / XSControl / XSControl_Writer.cxx
index e96bd09..9cafde9 100644 (file)
@@ -66,10 +66,10 @@ XSControl_Writer::XSControl_Writer ()
 }
 
     IFSelect_ReturnStatus  XSControl_Writer::TransferShape
-  (const TopoDS_Shape& sh, const Standard_Integer mode)
+  (const TopoDS_Shape& sh, const Standard_Integer mode, const Message_ProgressRange& theProgress)
 {
   thesession->TransferWriter()->SetTransferMode (mode);
-  return thesession->TransferWriteShape (sh);
+  return thesession->TransferWriteShape (sh, Standard_True, theProgress);
 }
 
     IFSelect_ReturnStatus  XSControl_Writer::WriteFile