s60uiexamplelist.h

来自「symbianOS第三版开发与实用教程部分源码和部分试验」· C头文件 代码 · 共 62 行

H
62
字号
// Copyright (c) 2006 Nokia Corporation.

#ifndef __S60UIEXAMPLELIST_H__
#define __S60UIEXAMPLELIST_H__

#include <AknSettingItemList.h>

//class CAknExSettingListItemData;
//class CAknExSettingListView;

/**
* CS60UIExampleList  container control class.
*/
class CS60UIExampleList : public CAknSettingItemList 
    {
    public:  // From CAknSettingItemList

        /**
        * CreateSettingItemL
        * Creates SettingItem
        * @param identifier
        * @return pointer to CAknSettingItem object
        */
        CAknSettingItem* CreateSettingItemL(TInt identifier);
                
        /**
        * SetData
        * Sets List's item data.
        * @param aData data to set
        */
        void SetData(TInt& aVolume, TInt& aSpeed, TBool& iBacktrack);
        

    private:    // From CCoeControl

        /**
        * SizeChanged
        * Called by framework when the size is changed..
        */
        void SizeChanged();

        /**
        * HandleResourceChange
        * Handle Resource change. In this case a change in screen size is 
        * handled by calling SetRect, and hence SizeChanged
        */
        void HandleResourceChange(TInt aType);

    private:    //Data

        /**
        * Pointers to the data to be set
        */        
        TInt*  iSpeed;
        TInt*  iVolume;
        TBool* iBacktrack;
    };

#endif //__S60UIEXAMPLELIST_H__

// End of File

⌨️ 快捷键说明

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