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

📄 s60uiexampleform.h

📁 《Symbian S60第3版手机程序开发与实用教程》光盘源代码
💻 H
字号:
// Copyright (c) 2006 Nokia Corporation.

#ifndef CS60UIEXAMPLEFORM_H
#define CS60UIEXAMPLEFORM_H

#include "aknform.h"

class CS60UIExampleForm : public CAknForm
	{
	public:
	
	    /**
	    * RunDlgLD()
	    * Creates, initialises, displays and then deletes the form
	    */
	    static TInt CS60UIExampleForm::RunDlgLD(TDes& aName, 
	                                            TTime& aBirthDate,  
	                                            TDes& aMobile);
	
	    /**
	    * ~CS60UIExampleForm()
	    * Destructor
	    */
		virtual ~CS60UIExampleForm();
		
	
	private:
	    /**
	    * NewL()
	    * Static two stage constructor
	    */
	    static CS60UIExampleForm* NewL(TDes& aName, 
	                                   TTime& aBirthDate, 
	                                   TDes& aMobile);
	    /**
	    * CS60UIExampleForm()
	    * First stage constructor
	    */
		CS60UIExampleForm(TDes& aName, 
		                  TTime& aBirthDate,  
		                  TDes& aMobile);
	    /**
	    * DynInitMenuPaneL()
	    * Used to remove unwanted default options from edit mode menu
	    * from MEikMenuObserver
	    */
		void DynInitMenuPaneL(TInt aResourceId, CEikMenuPane* aMenuPane) ;
		
	    /**
	    * SaveFormDataL()
	    * extracts information from editors
	    */
		TBool SaveFormDataL();
		
	    /**
	    * DoNotSaveFormDataL()
	    * loads editors with previous text
	    */
		void DoNotSaveFormDataL();
		
		
	private:
	    /**
	    * References to data held elsewhere
	    */
	    TDes&    iName;
	    TTime&   iBirthDate;
	    TDes&    iMobile;
	};

#endif	// CS60UIEXAMPLEFORM_H

// End of file

⌨️ 快捷键说明

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