⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 btobjectexchangedocument.h

📁 This C++ code example provides a method for transferring objects or chunks of data from one device
💻 H
字号:
/* Copyright (c) 2004, Nokia. All rights reserved */


#ifndef __BTOBJECTEXCHANGE_DOCUMENT_H__
#define __BTOBJECTEXCHANGE_DOCUMENT_H__

// INCLUDES
#include <akndoc.h>

// FORWARD DECLARATIONS
class CBTObjectExchangeAppUi;
class CEikApplication;


/**
* CBTObjectExchangeDocument
* An instance of class CBTObjectExchangeDocument is the Document part of 
* the AVKON application framework for the BTObjectExchange example application.
*/
class CBTObjectExchangeDocument : public CAknDocument
    {
    public: // Constructors and destructor

        /**
        * NewL()
        * Construct a CBTObjectExchangeDocument 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 
        * CBTObjectExchangeDocument
        */
        static CBTObjectExchangeDocument* NewL( CEikApplication& aApp );

        /**
        * NewLC()
        * Construct a CBTObjectExchangeDocument 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 
        * CBTObjectExchangeDocument
        */
        static CBTObjectExchangeDocument* NewLC( CEikApplication& aApp );

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

    public: // from CEikDocument

        /**
        * CreateAppUiL()
        * Create a CBTObjectExchangeAppUi 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 
        * CBTObjectExchangeDocument object
        */
        void ConstructL();

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

#endif // __BTOBJECTEXCHANGE_DOCUMENT_H__

// End of File

⌨️ 快捷键说明

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