locationlandmarksuirefapp/src/LmUiRefApp.cpp
branchRCL_3
changeset 17 1fc85118c3ae
parent 16 8173571d354e
child 18 870918037e16
equal deleted inserted replaced
16:8173571d354e 17:1fc85118c3ae
     1 /*
       
     2 * Copyright (c) 2005 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:   LandmarksUi Content File -
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 
       
    22 
       
    23 
       
    24 // INCLUDE FILES
       
    25 #include <eikstart.h>
       
    26 #include "LmUiRefApp.h"
       
    27 #include "LmUiRefAppDocument.h"
       
    28 #include "LmUiRefAppUID.h"
       
    29 
       
    30 // ================= MEMBER FUNCTIONS =======================
       
    31 
       
    32 // ---------------------------------------------------------
       
    33 // LmUiRefApp::AppDllUid()
       
    34 // Returns application UID
       
    35 // ---------------------------------------------------------
       
    36 //
       
    37 TUid CLmUiRefApp::AppDllUid() const
       
    38     {
       
    39     return  TUid::Uid( KLmUiRefAppUID3 );
       
    40     }
       
    41 
       
    42 
       
    43 // ---------------------------------------------------------
       
    44 // LmUiRefApp::CreateDocumentL()
       
    45 // Creates LmUiRefApp object
       
    46 // ---------------------------------------------------------
       
    47 //
       
    48 CApaDocument* CLmUiRefApp::CreateDocumentL()
       
    49     {
       
    50     return CLmUiRefAppDocument::NewL( *this );
       
    51     }
       
    52 
       
    53 LOCAL_C CApaApplication* NewApplication()
       
    54     {
       
    55     return new  CLmUiRefApp;
       
    56     }
       
    57 
       
    58 GLDEF_C TInt E32Main ()
       
    59     {
       
    60     return EikStart::RunApplication( NewApplication );
       
    61     }
       
    62 
       
    63 // End of File
       
    64