locationcentre/lcapp/src/lcdocument.cpp
branchRCL_3
changeset 9 4721bd00d3da
parent 8 3a25f69541ff
child 11 e15b7f06eba6
equal deleted inserted replaced
8:3a25f69541ff 9:4721bd00d3da
     1 /*
       
     2 * Copyright (c) 2007 Nokia Corporation and/or its subsidiary(-ies). 
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  Document class for Location Centre Application UI.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 // INCLUDE FILES
       
    20 #include "lcdocument.h"
       
    21 #include "lcappui.h"
       
    22 
       
    23 // ----------------- Member funtions for CLcDocument class ------------------
       
    24 
       
    25 // ---------------------------------------------------------------------------
       
    26 // CLcDocument::CLcDocument
       
    27 // ---------------------------------------------------------------------------
       
    28 //
       
    29 CLcDocument::CLcDocument( CEikApplication&  aApp )
       
    30 	:CAknDocument( aApp )    
       
    31     {
       
    32     }
       
    33 
       
    34 // ---------------------------------------------------------------------------
       
    35 // CLcDocument::~CLcDocument
       
    36 // ---------------------------------------------------------------------------
       
    37 //
       
    38 CLcDocument::~CLcDocument()
       
    39     { 
       
    40     }
       
    41 
       
    42 // ---------------------------------------------------------------------------
       
    43 // CLcDocument* CLcDocument::NewL
       
    44 // ---------------------------------------------------------------------------
       
    45 //
       
    46 CLcDocument* CLcDocument::NewL( CEikApplication&    aApp )     
       
    47     {
       
    48     CLcDocument* self = new (ELeave) CLcDocument( aApp );
       
    49     CleanupStack::PushL( self );
       
    50     self->ConstructL();
       
    51     CleanupStack::Pop();
       
    52     
       
    53     return self;
       
    54     }
       
    55     
       
    56 // ---------------------------------------------------------------------------
       
    57 // CLcDocument::ConstructL
       
    58 // ---------------------------------------------------------------------------
       
    59 //
       
    60 void CLcDocument::ConstructL()
       
    61     {
       
    62     }
       
    63     
       
    64 // ---------------------------------------------------------------------------
       
    65 // CLcDocument::CLcDocument
       
    66 // ---------------------------------------------------------------------------
       
    67 //    
       
    68 CEikAppUi* CLcDocument::CreateAppUiL()
       
    69     {
       
    70     return new (ELeave) CLcAppUi;
       
    71     }
       
    72 
       
    73 // End of File