S60 3rd Edition SDK for Symbian OS
Example Applications Guide

LBSReference_Main.cpp

00001 /*
00002 * ==============================================================================
00003 *  Name         : LbsReference_Main.cpp
00004 *  Part of      : LBSReference example application
00005 *  Interface   : 
00006 *  Description  : Contains E32Main entry point, that launches the application
00007 *  Version      : 1.0
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 
00017 #include "LbsReferenceApp.h"
00018 #include <eikstart.h>
00019 
00020 // ---------------------------------------------------------
00021 // NewApplication()
00022 // Constructs CLbsReferenceApp
00023 // Returns: created application object
00024 // ---------------------------------------------------------
00025 //
00026 
00027 EXPORT_C CApaApplication* NewApplication()
00028     {
00029     // Create a Reference application , and return a pointer to it
00030     return new CLbsReferenceApp;
00031     }
00032 
00033 
00034 // ---------------------------------------------------------
00035 // E32Main()
00036 // The entry point for the application code. It creates, via a
00037 // call to NewApplication() an instance of the CApaApplication
00038 // derived class, CLbsReferenceApp.
00039 // ---------------------------------------------------------
00040 
00041 GLDEF_C TInt E32Main()
00042     {
00043     return EikStart::RunApplication( NewApplication );
00044     }
00045 
00046 

© Nokia 2006

Back to top