S60UIExampleForm.h
上传用户:laixiong
上传日期:2007-03-11
资源大小:2994k
文件大小:2k
- // 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