⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 msvhandler.h

📁 Symbian c++ 的彩信发送接收实例
💻 H
字号:

#ifndef __MSV_HANDLER_H__
#define __MSV_HANDLER_H__

#include <e32base.h>

class CClientMtmRegistry;
class MMsvObserver;

const TInt KNcnMaxTries = 20;
const TInt KNcnTryInterval = 500000;

#define KMsvMyFolderIndexEntryId 0x1008

class CMsvHandler : public CActive, public MMsvSessionObserver
    {
	public:
		void SetEntriesAttributesL(const CMsvEntrySelection& aSelection, 
			TUint aSetAttributes, TUint aClearAttributes );
		void CreateRightMtmL( TUid aMtm );

		inline TBool IsSesssionReady() { return iIsSessionReady; }

		// void DeleteEntryL( TMsvId aMsvId );

		virtual ~CMsvHandler();
		virtual TBool IsIdle();

	protected: // from CActive
		void DoCancel();
		protected:
		void ConstructL();
		CMsvHandler( MMsvObserver& aObserver );
		virtual void CompleteConstructL();
		virtual void SetMtmEntryL(TMsvId aEntryId);
		virtual void DeleteEntryL(TMsvEntry& aMsvEntry);

	protected:
		CMsvOperation*  iOperation;
		CMsvSession*    iSession;
		CBaseMtm*       iMtm;

		CClientMtmRegistry* iMtmRegistry;

		MMsvObserver&   iObserver;
		TBool			iIsSessionReady;
		};

#endif // __MSV_HANDLER_H__

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -