|
Nokia N97 SDK Example Applications Guide |
00001 /* 00002 * ============================================================================== 00003 * Name : aknexpbarapp.cpp 00004 * Part of : ProgressBar 00005 * Interface : 00006 * Description : 00007 * Version : 00008 * 00009 * Copyright (c) 2004 - 2006 Nokia Corporation. 00010 * This material, including documentation and any related 00011 * computer programs, is protected by copyright controlled by 00012 * Nokia Corporation. 00013 * ============================================================================== 00014 */ 00015 00016 00017 // INCLUDE FILES 00018 #include <eikstart.h> 00019 00020 #include "AknExPbarApp.h" 00021 #include "AknExPbarDocument.h" 00022 00023 00024 // ========================= MEMBER FUNCTIONS =================================== 00025 00026 // ------------------------------------------------------------------------------ 00027 // CAknExPbarApp::AppDllUid() 00028 // Returns application UID 00029 // ------------------------------------------------------------------------------ 00030 // 00031 TUid CAknExPbarApp::AppDllUid() const 00032 { 00033 return KUidAknExPbar; 00034 } 00035 00036 // ------------------------------------------------------------------------------ 00037 // CAknExPbarApp::CreateDocumentL() 00038 // Creates CAknExPbarDocument object 00039 // ------------------------------------------------------------------------------ 00040 // 00041 CApaDocument* CAknExPbarApp::CreateDocumentL() 00042 { 00043 return CAknExPbarDocument::NewL( *this ); 00044 } 00045 00046 00047 // ========================== OTHER EXPORTED FUNCTIONS ========================= 00048 00049 // ------------------------------------------------------------------------------ 00050 // NewApplication() 00051 // Constructs CAknExPbarApp. 00052 // Create an application, and return a pointer to it 00053 // ------------------------------------------------------------------------------ 00054 // 00055 EXPORT_C CApaApplication* NewApplication() 00056 { 00057 return new CAknExPbarApp; 00058 } 00059 00060 // ----------------------------------------------------------------------------- 00061 // E32Main() 00062 // Entry point function for Symbian Apps, returns that everything is ok 00063 // ----------------------------------------------------------------------------- 00064 // 00065 GLDEF_C TInt E32Main() 00066 { 00067 return EikStart::RunApplication( NewApplication ); 00068 } 00069 00070 // End of File 00071
|
© Nokia 2009 |