    #ifndef __MYAPP_APPUI_H__
    #define __MYAPP_APPUI_H__

    #include <aknappui.h>

    // Forward reference
    class CMyAppAppView;

    /*!
      @class CMyAppAppUi

      @discussion An instance of class CMyAppAppUi is the UserInterface part of
      the AVKON application framework for the MyApp application
      */
    class CMyAppAppUi : public CAknAppUi
    {
    public:
    /*!
      @function ConstructL

      @discussion Perform the second phase construction of a CMyAppAppUi object
      this needs to be public due to the way the framework constructs the AppUi
      */
        void ConstructL();

    /*!
      @function CMyAppAppUi

      @discussion Perform the first phase of two phase construction.
      This needs to be public due to the way the framework constructs the AppUi
      */
        CMyAppAppUi();

    /*!
      @function ~CMyAppAppUi

      @discussion Destroy the object and release all memory objects
      */
        ~CMyAppAppUi();

    public: // from CAknAppUi
    /*!
      @function HandleCommandL

      @discussion Handle user menu selections
      @param aCommand the enumerated code for the option selected
      */
        void HandleCommandL(TInt aCommand);

    private:
    /*! @var iAppView The application view */
        CMyAppAppView* iAppView;
    };

    #endif // __MYAPP_APPUI_H__