EPongAppUi.h 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. /*
  2. * Copyright (c) 2011 Nokia Corporation.
  3. */
  4. /*
  5. ============================================================================
  6. Name : EPongAppUi.h
  7. Author :
  8. Description : Declares UI class for application.
  9. ============================================================================
  10. */
  11. #ifndef __EPongAPPUI_h__
  12. #define __EPongAPPUI_h__
  13. // INCLUDES
  14. #include <aknappui.h>
  15. // FORWARD DECLARATIONS
  16. class EpocGameEngine;
  17. // CLASS DECLARATION
  18. /**
  19. * CEPongAppUi application UI class.
  20. * Interacts with the user through the UI and request message processing
  21. * from the handler class
  22. */
  23. class CEPongAppUi : public CAknAppUi
  24. {
  25. public:
  26. // Constructors and destructor
  27. /**
  28. * ConstructL.
  29. * 2nd phase constructor.
  30. */
  31. void ConstructL();
  32. /**
  33. * CEPongAppUi.
  34. * C++ default constructor. This needs to be public due to
  35. * the way the framework constructs the AppUi
  36. */
  37. CEPongAppUi();
  38. /**
  39. * ~CEPongAppUi.
  40. * Virtual Destructor.
  41. */
  42. virtual ~CEPongAppUi();
  43. private:
  44. // Functions from base classes
  45. /**
  46. * From CEikAppUi, HandleCommandL.
  47. * Takes care of command handling.
  48. * @param aCommand Command to be handled.
  49. */
  50. virtual void HandleCommandL(TInt aCommand);
  51. /**
  52. * HandleStatusPaneSizeChange.
  53. * Called by the framework when the application status pane
  54. * size is changed.
  55. */
  56. virtual void HandleStatusPaneSizeChange();
  57. virtual void HandleWsEventL(const TWsEvent &aEvent, CCoeControl *aDestination);
  58. private:
  59. // Data
  60. /**
  61. * The application view
  62. * Owned by CEPongAppUi
  63. */
  64. EpocGameEngine* iAppView;
  65. };
  66. #endif // __EPongAPPUI_h__
  67. // End of File