bookstoreappview.h
来自「在S60上建立一个书籍存储的数据库.包括建立数据表,索引,以及基本SQL操作.」· C头文件 代码 · 共 90 行
H
90 行
/*
* ============================================================================
* 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 + =
减小字号Ctrl + -
显示快捷键?