datasourceadaptation/gpsdatasourceadaptation/inc/EPos_MPosStatusObserver.h
changeset 0 9cfd9a3ee49c
equal deleted inserted replaced
-1:000000000000 0:9cfd9a3ee49c
       
     1 /*
       
     2 * Copyright (c) 2005-2009 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 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef MPOSSTATUSOBSERVER_H
       
    21 #define MPOSSTATUSOBSERVER_H
       
    22 
       
    23 #include <lbscommon.h>
       
    24 
       
    25 // FORWARD DECLARATIONS
       
    26 class TPositionModuleStatus;
       
    27 
       
    28 // CLASS DECLARATION
       
    29 
       
    30 /**
       
    31 * Interface implemented by the EPos server to listen to PSY status
       
    32 */
       
    33 class MPosStatusObserver
       
    34     {
       
    35     public:  // New functions
       
    36 
       
    37         /**
       
    38         * Reports that the positioner status has changed.
       
    39         *
       
    40         * @param aImplementationUid The UID of the CPositioner implementation 
       
    41         *   which is the originator of the status updates.
       
    42         * @param aStatus The new status.
       
    43         */
       
    44         virtual void ReportStatus(
       
    45         /* IN  */       const TPositionModuleId& aImplementationUid,
       
    46         /* IN  */       const TPositionModuleStatus& aStatus
       
    47         ) = 0;
       
    48 
       
    49     };  
       
    50 
       
    51 #endif  // MPOSSTATUSOBSERVER_H
       
    52 
       
    53 // End of File