📄 mguardcommand.h,v
字号:
head 1.1;branch 1.1.1;access;symbols v1_0:1.1.1.1 xueyw:1.1.1 v111:1.1.1.1 MGuard:1.1.1;locks; strict;comment @ * @;1.1date 2007.08.22.11.31.30; author administrator; state Exp;branches 1.1.1.1;next ;deltatype text;permissions 644;1.1.1.1date 2007.08.22.11.31.30; author administrator; state Exp;branches;next ;deltatype text;permissions 644;desc@@1.1log@Initial revision@text@/** ============================================================================* 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@1.1.1.1log@no message@text@@
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -