00001 /* 00002 * Copyright © 2008 Nokia Corporation. 00003 */ 00004 00005 // INCLUDE FILES 00006 #include <eikstart.h> 00007 #include "CalendarAPIexampleApp.h" 00008 #include "CalendarAPIexampleDocument.h" 00009 00010 // ================= MEMBER FUNCTIONS ======================= 00011 00012 // --------------------------------------------------------- 00013 // CCalendarAPIexampleApp::AppDllUid() 00014 // Returns application UID 00015 // --------------------------------------------------------- 00016 // 00017 TUid CCalendarAPIexampleApp::AppDllUid() const 00018 { 00019 return KUidCalendarAPIexample; 00020 } 00021 00022 00023 // --------------------------------------------------------- 00024 // CCalendarAPIexampleApp::CreateDocumentL() 00025 // Creates CCalendarAPIexampleDocument object 00026 // --------------------------------------------------------- 00027 // 00028 CApaDocument* CCalendarAPIexampleApp::CreateDocumentL() 00029 { 00030 return CCalendarAPIexampleDocument::NewL( *this ); 00031 } 00032 00033 // ================= OTHER EXPORTED FUNCTIONS ============== 00034 // 00035 // --------------------------------------------------------- 00036 // NewApplication() 00037 // Constructs CCalendarAPIexampleApp 00038 // Returns: created application object 00039 // --------------------------------------------------------- 00040 // 00041 EXPORT_C CApaApplication* NewApplication() 00042 { 00043 return (static_cast<CApaApplication*>(new CCalendarAPIexampleApp)); 00044 } 00045 // --------------------------------------------------------- 00046 // E32Main() 00047 // Entry point function for Symbian OS Apps 00048 // Returns: TInt 00049 // --------------------------------------------------------- 00050 // 00051 GLDEF_C TInt E32Main() 00052 { 00053 return EikStart::RunApplication( NewApplication ); 00054 } 00055 00056 // End of File 00057
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.