📄 multiviewsappview.h
字号:
/* Copyright (c) 2004, Nokia. All rights reserved */
#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 + -