1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-14 13:30:48 +03:00

0029220: Application Framework - replace CDM_MessageDriver interface by Message_Messenger.

This commit is contained in:
szy
2017-12-13 15:27:50 +03:00
committed by bugmaster
parent 31e026ba63
commit 83ae35919c
398 changed files with 1452 additions and 1824 deletions

View File

@@ -17,14 +17,14 @@
#include <BinMDF_ADriverTable.hxx>
#include <BinMDocStd.hxx>
#include <BinMDocStd_XLinkDriver.hxx>
#include <CDM_MessageDriver.hxx>
#include <Message_Messenger.hxx>
//=======================================================================
//function : AddDrivers
//purpose :
//=======================================================================
void BinMDocStd::AddDrivers (const Handle(BinMDF_ADriverTable)& theDriverTable,
const Handle(CDM_MessageDriver)& theMsgDriver)
const Handle(Message_Messenger)& theMsgDriver)
{
theDriverTable->AddDriver (new BinMDocStd_XLinkDriver (theMsgDriver) );

View File

@@ -21,7 +21,7 @@
#include <Standard_Handle.hxx>
class BinMDF_ADriverTable;
class CDM_MessageDriver;
class Message_Messenger;
class BinMDocStd_XLinkDriver;
@@ -34,7 +34,7 @@ public:
//! Adds the attribute drivers to <theDriverTable>.
Standard_EXPORT static void AddDrivers (const Handle(BinMDF_ADriverTable)& theDriverTable, const Handle(CDM_MessageDriver)& aMsgDrv);
Standard_EXPORT static void AddDrivers (const Handle(BinMDF_ADriverTable)& theDriverTable, const Handle(Message_Messenger)& aMsgDrv);

View File

@@ -19,7 +19,7 @@
#include <BinObjMgt_Persistent.hxx>
#include <BinObjMgt_RRelocationTable.hxx>
#include <BinObjMgt_SRelocationTable.hxx>
#include <CDM_MessageDriver.hxx>
#include <Message_Messenger.hxx>
#include <Standard_Type.hxx>
#include <TDF_Attribute.hxx>
#include <TDocStd_XLink.hxx>
@@ -31,7 +31,7 @@ IMPLEMENT_STANDARD_RTTIEXT(BinMDocStd_XLinkDriver,BinMDF_ADriver)
//purpose :
//=======================================================================
BinMDocStd_XLinkDriver::BinMDocStd_XLinkDriver
(const Handle(CDM_MessageDriver)& theMsgDriver)
(const Handle(Message_Messenger)& theMsgDriver)
: BinMDF_ADriver (theMsgDriver, STANDARD_TYPE(TDocStd_XLink)->Name())
{
}

View File

@@ -23,7 +23,7 @@
#include <Standard_Boolean.hxx>
#include <BinObjMgt_RRelocationTable.hxx>
#include <BinObjMgt_SRelocationTable.hxx>
class CDM_MessageDriver;
class Message_Messenger;
class TDF_Attribute;
class BinObjMgt_Persistent;
@@ -38,7 +38,7 @@ class BinMDocStd_XLinkDriver : public BinMDF_ADriver
public:
Standard_EXPORT BinMDocStd_XLinkDriver(const Handle(CDM_MessageDriver)& theMessageDriver);
Standard_EXPORT BinMDocStd_XLinkDriver(const Handle(Message_Messenger)& theMessageDriver);
Standard_EXPORT virtual Handle(TDF_Attribute) NewEmpty() const Standard_OVERRIDE;