00001 /* 00002 * Copyright � 2008 Nokia Corporation. 00003 */ 00004 00005 // INCLUDE FILES 00006 #include "AudioStreamApp.h" 00007 #include "AudioStreamDocument.h" 00008 00009 #include <eikstart.h> 00010 00011 00012 // ---------------------------------------------------------------------------- 00013 // CAudioStreamApp::AppDllUid() 00014 // 00015 // returns application UID 00016 // ---------------------------------------------------------------------------- 00017 TUid CAudioStreamApp::AppDllUid() const 00018 { 00019 return KUidAudioStream; 00020 } 00021 00022 00023 // ---------------------------------------------------------------------------- 00024 // CAudioStreamApp::CreateDocumentL() 00025 // 00026 // creates CAudioStreamDocument object 00027 // ---------------------------------------------------------------------------- 00028 CApaDocument* CAudioStreamApp::CreateDocumentL() 00029 { 00030 return CAudioStreamDocument::NewL( *this ); 00031 } 00032 00033 00034 // ---------------------------------------------------------------------------- 00035 // NewApplication() 00036 // 00037 // constructs CAudioStreamApp 00038 // ---------------------------------------------------------------------------- 00039 EXPORT_C CApaApplication* NewApplication() 00040 { 00041 return new CAudioStreamApp; 00042 } 00043 00044 // --------------------------------------------------------- 00045 // Entry point function for Symbian Apps, separate function for 00046 // S60 3rd Ed and 1st/2nd Ed 00047 // --------------------------------------------------------- 00048 // 00049 GLDEF_C TInt E32Main() 00050 { 00051 return EikStart::RunApplication( NewApplication ); 00052 } 00053 00054 // End of File 00055