mapnavproviderrefapp/src/mnrpdocumentback.cpp
branchRCL_3
changeset 17 1fc85118c3ae
parent 16 8173571d354e
child 18 870918037e16
equal deleted inserted replaced
16:8173571d354e 17:1fc85118c3ae
     1 /*
       
     2 * Copyright (c) 2006 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:  CMnrpDocumentBack class implementation
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #include "mnrpappuiback.h"
       
    20 #include "mnrpengine.h"
       
    21 #include "mnrpdocumentback.h"
       
    22 
       
    23 // ============================ MEMBER FUNCTIONS ===============================
       
    24 
       
    25 // -----------------------------------------------------------------------------
       
    26 // -----------------------------------------------------------------------------
       
    27 //
       
    28 CMnrpDocumentBack::CMnrpDocumentBack(CEikApplication& aApp) 
       
    29     : CAknDocument(aApp) 
       
    30     {
       
    31     }   
       
    32 
       
    33 // -----------------------------------------------------------------------------
       
    34 // -----------------------------------------------------------------------------
       
    35 //
       
    36 CMnrpDocumentBack* CMnrpDocumentBack::NewL( CEikApplication& aApp )
       
    37     {
       
    38     CMnrpDocumentBack* self = new (ELeave) CMnrpDocumentBack( aApp );
       
    39     return self;
       
    40     }
       
    41 
       
    42 // -----------------------------------------------------------------------------
       
    43 // -----------------------------------------------------------------------------
       
    44 //
       
    45 CEikAppUi* CMnrpDocumentBack::CreateAppUiL()
       
    46     {
       
    47     // Create the application user interface, and return a pointer to it,
       
    48     // the framework takes ownership of this object
       
    49     CEikAppUi* appUi = new (ELeave) CMnrpAppUiBack();
       
    50     return appUi;
       
    51     }
       
    52 
       
    53