S60UIExampleappui.h
上传用户:laixiong
上传日期:2007-03-11
资源大小:2994k
文件大小:2k
源码类别:

Symbian

开发平台:

C/C++

  1. // Copyright (c) 2006 Nokia Corporation.
  2. #ifndef __S60UIEXAMPLE_APPUI_H__
  3. #define __S60UIEXAMPLE_APPUI_H__
  4. #include <aknViewAppUi.h>
  5. class CS60UIExampleInitialView;
  6. class CS60UIExamplePlayView;
  7. class CS60UIExampleHighScoreView;
  8. class CS60UIExampleModel;
  9. /**
  10. * CS60UIExampleAppUi application UI class.
  11. * An instance of class CS60UIExampleAppUi is the UserInterface part of the 
  12. * AVKON application framework for the S60UIExample application
  13. */
  14. class CS60UIExampleAppUi : public CAknViewAppUi
  15.     {
  16.     public: // Constructors and destructor
  17.         /**
  18.         * ConstructL.
  19.         * 2nd phase constructor.
  20.         */
  21.         void ConstructL();
  22.         virtual ~CS60UIExampleAppUi();
  23.         
  24.         
  25.     public: // New functions from CAknAppUi
  26.         /**
  27. * HandleCommandL
  28.         * Takes care of command handling.
  29.         * @param aCommand Command to be handled.
  30.         */
  31.         void HandleCommandL(TInt aCommand);
  32.     private: // Data
  33.         /**
  34.         * iAppInitialView, The application initial view 
  35.         * Not owned by CS60UIExampleAppUi object.
  36.         */
  37.         CS60UIExampleInitialView* iAppInitialView;
  38.         /**
  39.         * iAppPlayView, The application play view 
  40.         * Not owned by CS60UIExampleAppUi object.
  41.         */
  42.         CS60UIExamplePlayView* iAppPlayView;
  43.         
  44.         /**
  45.         * iAppHighScoreView, The application settings view 
  46.         * Not owned by CS60UIExampleAppUi object.
  47.         */
  48.         CS60UIExampleHighScoreView* iAppHighScoreView;
  49.         
  50.         /** 
  51.         * iModel, has the model data
  52.         */ 
  53.         CS60UIExampleModel* iModel;
  54.     };
  55. #endif // __S60UIEXAMPLE_APPUI_H__
  56. // End of File