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

📄 multiviewsappview.h

📁 演示如何使用Symbian系统的多视图(View)框架。
💻 H
字号:
/*
* ==============================================================================
*  Name        : multiviewsappview.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_APPVIEW_H__
#define __MULTIVIEWS_APPVIEW_H__


// INCLUDES
#include <coecntrl.h>



// CLASS DECLARATION

/**
* CMultiViewsAppView container control class.
* An instance of the Application View object for the
* example application MultiViews
*/
class CMultiViewsAppView : public CCoeControl
    {
public:     // Constructors and destructor

        /**
        * NewL.
        * Two-phased constructor.
        * Create a CMultiViewsAppView object, which will draw itself to aRect-
        * @param aRect the rectangle this view will be drawn to.
        * @result a pointer to the created instance of CMultiViewsAppView
        */
        static CMultiViewsAppView* NewL( const TRect& aRect );

        /**
        * NewLC.
        * Two-phased constructor.
        * Create a CMultiViewsAppView object, which will draw itself to aRect-
        * @param aRect the rectangle this view will be drawn to.
        * @result a pointer to the created instance of CMultiViewsAppView
        */
        static CMultiViewsAppView* NewLC( const TRect& aRect );

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

public:  // from CCoeControl

        /**
        * Draw
        * Draw this CMultiViewsAppView to the screen.
        * @param aRect the rectangle of this view that needs updating
        */
        void Draw( const TRect& aRect ) const;

private: // Constructors and destructor

        /**
        * ConstructL
        * 2nd phase constructor.
        * @param aRect the rectangle this view will be drawn to.
        */
        void ConstructL( const TRect& aRect );

        /**
        * CMultiViewsAppView.
        * C++ default constructor.
        */
        CMultiViewsAppView();
    };

#endif // __MULTIVIEWS_APPVIEW_H__

⌨️ 快捷键说明

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