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


/* Copyright (c) 2004, Nokia. All rights reserved */ 
 
 
// INCLUDE FILES 
#include "BTObjectExchangeApplication.h" 
 
#ifdef __SERIES60_3X__ 
#include  
#endif 
 
 
#ifdef __SERIES60_3X__  //////////// 3rd Ed 
// --------------------------------------------------------------------------- 
// NewApplication() (3rd Edition) 
// 
// Constructs CIAPConnectApp 
// Returns: created application object 
// --------------------------------------------------------------------------- 
// 
LOCAL_C CApaApplication* NewApplication() 
    { 
    return new CBTObjectExchangeApplication; 
    } 
 
// ----------------------------------------------------------------------------- 
//  Entry point function for Symbian Apps (3rd Edition) 
// ----------------------------------------------------------------------------- 
GLDEF_C TInt E32Main() 
    { 
    return EikStart::RunApplication( NewApplication ); 
    } 
 
#else /////////// 1st and 2nd Ed 
 
// --------------------------------------------------------------------------- 
// NewApplication() (2nd Edition) 
// 
// Constructs CIAPConnectApp 
// Returns: created application object 
// --------------------------------------------------------------------------- 
// 
EXPORT_C CApaApplication* NewApplication() 
    { 
    return ( new CBTObjectExchangeApplication ); 
    } 
// ----------------------------------------------------------------------------- 
//  Entry point function for Symbian Apps (2nd Edition ) 
// ----------------------------------------------------------------------------- 
GLDEF_C TInt E32Dll( TDllReason ) 
    { 
    return KErrNone; 
    } 
#endif 
// End of File