- // Copyright (c) 2006 Nokia Corporation.
- #ifndef __S60UIEXAMPLESETTINGSVIEW_H__
- #define __S60UIEXAMPLESETTINGSVIEW_H__
- #include <aknview.h>
- class CS60UIExampleList;
- /**
- * CS60UIExampleSettingsView view class.
- *
- */
- class CS60UIExampleSettingsView : public CAknView
- {
- public:
- /**
- * NewL.
- * Two-phased constructor.
- * Construct a CS60UIExampleSettingsView using two phase construction,
- * and return a pointer to the created object
- * @return A pointer to the created instance of CS60UIExampleSettingsView
- */
- static CS60UIExampleSettingsView* NewL();
- /**
- * ~CNoughtsAndCrossesView
- * Virtual Destructor.
- */
- virtual ~CS60UIExampleSettingsView();
- public: // Functions from base classes
- /**
- * From CAknView, Id.
- * Returns the ID of view.
- * @return The ID of view.
- */
- virtual TUid Id() const;
- /**
- * From CAknView, HandleCommandL.
- * Handles the commands.
- * @param aCommand Command to be handled.
- */
- virtual void HandleCommandL (TInt aCommand);
- private: // Functions from base classes
- /**
- * From CAknView, DoActivateL.
- * Creates the Container class object.
- * @param aPrevViewId Specified TVwsViewId.
- * @param aCustomMessageId Specified TUid.
- * @param aCustomMessage Specified custom message.
- */
- virtual void DoActivateL (const TVwsViewId& aPrevViewId,
- TUid aCustomMessageId,
- const TDesC8& aCustomMessage);
- /**
- * From CAknView, DoDeactivate.
- * Deletes the Container class object.
- */
- virtual void DoDeactivate();
- private:
- /**
- * CS60UIExampleSettingsView.
- * C++ default constructor.
- */
- CS60UIExampleSettingsView();
- /**
- * ConstructL.
- * 2nd phase constructor.
- */
- void ConstructL();
- private: // Data
- /**
- * Pointer to the settings list to be displayed by this view
- */
- CS60UIExampleList* iList;
- /**
- * Data to be modified by settings list
- */
- TInt iVolume;
- TInt iSpeed;
- TBool iBacktrack;
- };
- #endif // __S60UIEXAMPLESETTINGSVIEW_H__
- // End of File