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

📄 recognizerex.h

📁 symbian的S60平台上文件处理的例子
💻 H
字号:
/*
* ============================================================================
*  Name     : CApaSampleRecognizer from RecognizerEx.h
*  Part of  : RecognizerEx
*  Created  : 27/06/2006 by Forum Nokia
*  Version  : 2.0
*  Copyright: Nokia Corporation
* ============================================================================
*/

#ifndef SAMPLERECOG_H
#define SAMPLERECOG_H

// INCLUDES
#include <apmrec.h>

// CONSTANTS
const TInt KRecognizerExImplementationUid = 0x101FF1ed;

/**
*  CApaSampleRecognizer.
*  Recognizer plug-in for .new.
*/
class CApaRecognizerEx: public CApaDataRecognizerType
    {
    public:
        // constructor and destructor
        CApaRecognizerEx();
        virtual ~CApaRecognizerEx();

        // creates and returns recognizer
        static CApaDataRecognizerType* CreateRecognizerL();

        // returns preferred buffer size
        TUint PreferredBufSize();

        // returns supported mime type
        TDataType SupportedDataTypeL(TInt aIndex) const;

    private:
        // recognises the file by name and/or buffer
        void DoRecognizeL(const TDesC& aName, const TDesC8& aBuffer);
    };

#endif //SAMPLERECOG_H

⌨️ 快捷键说明

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