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

📄 btobjectexchangedocument.cpp

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


// INCLUDE FILES
#include "BTObjectExchangeAppUi.h"
#include "BTObjectExchangeDocument.h"

// ============================ MEMBER FUNCTIONS ===============================

// -----------------------------------------------------------------------------
// CBTObjectExchangeDocument::NewL() 
// Two-phased constructor.
// -----------------------------------------------------------------------------
//
CBTObjectExchangeDocument* CBTObjectExchangeDocument
::NewL( CEikApplication& aApp )
    {
    CBTObjectExchangeDocument* self = NewLC( aApp );
    CleanupStack::Pop( self );
    return self;
    }

// -----------------------------------------------------------------------------
// CBTObjectExchangeDocument::NewLC() 
// Two-phased constructor.
// -----------------------------------------------------------------------------
//
CBTObjectExchangeDocument* CBTObjectExchangeDocument
::NewLC( CEikApplication& aApp )
    {
    CBTObjectExchangeDocument* self = 
        new ( ELeave ) CBTObjectExchangeDocument( aApp );
    CleanupStack::PushL( self );
    self->ConstructL();
    return self;
    }

// ----------------------------------------------------------------------------
// CBTObjectExchangeDocument::ConstructL()
// 2nd phase construction
// ----------------------------------------------------------------------------
//
void CBTObjectExchangeDocument::ConstructL()
    {
    // no implementation required
    }    

// ----------------------------------------------------------------------------
// CBTObjectExchangeDocument::CBTObjectExchangeDocument()
// Constructor.
// ----------------------------------------------------------------------------
//
CBTObjectExchangeDocument::CBTObjectExchangeDocument( CEikApplication& aApp )
: CAknDocument( aApp ) 
    {
    // no implementation required
    }   

// ----------------------------------------------------------------------------
// CBTObjectExchangeDocument::~CBTObjectExchangeDocument()
// Destructor.
// ----------------------------------------------------------------------------
//
CBTObjectExchangeDocument::~CBTObjectExchangeDocument()
    {
    // no implementation required
    }

// ----------------------------------------------------------------------------
// CBTObjectExchangeDocument::CreateAppUiL()
// Create the application user interface, and return a pointer to it;
// the framework takes ownership of this object.
// ----------------------------------------------------------------------------
//
CEikAppUi* CBTObjectExchangeDocument::CreateAppUiL()
    {
    CEikAppUi* appUi = new ( ELeave ) CBTObjectExchangeAppUi;
    return appUi;
    }

// End of File

⌨️ 快捷键说明

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