settingslist.h

来自「基于symbian 平台 ocr 示例程序」· C头文件 代码 · 共 68 行

H
68 行
字号
/*
* ==============================================================================
*  Name        : SettingsList.h
*  Part of     : OcrExample
*  Interface   :
*  Description :
*  Version     :
*
*  Copyright (c) 2006 Nokia Corporation.
*  This material, including documentation and any related
*  computer programs, is protected by copyright controlled by
*  Nokia Corporation.
* ==============================================================================
*/

#ifndef OCRSETTINGLIST_H
#define OCRSETTINGLIST_H

#include <AknSettingItemList.h>

class TOcrExampleSettingsData;

/**
 * namespace contains various utility classes
 */
namespace NOCRUtils
{

/**
 * CSettingsList
 */
class CSettingsList : public CAknSettingItemList
    {
    public:
        /** constructor */
        CSettingsList( TOcrExampleSettingsData& aData );

    public: // From CAknSettingItemList
        /**
        * CreateSettingItemL
        * Creates SettingItem
        * @param identifier
        * @return pointer to CAknSettingItem object
        */
        CAknSettingItem* CreateSettingItemL( TInt identifier );

        /**
        * EditItemL
        * Edits data.
        * @param aIndex index of setting item
        * @param aCalledFromMenu is called from menu
        */
        void EditItemL( TInt aIndex, TBool aCalledFromMenu );

    private:
        /** from CAknSettingItemList */
	    void SizeChanged();

    private:

        /** settings data */
        TOcrExampleSettingsData &iSettings;
    };

} // namespace

#endif

⌨️ 快捷键说明

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