bookstoredocument.h

来自「在S60上建立一个书籍存储的数据库.包括建立数据表,索引,以及基本SQL操作.」· C头文件 代码 · 共 86 行

H
86
字号
/*
 * ============================================================================
 *  Name     : CBookstoreDocument from BookstoreDocument.h
 *  Part of  : Bookstore
 *  Created  : 8.12.2003 by Forum Nokia
 *  Version  : 1.0
 *  Copyright: Nokia Corporation
 * ============================================================================
 */

#ifndef __BOOKSTOREDOCUMENT_H__
#define __BOOKSTOREDOCUMENT_H__


#include <akndoc.h>

// Forward declarations
class CBookstoreAppUi;
class CEikApplication;


/**
 * Class:      CBookstoreDocument
 *
 * Discussion: An instance of class CBookstoreDocument is the Document
 *             part of the AVKON application framework for the Bookstore
 *             example application.
 */
class CBookstoreDocument : public CAknDocument
    {
public:

    /**
     * Function:   NewL
     *
     * Discussion: Construct a CBookstoreDocument for the AVKON application
     *             aApp using two phase construction, and return a pointer
     *             to the created object.
     *
     * Param:      aApp application creating this document
     *
     * Returns:    A pointer to the created instance of CBookstoreDocument
     */
    static CBookstoreDocument* NewL(CEikApplication& aApp);

    /**
     * Function:   ~CBookstoreDocument
     *
     * Discussion: Destroy the object
     */
    ~CBookstoreDocument();

private:

    /**
     * Function:   ConstructL
     *
     * Discussion: Perform the second phase construction of a
     *             CBookstoreDocument object.
     */
    void ConstructL();

    /**
     * Function:   CBookstoreDocument
     *
     * Discussion: Perform the first phase of two phase construction
     *
     * Param:      aApp application creating this document
     */
    CBookstoreDocument(CEikApplication& aApp);

private: // From CAknDocument

    /**
     * Function:   CreateAppUiL
     *
     * Discussion: Create the AppUi object and return a pointer to it.
     *
     * Returns:    A pointer to the created instance of the AppUi
     */
    CEikAppUi* CreateAppUiL();
    };


#endif // __BOOKSTOREDOCUMENT_H__

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?