Files
envi-code/SourceCode/Code2026/tg_shs/inc/pipebase/TDbInterfaceMsgWrite.h
T
2026-09-28 15:28:50 +08:00

43 lines
918 B
C++

#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__