www.pudn.com > S60_Platform_Bluetooth_OBEX_Example.rar > btobjectexchangeapplication.cpp


/* 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