/* Machine-made version of this file copyright (c) 2005 Somusar */ /* Derived from samples that are Copyright (c) 2004, Nokia. All rights reserved */ #ifndef __THREEFORMSSAVETESTFORM_H__ #define __THREEFORMSSAVETESTFORM_H__ // INCLUDES #include #include "ThreeForms.hrh" // CLASS DECLARATION /** * CThreeFormsApplication application class. * Provides factory to create concrete document object. */ class CThreeFormsSaveForm : public CAknForm { public: // Constructor and destructor /** * NewL * Two-phased constructor. */ static CThreeFormsSaveForm* NewL(); /** * ~CThreeFormsSaveForm * Destructor. */ virtual ~CThreeFormsSaveForm(); 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 /** * CThreeFormsSaveForm * Default constructor. */ CThreeFormsSaveForm(); /** * 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: /** * iSampleEditorValueData */ TInt iSampleEditorValueData; /** * iSampleEditorDateData */ TTime iSampleEditorDateData; /** * iSampleEditorTimeData */ TTime iSampleEditorTimeData; /** * iSampleEditorDurationData */ TTimeIntervalSeconds iSampleEditorDurationData; /** * iSampleEditorPasswordData */ TBuf iSampleEditorPasswordData; /** * iBizCompanyData */ TBuf iBizCompanyData; /** * iBizLastNameData */ TBuf iBizLastNameData; /** * iBizFirstNameData */ TBuf iBizFirstNameData; /** * iBizAddressData */ TBuf iBizAddressData; /** * iBizCityData */ TBuf iBizCityData; /** * iBizCountryData */ TBuf iBizCountryData; /** * iFriendFirstNameData */ TBuf iFriendFirstNameData; /** * iFriendLastNameData */ TBuf iFriendLastNameData; /** * iFriendAddressData */ TBuf iFriendAddressData; /** * iFriendCityData */ TBuf iFriendCityData; /** * iSampleEditorValueLabel */ TBuf iSampleEditorValueLabel; /** * iSampleEditorDateLabel */ TBuf iSampleEditorDateLabel; /** * iSampleEditorTimeLabel */ TBuf iSampleEditorTimeLabel; /** * iSampleEditorDurationLabel */ TBuf iSampleEditorDurationLabel; /** * iSampleEditorPasswordLabel */ TBuf iSampleEditorPasswordLabel; /** * iBizCompanyLabel */ TBuf iBizCompanyLabel; /** * iBizLastNameLabel */ TBuf iBizLastNameLabel; /** * iBizFirstNameLabel */ TBuf iBizFirstNameLabel; /** * iBizAddressLabel */ TBuf iBizAddressLabel; /** * iBizCityLabel */ TBuf iBizCityLabel; /** * iBizCountryLabel */ TBuf iBizCountryLabel; /** * iFriendFirstNameLabel */ TBuf iFriendFirstNameLabel; /** * iFriendLastNameLabel */ TBuf iFriendLastNameLabel; /** * iFriendAddressLabel */ TBuf iFriendAddressLabel; /** * iFriendCityLabel */ TBuf iFriendCityLabel; /** * iCurrentId */ TInt iCurrentId; }; #endif // __THREEFORMSSAVETESTFORM_H__ // End of File