S60 3rd Edition SDK for Symbian OS
Example Applications Guide

SatelliteReferenceApp.cpp

00001 /*
00002 * ==============================================================================
00003 *  Name        : SatelliteReferenceApp 
00004 *  Part of     : Satellite Reference App 
00005 *  Interface   : 
00006 *  Description : 
00007 *  Version     : 
00008 *
00009 *  Copyright (c) 2005-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 // INCLUDE FILES
00017 #include    "SatelliteReferenceApp.h"
00018 #include    "SatelliteReferenceDocument.h"
00019 #include        <eikstart.h>
00020 
00021 // ================= OTHER EXPORTED FUNCTIONS ==============
00022 //
00023 // ---------------------------------------------------------
00024 // NewApplication() 
00025 // Constructs CSatelliteReferenceApp
00026 // Returns: created application object
00027 // ---------------------------------------------------------
00028 //
00029 EXPORT_C CApaApplication* NewApplication()
00030     {
00031     return new CSatelliteReferenceApp;
00032     }
00033 
00034 // ================= MEMBER FUNCTIONS =======================
00035 
00036 // ---------------------------------------------------------
00037 // CSatelliteReferenceApp::AppDllUid()
00038 // Returns application UID
00039 // ---------------------------------------------------------
00040 //
00041 TUid CSatelliteReferenceApp::AppDllUid() const
00042     {
00043     return KUidSatelliteReferenceApp;
00044     }
00045   
00046 
00047 GLDEF_C TInt E32Main()
00048     {
00049     return EikStart::RunApplication( NewApplication );
00050     }
00051    
00052 // ---------------------------------------------------------
00053 // CSatelliteReferenceApp::CreateDocumentL()
00054 // Creates SatelliteReferenceDocument object
00055 // ---------------------------------------------------------
00056 //
00057 CApaDocument* CSatelliteReferenceApp::CreateDocumentL()
00058     {
00059     return CSatelliteReferenceDocument::NewL( *this );
00060     }
00061 
00062 
00063 
00064 // End of File  
00065 

© Nokia 2006

Back to top