?? 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 + -