btpointtopointdocument.h

来自「Symbian下的p2p工程」· C头文件 代码 · 共 81 行

H
81
字号
/* Copyright (c) 2004, Nokia. All rights reserved */


#ifndef __BTPOINTTOPOINT_DOCUMENT_H__
#define __BTPOINTTOPOINT_DOCUMENT_H__

// INCLUDES
#include <akndoc.h>

// FORWARD DECLARATIONS
class CBTPointToPointAppUi;
class CEikApplication;

// CLASS DECLARATIONS
/**
* CBTPointToPointDocument
* An instance of class CBTPointToPointDocument is the Document part of the AVKON
* application framework for the BTPointToPoint example application
*/
class CBTPointToPointDocument : public CAknDocument
    {
    public: // Constructors and destructor

        /**
        * NewL()
        * Construct a CBTPointToPointDocument for the AVKON 
        * application aApp using two phase construction, and 
        * return a pointer to the created object
        * @param aApp application creating this document
        * @return a pointer to the created instance of 
        * CBTPointToPointDocument
        */
        static CBTPointToPointDocument* NewL( CEikApplication& aApp );

        /**
        * NewLC()
        * Construct a CBTPointToPointDocument for the AVKON 
        * application aApp using two phase construction, and 
        * return a pointer to the created object
        * @param aApp application creating this document
        * @return a pointer to the created instance of 
        * CBTPointToPointDocument
        */
        static CBTPointToPointDocument* NewLC( CEikApplication& aApp );

        /** 
        * ~CBTPointToPointDocument()
        * Destroy the object and release all memory objects
        */
        virtual ~CBTPointToPointDocument();

    public: // from CEikDocument

        /**
        * CreateAppUiL 
        * Create a CBTPointToPointAppUi object and return a pointer to it
        * @return a pointer to the created instance of the AppUi created
        */
        CEikAppUi* CreateAppUiL();

    private:    // Constructors

        /**
        * ConstructL()
        * Perform the second phase construction of a 
        * CBTPointToPointDocument object
        */
        void ConstructL();

        /**
        * CBTPointToPointDocument()
        * Perform the first phase of two phase construction 
        * @param aApp application creating this document
        */
        CBTPointToPointDocument( CEikApplication& aApp );
    };

#endif // __BTPOINTTOPOINTDOCUMENT_H__

// End of File

⌨️ 快捷键说明

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