#pragma once #include "CursorBase.h" #include "MBAMDBConnect.h" // STKMsgAttachmentRow command target class AFX_EXT_CLASS CSTKMsgAttachmentRow : public CObject { public: CSTKMsgAttachmentRow(); virtual ~CSTKMsgAttachmentRow(); void operator = ( const CSTKMsgAttachmentRow &Item ); // Attributers public: CMBAMDBConnect *m_pAConnect; CCursorBase *m_pCursor; // Operations public: bool GetItemValueStr( CString strItemName, CString &strData ); bool GetItemValue( CString strItemName, VARIANT &vData ); bool GetAttachSize( long nIndex, __int64 &nSize ); bool GetAttachName( long nIndex, CString &strName ); bool GetAttachFileID( long nIndex, CString &strFileID ); bool GetAttachFileSFlag( long nIndex, CString &strFileSFlag ); bool GetAttachFilePath( long nIndex, CString &strFilePath ); bool GetAttachFileMD5( long nIndex, CString &strFileMD5 ); bool GetSendDate( CString &strSendDate ); bool GetMsgID( CString &strMsgID ); };