0025748: Parallel version of progress indicator
[occt.git] / src / STEPControl / STEPControl_Controller.cxx
index 1499322..ba6db15 100644 (file)
@@ -301,7 +301,8 @@ IFSelect_ReturnStatus  STEPControl_Controller::TransferWriteShape
   (const TopoDS_Shape& shape,
    const Handle(Transfer_FinderProcess)& FP,
    const Handle(Interface_InterfaceModel)& model,
-   const Standard_Integer modeshape) const
+   const Standard_Integer modeshape,
+   const Message_ProgressRange& theProgress) const
 {
   if (modeshape < 0 || modeshape > 4) return IFSelect_RetError;
   Handle(STEPControl_ActorWrite) ActWrite =
@@ -310,7 +311,7 @@ IFSelect_ReturnStatus  STEPControl_Controller::TransferWriteShape
   if (!ActWrite.IsNull()) 
     ActWrite->SetGroupMode (Interface_Static::IVal("write.step.assembly"));
 
-  return XSControl_Controller::TransferWriteShape (shape,FP,model,modeshape);
+  return XSControl_Controller::TransferWriteShape(shape, FP, model, modeshape, theProgress);
 }
 
 Standard_Boolean STEPControl_Controller::Init ()