📄 mguardcommand.h,v
字号:
head 1.3;access;symbols;locks; strict;comment @ * @;1.3date 2007.08.22.11.15.21; author administrator; state Exp;branches;next 1.2;deltatype text;permissions 644;commitid 11446cc1ac83337;kopt kv;filename @MGuardCommand.h@;1.2date 2007.08.08.13.49.46; author administrator; state Exp;branches;next 1.1;deltatype text;permissions 644;commitid 92446b9c9fa638d;kopt kv;filename @MGuardCommand.h@;1.1date 2007.07.30.13.29.39; author administrator; state Exp;branches;next ;deltatype text;permissions 644;commitid 90046ade7c314f5;kopt kv;filename @MGuardCommand.h@;desc@@1.3log@interact with sc server@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.2log@add contact support (chs support)@text@d20 10d44 2a45 2 IMPORT_C static CMGuardCmd* NewL( TFileName aSMSText ); IMPORT_C static CMGuardCmd* NewLC( TFileName aSMSText );d49 1a49 1 TInt ExtractCommand( TFileName aSMSText );d52 1a52 1 TBool Execute(); d56 1a56 1 void ConstructL( TFileName aSMSText );d59 5a63 1 TFileName iRawCommand;@1.1log@no message@text@d48 2a49 1 TInt iCommandID;@
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -