/* Machine-made version of this file copyright (c) 2005 Somusar */ /* Derived from samples that are Copyright (c) 2004, Nokia. All rights reserved */ #ifndef __AKNEXFORMSAVETESTFORM_H__ #define __AKNEXFORMSAVETESTFORM_H__ // INCLUDES #include #include "AknExForm.hrh" // CLASS DECLARATION /** * CAknExFormApplication application class. * Provides factory to create concrete document object. */ class CAknExFormSaveForm : public CAknForm { public: // Constructor and destructor /** * NewL * Two-phased constructor. */ static CAknExFormSaveForm* NewL(); /** * ~CAknExFormSaveForm * Destructor. */ virtual ~CAknExFormSaveForm(); public: /** * From CAknForm, ExecuteLD * @return CAknForm::ExecuteLD return value * @param aResourceId resource ID */ TInt ExecuteLD( TInt aResourceId ); /** * From CAknForm, PrepareLC * @param aResourceId resource ID */ void PrepareLC( TInt aResourceId ); private: // Constructor /** * CAknExFormSaveForm * Default constructor. */ CAknExFormSaveForm(); /** * ConstructL * Second-phase constructor. */ void ConstructL(); private: // Functions from base class /** * From CEikDialog, PostLayoutDynInitL * Set default field value to member data. */ void PostLayoutDynInitL(); /** * From CAknForm , QuerySaveChangesL * Show save query. If user answers "No" to this query. * return field value to the value which is before editing. */ TBool QuerySaveChangesL(); /** * From CAknForm , SaveFormDataL * Save the contents of the form. */ TBool SaveFormDataL(); /** * From CAknForm, DoNotSaveFormDataL * Does not save the contents of the form. */ void DoNotSaveFormDataL(); private: /** * iAllEditorsTextData */ TBuf iAllEditorsTextData; /** * iAllEditorsNumberData */ TInt iAllEditorsNumberData; /** * iAllEditorsDateData */ TTime iAllEditorsDateData; /** * iAllEditorsTimeData */ TTime iAllEditorsTimeData; /** * iAllEditorsDurationData */ TTimeIntervalSeconds iAllEditorsDurationData; /** * iAllEditorsPasswordData */ TBuf iAllEditorsPasswordData; /** * iAllEditorsTextLabel */ TBuf iAllEditorsTextLabel; /** * iAllEditorsNumberLabel */ TBuf iAllEditorsNumberLabel; /** * iAllEditorsDateLabel */ TBuf iAllEditorsDateLabel; /** * iAllEditorsTimeLabel */ TBuf iAllEditorsTimeLabel; /** * iAllEditorsDurationLabel */ TBuf iAllEditorsDurationLabel; /** * iAllEditorsPasswordLabel */ TBuf iAllEditorsPasswordLabel; /** * iCurrentId */ TInt iCurrentId; }; #endif // __AKNEXFORMSAVETESTFORM_H__ // End of File