locationlandmarksrefappfors60/Inc/LandmarksDbObserver.h
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:  
       
    15 *     See class description below
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 #ifndef __LANDMARKS_DB_OBSERVER_H__
       
    21 #define __LANDMARKS_DB_OBSERVER_H__
       
    22 
       
    23 
       
    24 #include <e32base.h>
       
    25 #include <EPos_Landmarks.h>
       
    26 
       
    27 
       
    28 
       
    29 /**
       
    30 *  An observer interface used for notifying events originating from the 
       
    31 *  landmarks default database.
       
    32 */
       
    33 class MLandmarksDbObserver
       
    34     {
       
    35     public: // new functions
       
    36 
       
    37         /**
       
    38         * NotifyDbEventL notifies that an event has occurred in the default 
       
    39         * landmark database.
       
    40         *  
       
    41         * @param aEvent contains info about the event.
       
    42         * @param aErrorCode possible error codes if reporting the event was 
       
    43         * not successful.
       
    44         */
       
    45         virtual void NotifyDbEventL(TPosLmEvent& aEvent, TInt aErrorCode) = 0;
       
    46 
       
    47     };
       
    48 
       
    49 #endif // __LANDMARKS_DB_OBSERVER_H__
       
    50