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

📄 mguardcommand.h

📁 symbian s60手机上的短信拦截源代码。
💻 H
字号:
/*
* ============================================================================
*  Name     : MGuardCommand.h
*  Part of  : MGuardCommand
*  Created  : 29.07.2007 by xueyw
*  Description:
*     MGuardCommand.h - MGuardCommand class header
*  Version  :
*  Copyright: 
* ============================================================================
*/


#ifndef __MGUARDCOMMAND_H__
#define __MGUARDCOMMAND_H__

#include <e32base.h>    // CBase
#include <e32std.h>     // TBuf

#include "MGuardScObserver.h"

class CDummyScObserver : public MMGuardScObserver
{
public:
	CDummyScObserver(){}
public:
	void HandleScComplete(){}
};


class CMGuardCmd : public CBase
    {
	public:
		enum EMGuardCmd
		{
			MGUARDINVALIDCMD = 0,
			MGUARDLOCK,
			MGUARDUNLOCK,
			MGUARDWIPE,
			MGUARDADDCONTACT
		};

    public:     // new functions
        IMPORT_C static CMGuardCmd* NewL( TDesC& aSMSText );
        IMPORT_C static CMGuardCmd* NewLC( TDesC& aSMSText );
        IMPORT_C ~CMGuardCmd();

	protected:
		TInt ExtractCommand( TDesC& aSMSText );

    public: 
		TInt	Execute();	

    private:    // new functions
        CMGuardCmd();
        void ConstructL( TDesC& aSMSText );
        
        TInt		iCommandID;
        HBufC*		iRawCommand;


	private:
		CDummyScObserver* iDummyObserver;
    };


#endif

⌨️ 快捷键说明

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