📄 mguardezboot.h
字号:
#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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -