⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 aknexeditorappui.h

📁 国内著名嵌入式培训机构内部资料,内含一些实例代码,包括技术专题书籍
💻 H
字号:
/*
* ==============================================================================
*  Name        : aknexeditorappui.h
*  Part of     : Editor example
*  Interface   :
*  Description :
*  Version     :
*
*  Copyright (c) 2004 - 2006 Nokia Corporation.
*  This material, including documentation and any related
*  computer programs, is protected by copyright controlled by
*  Nokia Corporation.
* ==============================================================================
*/

#ifndef __AKNEXEDITORAPPUI_H__
#define __AKNEXEDITORAPPUI_H__

// INCLUDES
#include <eikapp.h>
#include <e32std.h>
#include <coeccntx.h>
#include <aknviewappui.h>

// FORWARD DECLARATIONS
class CAknNavigationControlContainer;
class CAknTabGroup;
class CAknNavigationDecorator;
class CAknTitlePane;

// CLASS DECLARATION

/**
* Application UI class.
* Provides support for the following features:
* - EIKON control architecture
* - view architecture
* - status pane
* 
*/
class CAknExEditorAppUi : public CAknViewAppUi
    {
    public: // // Constructors and destructor

        /**
        * CAknExEditorAppUi
        * C++ default constructor.
        */
        CAknExEditorAppUi();

        /**
        * ConstructL
        * Default constructor.
        */      
        void ConstructL();

        /**
        * ~CAknExEditorAppUi
        * Destructor.
        */      
        virtual ~CAknExEditorAppUi();
        
    private: // New functions

    private:
        /**
        * DynInitMenuPaneL
        * From MEikMenuObserver, DynInitMenuPaneL.
        * @param aResourceID specifies dialog-resource ID.
        * @param aMenuPane specifies menu pane
        */
        void DynInitMenuPaneL( TInt aResourceId,CEikMenuPane* aMenuPane );

    private:
        /**
        * HandleCommandL
        * From CEikAppUi, takes care of command handling.
        * @param aCommand command to be handled
        */
        void HandleCommandL( TInt aCommand );

        /**
        * From CEikAppUi, HandleResourceChangeL.
        * Handles resource changes.
        * @param aType Resource change type to be handled
        */
        void HandleResourceChangeL( TInt aType );

        /**
        * HandleKeyEventL
        * From CEikAppUi, handles key events.
        * @param aKeyEvent Event to handled.
        * @param aType Type of the key event. 
        * @return Reponse code ( EKeyWasConsumed, EKeyWasNotConsumed ). 
        */
        virtual TKeyResponse HandleKeyEventL( const TKeyEvent& /*aKeyEvent*/,
                                              TEventCode /*aType*/ );

    private: //Data

        /**
        * iNaviPane
        * Does not own.
        */
        CAknNavigationControlContainer* iNaviPane;

        /**
        * iNaviPane
        * Does not own.
        */
        CAknTitlePane*                  iTitlePane;
    };

#endif // __AKNEXEDITORAPPUI_H__

// End of File

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -