S60UIExampleHighScoreview.h
上传用户:laixiong
上传日期:2007-03-11
资源大小:2994k
文件大小:3k
源码类别:
Symbian
开发平台:
C/C++
- // Copyright (c) 2006 Nokia Corporation.
- #ifndef __S60UIEXAMPLEHIGHSCOREVIEW_H__
- #define __S60UIEXAMPLEHIGHSCOREVIEW_H__
- #include <aknview.h>
- class CS60UIExampleModel;
- class CS60UIExampleHighScoreContainer;
- /**
- * CS60UIExampleHighScoreView view class.
- *
- */
- class CS60UIExampleHighScoreView : public CAknView
- {
- public:
- /**
- * NewL.
- * Two-phased constructor.
- * Construct a CS60UIExampleHighScoreView using two phase construction,
- * and return a pointer to the created object
- * @return A pointer to the created instance of CS60UIExampleHighScoreView
- */
- static CS60UIExampleHighScoreView* NewL(CS60UIExampleModel& aModel);
- /**
- * ~CNoughtsAndCrossesView
- * Virtual Destructor.
- */
- virtual ~CS60UIExampleHighScoreView();
- 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:
- /**
- * CS60UIExampleHighScoreView.
- * C++ default constructor.
- */
- CS60UIExampleHighScoreView(CS60UIExampleModel& aModel);
- /**
- * ConstructL.
- * 2nd phase constructor.
- */
- void ConstructL();
- private: // Data
- /**
- * iContainer,container for this view
- * owned by CS60UIExampleHighScoreView object.
- */
- CS60UIExampleHighScoreContainer* iContainer;
- /**
- * iModel, has the model data
- * Not owned by this class
- */
- CS60UIExampleModel& iModel;
- };
- #endif // __S60UIEXAMPLEHIGHSCOREVIEW_H__
- // End of File