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

📄 sttspanescontextview.h

📁 《基于Symbian OS的手机开发与应用实践》这本书的配套源码。
💻 H
字号:
/*
* ============================================================================
*  Name     : CSttsPanesContextView from SttsPanesContextView.h
*  Part of  : SttsPanes
*  Created  : 02.04.2005 by ToBeReplacedByAuthor
*  Description:
*     Declares view for application.
*  Version  :
*  Copyright: ToBeReplacedByCopyright
* ============================================================================
*/

#ifndef PANESCONTEXTVIEW_H
#define PANESCONTEXTVIEW_H

// INCLUDES
#include <aknview.h>


// CONSTANTS

// FORWARD DECLARATIONS
class CSttsPanesContextContainer;

// CLASS DECLARATION

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

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

        /**
        * Destructor.
        */
        ~CSttsPanesContextView();

    public: // Functions from base classes
                        
        /**
        * From CAknView returns Uid of View
        * @return TUid uid of the view
        */
        TUid Id() const;

        /**
        * From MEikMenuObserver delegate commands from the menu
        * @param aCommand a command emitted by the menu 
        * @return void
        */
        void HandleCommandL(TInt aCommand);

        /**
        * From CAknView reaction if size change
        * @return void
        */
        void HandleClientRectChange();

    private:

        /**
        * From CAknView activate the view
        * @param aPrevViewId 
        * @param aCustomMessageId 
        * @param aCustomMessage 
        * @return void
        */
        void DoActivateL(const TVwsViewId& aPrevViewId,TUid aCustomMessageId,
            const TDesC8& aCustomMessage);

        /**
        * From CAknView deactivate the view (free resources)
        * @return void
        */
        void DoDeactivate();

        /**
        * From CAknView, HandleStatusPaneSizeChange.
        * The MEikStatusPaneObserver interface allows a status pane observer
        * to pick up changes in the size or position of the status pane. 
        * Such events will be as a result of layout changes which cause an actual 
        * change in the status pane rectangle.
        */
        void HandleStatusPaneSizeChange();

        /** 
        * DynInitMenuPaneL
        * From MEikMenuObserver
        * @param aResourceId Menu pane resource ID
        * @param aMenuPane Menu pane pointer
        */
        void DynInitMenuPaneL( TInt aResourceId,
                               CEikMenuPane* aMenuPane );

    private: // Data
        CSttsPanesContextContainer* iContainer;
        TInt iIndex;
    };

#endif

// End of File

⌨️ 快捷键说明

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