0031353: TDocStd_Application does not have api to set progress indicator
[occt.git] / src / BinDrivers / BinDrivers_DocumentRetrievalDriver.cxx
index 95263f9..c17d3c9 100644 (file)
@@ -58,7 +58,8 @@ Handle(BinMDF_ADriverTable) BinDrivers_DocumentRetrievalDriver::AttributeDrivers
 void BinDrivers_DocumentRetrievalDriver::ReadShapeSection
                               (BinLDrivers_DocumentSection& /*theSection*/,
                                Standard_IStream&            theIS,
-                               const Standard_Boolean       /*isMess*/)
+                               const Standard_Boolean       /*isMess*/,
+                               const Handle(Message_ProgressIndicator)& theProgress)
 
 {
   // Read Shapes
@@ -69,7 +70,7 @@ void BinDrivers_DocumentRetrievalDriver::ReadShapeSection
       OCC_CATCH_SIGNALS
       Handle(BinMNaming_NamedShapeDriver) aNamedShapeDriver =
         Handle(BinMNaming_NamedShapeDriver)::DownCast (aDriver);
-      aNamedShapeDriver->ReadShapeSection (theIS);
+      aNamedShapeDriver->ReadShapeSection (theIS, theProgress);
     }
     catch(Standard_Failure const& anException) {
       const TCollection_ExtendedString aMethStr