#pragma once #include "CursorBase.h" #include "MBAMDBConnect.h" // STKMsgRow command target class AFX_EXT_CLASS CSTKMsgRow : public CObject { public: CSTKMsgRow(); virtual ~CSTKMsgRow(); void operator = ( const CSTKMsgRow &Item ); // Attributers public: CMBAMDBConnect *m_pAConnect; CCursorBase *m_pCursor; // Operations public: bool GetCharSet( long &nCharSet ); bool GetProp( CString strDataName, CString &strDataValue ); bool GetMsgFlag( long &nFlag ); bool GetMsgType( long &nType ); bool GetAttitudeset( CString &strData ); bool GetReadState( long &nReturn ); bool IsDownloaded( BOOL bAdvanced, BOOL &bReturn ); bool GetSourceMsgID( CString &strMsgID ); bool GetMsgContentType( enum AMMSGCONTENTTYPE &nContentType ); bool GetItemValueStr( CString strItemName, CString &strData ); bool GetItemValue( CString strItemName, VARIANT &vData ); bool IsNeedConfirm( long &bIsConfirm ); bool IsGroupSend( long &bIsGroupSend ); 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 GetAttachCount( long &nCount ); bool GetMsgOwnerRData( long nIndex, CString &strOpenDate ); bool GetMsgOwnerName( long nIndex, CString &strName ); bool GetMsgOwner( long nIndex, CString &strLogin ); bool GetMsgOwnerCount( long &nCount ); bool GetMsgContent( enum AMMSGCONTENTTYPE nContentType, CString &strMsgContent ); bool GetSendDate( CString &strSendDate ); bool GetSenderName( CString &strName ); bool GetSender( CString &strName ); bool GetMsgSubject( CString &strSubject ); bool GetMsgID( CString &strMsgID ); bool ParesReceiversInfo( CString strReceiversInfo, CStringArray &asLogin, CStringArray &asUserName ); bool GetStrItem( CString &strBuff, CString &strItem, CString strApart ); bool GetAttribCount( long &nCount ); bool GetAttribName( long nIndex, CString &strName ); bool GetAttribValue( long nIndex, CString &strValue ); };