btobjectexchangeapplication.cpp

来自「This C++ code example provides a method 」· C++ 代码 · 共 33 行

CPP
33
字号
/* Copyright (c) 2004, Nokia. All rights reserved */


// INCLUDE FILES
#include "BTObjectExchangeDocument.h"
#include "BTObjectExchangeApplication.h"
#include "ObjectExchangeProtocolConstants.h"

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

// -----------------------------------------------------------------------------
// CBTObjectExchangeApplication::CreateDocumentL()
// Create an BTObjectExchange document, and return a pointer to it.
// -----------------------------------------------------------------------------
//
CApaDocument* CBTObjectExchangeApplication::CreateDocumentL()
    {  
    CApaDocument* document = CBTObjectExchangeDocument::NewL( *this );
    return document;
    }

// -----------------------------------------------------------------------------
// CBTDiscoveryApplication::AppDllUid()
// Return the UID for the BTObjectExchange application.
// -----------------------------------------------------------------------------
//
TUid CBTObjectExchangeApplication::AppDllUid() const
    {
    return KUidBTObjectExchangeApp;
    }

// End of File

⌨️ 快捷键说明

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