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

📄 aknexeditorview.h

📁 国内著名嵌入式培训机构内部资料,内含一些实例代码,包括技术专题书籍
💻 H
字号:
/*
* ==============================================================================
*  Name        : aknexeditorview.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 __AKNEXEDITORVIEW_H__
#define __AKNEXEDITORVIEW_H__

// INCLUDES
#include <aknview.h>

// CONSTANTS
// UID of view
const TUid KViewId = {1};

// FORWARD DECLARATIONS
class CAknExEditorContainer;

// CLASS DECLARATION

/**
*  CAknExEditorView view class.
* 
*/
class CAknExEditorView : public CAknView
    {
    public: // Constructors and destructor
        /**
        * CAknExEditorView
        * C++ default constructor
        */
        CAknExEditorView();

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

        /**
        * ~CAknExEditorView
        * Destructor.
        */
        virtual ~CAknExEditorView();

    public: // Functions from base classes
        
        /**
        * Id
        * From CAknView, Returns the ID of view.
        * @return Returns the ID of view.
        */
        TUid Id() const;

        /**
        * HandleCommandL
        * From CAknView, Handles the commands.
        * @pram aCommand Command to be handled.
        */
        void HandleCommandL( TInt aCommand );

        /**
        * HandleClientRectChange
        * From CAknView, Handles the clientrect.
        */
        void HandleViewRectChange();

    private:

        /**
        * DoActivateL
        * From CAknView, Creates the Container class object.
        * @param aPrevViewId This is not used now.
        * @param aCustomMessage This is not used now.
        * @param aCustomMessage This is not used now.
        */
        void DoActivateL( const TVwsViewId& /*aPrevViewId*/,
                          TUid /*aCustomMessageId*/,
                          const TDesC8& /*aCustomMessage*/ );

        /**
        * DoDeactivate
        * From AknView, Deletes the Container class object.
        */
        void DoDeactivate();

    private: // Data

        /**
        * iContainer, container class.
        * Owned by CAknExEditorView object.
        */
        CAknExEditorContainer* iContainer;
    };

#endif  // __AKNEXEDITORVIEW_H__

// End of File

⌨️ 快捷键说明

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