demoform.h

来自「《基于Symbian OS的手机开发与应用实践》这本书的配套源码。」· C头文件 代码 · 共 36 行

H
36
字号

#ifndef __DEMOFORM_H__
#define __DEMOFORM_H__

// INCLUDES
#include <aknform.h>
#include "GuiCtrls.hrh"

// CLASS DECLARATION
class CDemoForm : public CAknForm
    {
    public:  // Constructor and destructor  
        static TInt RunLD();

    protected:
        void PostLayoutDynInitL();

        TBool OkToExitL( TInt aButtonId );

    private:  // Functions from base class

        TBool QuerySaveChangesL();
        TBool SaveFormDataL(); 
        void DoNotSaveFormDataL();

    private:
        TBuf<64> iName;
        TInt iAge;   
        TInt iMobile;
        TInt iFax;
    };

#endif  // __AKNEXFORMSAVETESTFORM_H__

// End of File

⌨️ 快捷键说明

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