/* Machine-made version of this file copyright (c) 2005 Somusar */ /* Derived from samples that are Copyright (c) 2004, Nokia. All rights reserved */ #ifndef _AKNEXFORMVIEW_H__ #define _AKNEXFORMVIEW_H__ // INCLUDES #include #include #include // CONSTANTS const TUid KViewId = { 1 }; // UID of view const TInt KAknExFormTitleBufLength = 256; const TInt KAknExFormResourceIdInitialize = 0; const TInt KAknExFormLabelBufLength = 256; // FORWARD DECLARATIONS class CAknExFormContainer; // CLASS DECLARATION /** * CAknExFormView view class. * */ class CAknExFormView : public CAknView { public: // Constructors and destructor /** * CAknExFormView * Default constructor. */ CAknExFormView(); /** * ConstructL * Symbian constructor. */ void ConstructL(); /** * ~CAknExFormView * Destructor. */ virtual ~CAknExFormView(); public: // New functions /** * DisplayNextOutlineL * @param aIndex */ void DisplayNextOutlineL(); public: // From CAknView. /** * From CAknView, Id. * Returns the ID of view. * @return The ID of view. */ TUid Id() const; /** * From CAknView, HandleCommandL. * handles the commands. if the command is command which is require to * display outline-screen, the command is reported to container class. * @param aCommand Command to be handled. */ void HandleCommandL( TInt aCommand ); private: // New functions /** * IndicateTitlePaneTextL * Set title text to status-pane * @param aCommand */ void IndicateTitlePaneTextL( TInt aCommand ); private: // From CAknView /** * From CAknView, DoActivateL. * Creates the Container class object. * @param aPrevViewId aPrevViewId is not used. * @param aCustomMessageId aCustomMessageId is not used. * @param aCustomMessage aCustomMessage is not used. */ void DoActivateL( const TVwsViewId& aPrevViewId, TUid aCustomMessageId, const TDesC8& aCustomMessage ); /** * From CAknView, DoDeactivate. * Deletes the Container class object. */ void DoDeactivate(); private: // Data /** * iContainer * Owned by CAknExFormView object. */ CAknExFormContainer* iContainer; /** * iCurrentOutline */ TInt iCurrentOutline; }; /** * CAknExFormAdd container control class. */ class CAknExFormAdd : public CAknForm { public: // Constructor and Detructor /** * CAknExFormAdd * Default constructor. */ CAknExFormAdd(); /** * ~CAknExFormAdd * Destructor. */ virtual ~CAknExFormAdd(); protected: /** * From CAknForm, AddItemL * Add item for testing uses customised dialog. */ void AddItemL(); private: /** * iNewItemId * In order to prevent adding controls which ID is the same. */ TInt iNewItemId; }; #endif // _AKNEXFORMVIEW_H__ // End of File