locationlandmarksrefappfors60/Src/LandmarksApplication.cpp
branchRCL_3
changeset 17 1fc85118c3ae
parent 16 8173571d354e
child 18 870918037e16
equal deleted inserted replaced
16:8173571d354e 17:1fc85118c3ae
     1 /*
       
     2 * Copyright (c) 2004-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:  Implementation of CLandmarksApplication
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #include "LandmarksDocument.h"
       
    21 #include "LandmarksApplication.h"
       
    22 
       
    23 
       
    24 // UID for the application, this should match the uid defined in the mmp file.
       
    25 static const TUid KUidLandmarksApp = {0xA0000187};
       
    26 
       
    27 // ============================ MEMBER FUNCTIONS ===============================
       
    28 
       
    29 // -----------------------------------------------------------------------------
       
    30 // -----------------------------------------------------------------------------
       
    31 //
       
    32 CApaDocument* CLandmarksApplication::CreateDocumentL()
       
    33     {  
       
    34     // Create an Landmarks document, and return a pointer to it
       
    35     CApaDocument* document = CLandmarksDocument::NewL(*this);
       
    36     return document;
       
    37     }
       
    38 
       
    39 // -----------------------------------------------------------------------------
       
    40 // -----------------------------------------------------------------------------
       
    41 //
       
    42 TUid CLandmarksApplication::AppDllUid() const
       
    43     {
       
    44     // Return the UID for the Landmarks application
       
    45     return KUidLandmarksApp;
       
    46     }
       
    47 
       
    48