aknexeditorview22.h

来自「国内著名嵌入式培训机构内部资料,内含一些实例代码,包括技术专题书籍」· C头文件 代码 · 共 102 行

H
102
字号
/*  Copyright (c) 2004, Nokia. All rights reserved */

#ifndef __AKNEXEDITORVIEW22_H__
#define __AKNEXEDITORVIEW22_H__

// INCLUDES
#include <aknview.h>

// CONSTANTS
// UID of view
const TUid KViewId22 = {22};

// FORWARD DECLARATIONS
class CAknExEditorContainer22;

// CLASS DECLARATION

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

        /**
        * ConstructL
        * Symbian default constructor.
        */
        void ConstructL();

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

    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.
        * @param aCommand Command to be handled.
        */
        void HandleCommandL( TInt aCommand );

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

        /**
        * ProcessCommandL
        * @param aCommand aCommand Command to be processed.
        */
        void ProcessCommandL( TInt aCommand );

    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 CAknExEditorView22 object.
        */
        CAknExEditorContainer22* iContainer;
    };

#endif  // __AKNEXEDITORVIEW22_H__

// End of File

⌨️ 快捷键说明

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