locationsystemui/locationsysui/posindicator/posindhelperclientlib/inc/posindinfochangeobserver.h
branchRCL_3
changeset 44 2b4ea9893b66
equal deleted inserted replaced
42:02ba3f1733c6 44:2b4ea9893b66
       
     1 /*
       
     2 * Copyright (c) 2010 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: Positioning Indicator Info Change Observer
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef POSIND_INFOCHANGEOBSERVER_H
       
    19 #define POSIND_INFOCHANGEOBSERVER_H
       
    20 
       
    21 #include <EPos_CPosLandmark.h>
       
    22 
       
    23 class MPosIndInfoChangeObserver
       
    24     {
       
    25 public:
       
    26     /*
       
    27      * It will be used to notify client that position information is changed
       
    28      * and new information is available.
       
    29      * 
       
    30      * Landmark object contains coordinate information when location fix is available
       
    31      * When reverse geo-code information is available, it contains address info.
       
    32      * 
       
    33      * @param[out] aLandmark - landmark object containing new position information
       
    34      * Ownership is NOT transferred to the observer.
       
    35      * @param[out] aErrCode - Error code if operation is failed
       
    36      *                        KErrNone if operation is successful.
       
    37      */
       
    38     virtual void NotifyPosInfoChange(CPosLandmark* aLandmark, TInt aErrCode) = 0;    
       
    39     };
       
    40 
       
    41 #endif /* POSIND_INFOCHANGEOBSERVER_H */