multiviewsappui.h

来自「演示如何使用Symbian系统的多视图(View)框架。」· C头文件 代码 · 共 82 行

H
82
字号
/*
* ==============================================================================
*  Name        : multiviewsappui.h
*  Part of     : MultiViews
*  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 __MULTIVIEWS_APPUI_H__
#define __MULTIVIEWS_APPUI_H__


// INCLUDES
#include <aknViewAppUi.h>


// FORWARD DECLARATIONS
class CMultiViewsView1;
class CMultiViewsView2;


// CLASS DECLARATION

/**
* CMultiViewsAppUi application UI class.
* An instance of class CMultiViewsAppUi is the UserInterface part of the AVKON
* application framework for the MultiViews example application
*/
class CMultiViewsAppUi : public CAknViewAppUi
    {

    public: // Constructors and destructor

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

    public: // New functions from CEikAppUi

        /**
        * HandleCommandL
        * Takes care of command handling.
        * @param aCommand Command to be handled.
        */
        void HandleCommandL( TInt aCommand );
        
        /**
        * HandleResourceChangeL()
        * Called by framework when layout is changed.
        * @param aType The type of resources that have changed.
        */
        virtual void HandleResourceChangeL( TInt aType );
        
    private: // Data

        /**
        * iAppView1, The application view 1
        * Not owned by CMultiViewsAppUi object.
        */
        CMultiViewsView1* iAppView1;

        /**
        * iAppView2, The application view 2
        * Not owned by CMultiViewsAppUi object.
        */
        CMultiViewsView2* iAppView2;
    };


#endif // __MULTIVIEWS_APPUI_H__

// End of File

⌨️ 快捷键说明

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