49 lines
882 B
C++
49 lines
882 B
C++
#include "StdAfx.h"
|
|
#include "StdArx.h"
|
|
#include "dbproxy.h"
|
|
#include "geassign.h"
|
|
#include "acgi.h"
|
|
|
|
#define VERSION_TDBINTERFACEMSGOBJ 1
|
|
|
|
TDbInterfaceMsgObj::TDbInterfaceMsgObj()
|
|
{
|
|
//{{AFX_ARX_DATA_INIT(TDbInterfaceMsgObj)
|
|
//}}AFX_ARX_DATA_INIT
|
|
}
|
|
|
|
TDbInterfaceMsgObj::~TDbInterfaceMsgObj()
|
|
{
|
|
}
|
|
|
|
void TDbInterfaceMsgObj::SetModifyMsg(const TInterfaceModifyMsg& msg)
|
|
{
|
|
m_iModiMsg = msg;
|
|
}
|
|
|
|
BOOL TDbInterfaceMsgObj::GetModifyMsg(TInterfaceModifyMsg& msg)
|
|
{
|
|
msg = m_iModiMsg;
|
|
return TRUE;
|
|
}
|
|
|
|
void TDbInterfaceMsgObj::SetAssocMsg(const TMakeObjAssocMsg& msg)
|
|
{
|
|
m_iAssocMsg = msg;
|
|
}
|
|
|
|
BOOL TDbInterfaceMsgObj::GetAssocMsg(TMakeObjAssocMsg& msg)
|
|
{
|
|
msg = m_iAssocMsg;
|
|
return TRUE;
|
|
}
|
|
|
|
TDbInterfaceMsgObj& TDbInterfaceMsgObj::operator = (const TDbInterfaceMsgObj& iMsg)
|
|
{
|
|
if (this != &iMsg)
|
|
{
|
|
m_iModiMsg = iMsg.m_iModiMsg;
|
|
m_iAssocMsg = iMsg.m_iAssocMsg;
|
|
}
|
|
return *this;
|
|
} |