multiviewsappview.h
来自「演示如何使用Symbian系统的多视图(View)框架。」· C头文件 代码 · 共 87 行
H
87 行
/*
* ==============================================================================
* 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 + =
减小字号Ctrl + -
显示快捷键?