aknexsettinglistitemdata.h

来自「symbian ui的 例子 初学者可以 好好看看,这个是培训的资料,应该比较宝」· C头文件 代码 · 共 90 行

H
90
字号
/* Copyright (c) 2005, Nokia. All rights reserved */


#ifndef __AKNEXSETTINGLISTITEMDATA_H__
#define __AKNEXSETTINGLISTITEMDATA_H__



// INCLUDES
#include <e32base.h>


// CONSTANTS
const TInt KSettingAppMaxSettingTextSize = 50;
const TInt KSettingAppMaxPasswordTextSize  = 20;
const TInt KMinFldVal = 20;


// FORWARD DECLARATIONS
class CSharedDataI;



// CLASS DECLARATION

/**
* CAknExSettingListItemData 
*/
class CAknExSettingListItemData : public CBase
    {

    public: // Constructors and destructor

        /**
        * NewL.
        * Two-phased constructor.
        * Using two phase construction,and return a pointer to the created object
        * @return a pointer to the created instance of CAknExSettingListItemData
        */
        static CAknExSettingListItemData* NewL();

        /**
        * ~CAknExSettingListItemData.
        * Virtual Destructor.
        */
        virtual ~CAknExSettingListItemData();


    private:    // Constructors and destructor

        /**
        * CAknExSettingListItemData.
        * C++ default constructor.
        */
        CAknExSettingListItemData();

        /**
        * ConstructL.
        * 2nd phase constructor.
        */
        void ConstructL();

    public: // Data

        // Integer type members 
        TInt iVolume;
        TInt iSliderValue;
        TInt iLanguageCode;
        TInt iFepLanguageCode;

        TTime iDate;
        TTime iTime;

        TInetAddr iIpAddress;

        // Boolean type members 
        TBool iFepEnabled;
        TBool iBinary;

        // Descriptor type members 
        TBuf<KSettingAppMaxSettingTextSize> iTextBuf;
        TBuf<KSettingAppMaxPasswordTextSize> iPw;
        TBuf<KSettingAppMaxPasswordTextSize> iPin;
    };


#endif  //__AKNEXSETTINGLISTITEMDATA_H__

// End of File

⌨️ 快捷键说明

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