#ifndef _TDBINTERFACEMSGWRITE_H__ #define _TDBINTERFACEMSGWRITE_H__ #if _MSC_VER > 1000 #pragma once #endif #ifndef _TINTERFACEMODIFYMSG_H__ #include "TInterfaceModifyMsg.h" #endif #ifndef _TMAKEOBJASSOCMSG_H__ #include "TMakeObjAssocMsg.h" #endif #ifdef _TCHPIPEBASE_ #define DLLIMPEXP __declspec(dllexport) #else #ifdef _TCHPIPEBASE_COM_ #define DLLIMPEXP #else #define DLLIMPEXP __declspec(dllimport) #endif #endif class DLLIMPEXP TDbInterfaceMsgWrite { public: TDbInterfaceMsgWrite(); virtual ~TDbInterfaceMsgWrite(); BOOL WriteInterfaceMsg(const TInterfaceModifyMsg& iModifyMsg); BOOL ReadInterfaceMsgs(TInterfaceModifyMsgs& msgs); BOOL WriteUpdateIntfMsg(const TInterfaceModifyMsg& iModifyMsg); BOOL ReadUpdateIntfMsgs(TInterfaceModifyMsgs& msgs); BOOL WriteAssocMsg(const TMakeObjAssocMsg& iModifyMsg); BOOL ReadAssocMsgs(TMakeObjAssocMsgs& msgs); }; #endif //_TDBINTERFACEMSGWRITE_H__