0031682: Visualization - Prs3d_ShadingAspect::SetTransparency() has no effect with...
[occt.git] / src / BinMNaming / BinMNaming_NamedShapeDriver.hxx
index 057199d..0cd7285 100644 (file)
@@ -27,7 +27,7 @@
 #include <BinObjMgt_SRelocationTable.hxx>
 #include <Standard_IStream.hxx>
 #include <Standard_OStream.hxx>
-class CDM_MessageDriver;
+class Message_Messenger;
 class TDF_Attribute;
 class BinObjMgt_Persistent;
 class BinTools_LocationSet;
@@ -43,7 +43,7 @@ class BinMNaming_NamedShapeDriver : public BinMDF_ADriver
 public:
 
   
-  Standard_EXPORT BinMNaming_NamedShapeDriver(const Handle(CDM_MessageDriver)& theMessageDriver);
+  Standard_EXPORT BinMNaming_NamedShapeDriver(const Handle(Message_Messenger)& theMessageDriver);
   
   Standard_EXPORT Handle(TDF_Attribute) NewEmpty() const Standard_OVERRIDE;
   
@@ -52,10 +52,12 @@ public:
   Standard_EXPORT void Paste (const Handle(TDF_Attribute)& Source, BinObjMgt_Persistent& Target, BinObjMgt_SRelocationTable& RelocTable) const Standard_OVERRIDE;
   
   //! Input the shapes from Bin Document file
-  Standard_EXPORT void ReadShapeSection (Standard_IStream& theIS);
+  Standard_EXPORT void ReadShapeSection (Standard_IStream& theIS,
+                                         const Handle(Message_ProgressIndicator)& theProgress = NULL);
   
   //! Output the shapes into Bin Document file
-  Standard_EXPORT void WriteShapeSection (Standard_OStream& theOS);
+  Standard_EXPORT void WriteShapeSection (Standard_OStream& theOS,
+                                          const Handle(Message_ProgressIndicator)& theProgress = NULL);
   
   //! Clear myShapeSet
   Standard_EXPORT void Clear();