#include "stdafx.h" #include "TToolKitBase.h" #include "TDbRelInterfaceReactor.h" #ifdef _DEBUG #undef THIS_FILE static char THIS_FILE[]=__FILE__; #define new DEBUG_NEW #endif extern TDbRelInterfaceReactor* g_pRelInterfaceReactor; extern TDbMakeObjAssocReactor* g_pObjAssocReactor; TToolKitBase::TToolKitBase() { } TToolKitBase::~TToolKitBase() { if (g_pRelInterfaceReactor != NULL) { g_pRelInterfaceReactor->RemoveToolKit(this); } } BOOL TToolKitBase::TrytoAddTeeOnInterface(TDbInterfacesObj* pIObj,TInterface& pipeInterface) { return FALSE; } BOOL TToolKitBase::DispatchInterfaceMsgOut(const TInterfaceModifyMsg& msg) { return FALSE; } void TToolKitBase::SetInterfaceRelation(AcDbDatabase* pDb,TDbInterfacesObj* pObj) { if (g_pObjAssocReactor != NULL && pObj != NULL) { g_pObjAssocReactor->objectAppended(pDb,pObj); } }