basiclocationinfodisplay/blid/ui/src/CBlidApp.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-2008 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:  Provides Blid Application class methods.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 // INCLUDE FILES
       
    20 #include <eikstart.h>
       
    21 #include "CBlidApp.h"
       
    22 #include "CBlidDocument.h"
       
    23 #include "BlidUID.h"
       
    24 
       
    25 // ================= MEMBER FUNCTIONS =======================
       
    26 
       
    27 // ---------------------------------------------------------
       
    28 // CBlidApp::AppDllUid()
       
    29 // Returns application UID
       
    30 // ---------------------------------------------------------
       
    31 //
       
    32 TUid CBlidApp::AppDllUid() const
       
    33     {
       
    34     return TUid::Uid(KBLIDUID3);
       
    35     }
       
    36    
       
    37 // ---------------------------------------------------------
       
    38 // CBlidApp::CreateDocumentL()
       
    39 // Creates CBlidDocument object
       
    40 // ---------------------------------------------------------
       
    41 //
       
    42 CApaDocument* CBlidApp::CreateDocumentL()
       
    43     {
       
    44     return CBlidDocument::NewL( *this );
       
    45     }
       
    46 
       
    47 // ================= OTHER EXPORTED FUNCTIONS ==============
       
    48 
       
    49 LOCAL_C CApaApplication* NewApplication()
       
    50     {
       
    51     return new CBlidApp;
       
    52     }
       
    53 
       
    54 GLDEF_C TInt E32Main()
       
    55     {
       
    56     return EikStart::RunApplication( NewApplication );
       
    57     }
       
    58 
       
    59 // End of File