📄 bookstoreappview.h
字号:
/*
* ============================================================================
* Name : CBookstoreAppView from BookstoreAppView.h
* Part of : Bookstore
* Created : 8.12.2003 by Forum Nokia
* Version : 1.0
* Copyright: Nokia Corporation
* ============================================================================
*/
#ifndef __BOOKSTOREAPPVIEW_H__
#define __BOOKSTOREAPPVIEW_H__
#include <coecntrl.h>
/**
* Class: CBookstoreAppView
*
* Description: An instance of this class is the Application View object for
* the Bookstore example application.
*
* The view simply shows empty screen. The Avkon GUI is just a
* simple tester of the database engine CBookstoreDb in
* DBEngine.h. There is no functionality for the view, since
* all GUI actions relate to menu commands (see AppUi).
*/
class CBookstoreAppView : public CCoeControl
{
public:
/**
* Function: NewL
*
* Description: Create a CBookstoreAppView object, which will draw
* itself to aRect.
*
* Param: aRect the rectangle this view will be drawn to
*
* Returns: A pointer to the created instance of CBookstoreAppView
*/
static CBookstoreAppView* NewL(const TRect& aRect);
/**
* Function: ~CBookstoreAppView
*
* Description: Destroy the view object
*/
~CBookstoreAppView();
public: // from CCoeControl
/**
* Function: Draw
*
* Description: Paints this view (an empty rect). This is called by the
* framework, when view needs to redraw itself.
*
* Param: aRect Frame rectangle for container.
*/
void Draw(const TRect& aRect) const;
private:
/**
* Function: ConstructL
*
* Description: Perform the second phase construction of a
* CBookstoreAppView object.
*
* Param: aRect the rectangle this view will be drawn to
*/
void ConstructL(const TRect& aRect);
/**
* Function: CBookstoreAppView
*
* Description: Perform the first phase of two phase construction.
*/
CBookstoreAppView();
private: // private attributes
};
#endif // __BOOKSTOREAPPVIEW_H__
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -