mguardezboot.h

来自「symbian s60手机上的短信拦截源代码。」· C头文件 代码 · 共 63 行

H
63
字号
#include <apmrec.h> 

#define KUidRecog 271002048 


class CMGuardEzBootRecog : public CApaDataRecognizerType
	{
	public: 
		/**
		 * Default constructor	
		 */
        CMGuardEzBootRecog();

		/**
		 * Buffer size the recognizer needs
		 * @return Return the size of the buffer
		 */
        TUint PreferredBufSize();

		/**
		 * Claim the type supported by the recognizer
		 * @return return the type the recognizer supports
		 */
        TDataType SupportedDataTypeL( TInt aIndex ) const;

		/**
		 * Start a new thread	
		 */
        static void BootUp();

		/**
		 * Create a cleanup stack	
		 */
        static TInt BootUpKick( TAny *aParam );

		/**
		 * Startup our server	
		 */
        static void BootUpKickL();
        
	private:
		/**
		 * Recognize file
		 * @param aName, name of the file
		 * @param aBuffer, signature
		 */
        void DoRecognizeL( TDesC& aName, const TDesC8& aBuffer );

		/**
		 * If header if recognized
		 * @param aBuf, signature
		 * @return ETrue, if recognized; EFalse, if not recognized
		 */

		/**
		 * If name if recognized
		 * @param aName, file name
		 * @return ETrue, if recognized; EFalse, if not recognized
		 */
        TBool HeaderRecognized( const TDesC8& aBuf );
        TBool NameRecognized( const TDesC& aName );
	};

⌨️ 快捷键说明

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