Example Application Guide

 

geoprofilesdocument.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:  Document class for Geo Profiles Application
00015 *
00016 */
00017 
00018 
00019 // INCLUDE FILES
00020 #include "geoprofilesdocument.h"
00021 #include "geoprofilesappui.h"
00022 
00023 // ----------------- Member funtions for CGeoProfilesDocument class ------------------
00024 
00025 // ---------------------------------------------------------------------------
00026 // CGeoProfilesDocument::CGeoProfilesDocument
00027 // ---------------------------------------------------------------------------
00028 //
00029 CGeoProfilesDocument::CGeoProfilesDocument( CEikApplication&  aApp )
00030         :CAknDocument( aApp )    
00031     {
00032     }
00033 
00034 // ---------------------------------------------------------------------------
00035 // CGeoProfilesDocument::~CGeoProfilesDocument
00036 // ---------------------------------------------------------------------------
00037 //
00038 CGeoProfilesDocument::~CGeoProfilesDocument()
00039     { 
00040     }
00041 
00042 // ---------------------------------------------------------------------------
00043 // CGeoProfilesDocument* CGeoProfilesDocument::NewL
00044 // ---------------------------------------------------------------------------
00045 //
00046 CGeoProfilesDocument* CGeoProfilesDocument::NewL( CEikApplication&    aApp )     
00047     {
00048     CGeoProfilesDocument* self = new (ELeave) CGeoProfilesDocument( aApp );
00049     CleanupStack::PushL( self );
00050     self->ConstructL();
00051     CleanupStack::Pop();
00052     
00053     return self;
00054     }
00055     
00056 // ---------------------------------------------------------------------------
00057 // CGeoProfilesDocument::ConstructL
00058 // ---------------------------------------------------------------------------
00059 //
00060 void CGeoProfilesDocument::ConstructL()
00061     {
00062     }
00063     
00064 // ---------------------------------------------------------------------------
00065 // CGeoProfilesDocument::CGeoProfilesDocument
00066 // ---------------------------------------------------------------------------
00067 //    
00068 CEikAppUi* CGeoProfilesDocument::CreateAppUiL()
00069     {
00070     return new (ELeave) CGeoProfilesAppUi;
00071     }

© Nokia 2009

Back to top