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