00001 /* 00002 * Copyright © 2009 Nokia Corporation. 00003 */ 00004 00005 // INCLUDE FILES 00006 #include "BluetoothPMPExampleApp.h" 00007 #include "BluetoothPMPExampleDocument.h" 00008 00009 #include <eikstart.h> 00010 00011 // ---------------------------------------------------------------------------- 00012 // CBluetoothPMPExampleApp::AppDllUid() 00013 // 00014 // returns application UID 00015 // ---------------------------------------------------------------------------- 00016 TUid CBluetoothPMPExampleApp::AppDllUid() const 00017 { 00018 return KUidBluetoothPMPExample; 00019 } 00020 00021 00022 // ---------------------------------------------------------------------------- 00023 // CBluetoothPMPExampleApp::CreateDocumentL() 00024 // 00025 // creates CBluetoothPMPExampleDocument object 00026 // ---------------------------------------------------------------------------- 00027 CApaDocument* CBluetoothPMPExampleApp::CreateDocumentL() 00028 { 00029 return CBluetoothPMPExampleDocument::NewL( *this ); 00030 } 00031 00032 00033 // ---------------------------------------------------------------------------- 00034 // NewApplication() 00035 // 00036 // constructs CBluetoothPMPExampkeApp 00037 // ---------------------------------------------------------------------------- 00038 EXPORT_C CApaApplication* NewApplication() 00039 { 00040 return new CBluetoothPMPExampleApp; 00041 } 00042 00043 // ---------------------------------------------------------------------------- 00044 // E32Dll(TDllReason) 00045 // 00046 // entry point function for EPOC Apps 00047 // ---------------------------------------------------------------------------- 00048 GLDEF_C TInt E32Main() 00049 { 00050 return EikStart::RunApplication(NewApplication); 00051 } 00052 00053 // End of File 00054