Example Application Guide

 

geoprofilesapp.cpp

00001 /*
00002 * Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies).
00003 * All rights reserved.
00004 * This component and the accompanying materials are made available
00005 * under the terms of the License "Eclipse Public License v1.0"
00006 * which accompanies this distribution, and is available
00007 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
00008 *
00009 * Initial Contributors:
00010 * Nokia Corporation - initial contribution.
00011 *
00012 * Contributors:
00013 *
00014 * Description:  Application class for Geo Profiles  Application.
00015 *
00016 */
00017 
00018 
00019 // SYSTEM INCLUDES
00020 #include <eikstart.h>
00021 
00022 // USER INCLUDES
00023 #include "geoprofilesapp.h"
00024 #include "geoprofilesdocument.h"
00025 #include "geoprofilesuid.hrh"
00026 
00027 // ------------------------ Local Functions ----------------------------------
00028 
00029 // ---------------------------------------------------------------------------
00030 // CApaApplication* NewApplication
00031 // ---------------------------------------------------------------------------
00032 //
00033 LOCAL_C CApaApplication* NewApplication()
00034     {
00035     return new CGeoProfilesApp;
00036     }
00037 
00038 // ----------------- Member funtions for CGeoProfilesApp ------------------------------
00039         
00040 // ---------------------------------------------------------------------------
00041 // TUid CGeoProfilesApp::AppDllUid
00042 // ---------------------------------------------------------------------------
00043 //
00044 TUid CGeoProfilesApp::AppDllUid() const
00045     {
00046     return TUid::Uid( KGeoProfilesUiUid );
00047     }
00048 
00049 // ---------------------------------------------------------------------------
00050 // CApaDocument* CGeoProfilesApp::CreateDocumentL
00051 // ---------------------------------------------------------------------------
00052 //
00053 CApaDocument* CGeoProfilesApp::CreateDocumentL()
00054     {
00055     return CGeoProfilesDocument::NewL( *this );
00056     }
00057 
00058 // ------------------------ Global Functions ----------------------------------
00059 
00060 // ---------------------------------------------------------------------------
00061 // TInt E32Main
00062 // ---------------------------------------------------------------------------
00063 //
00064 GLDEF_C TInt E32Main()
00065     {
00066     return EikStart::RunApplication( NewApplication );
00067    }

© Nokia 2009

Back to top