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

📄 aknexnoteview.h

📁 symbian ui的 例子 初学者可以 好好看看,这个是培训的资料,应该比较宝贵
💻 H
字号:
/*
* ==============================================================================
*  Name        : aknexnoteview.h
*  Part of     : Note 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 __AKNEXNOTEVIEW_H__
#define __AKNEXNOTEVIEW_H__

// INCLUDES
#include <aknview.h>



// FORWARD DECLARATIONS
class CAknExNoteContainer;

// CLASS DECLARATION


/**
* CAknExNoteView view class.
*/
class CAknExNoteView : public CAknView
    {
    public: // Constructors and destructor

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

        /**
        * ~CAknExNoteView
        * Virtual Destructor.
        */
        virtual ~CAknExNoteView();

        /**
        * ConstructL
        * 2nd phase constructor.
        */
        void ConstructL();

    public: // New functions

        /**
        * DisplayNextOutlineL
        * Display next outline.
        */
        void DisplayNextOutlineL();

    public: // From CAknView.

        /**
        * Id
        * Returns the ID of view.
        * @return The ID of view.
        */
        TUid Id() const;


        /**
        * HandleCommandL.
        * handles the commands. if the command is command which is require to
        * display outline-screen, the command is reported to container class.
        * @param aCommand Command to be handled.
        */
        void HandleCommandL( TInt aCommand );

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


    private: // New functions

        /**
        * IndicateTitlePaneTextL
        * Set title text to status-pane
        * @param aCommand Command to be handled.
        */
        void IndicateTitlePaneTextL( TInt aCommand );


    private: // From CAknView

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

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


    private: // Data

        /**
        * iContainer
        * Owned by CAknExNoteView object.
        */
        CAknExNoteContainer*    iContainer;

        /** Integer for Current outline **/
        TInt                    iCurrentOutline;

    };

#endif  //__AKNEXNOTEVIEW_H__

// End of File

⌨️ 快捷键说明

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