datasourcemodules/bluetoothgpspositioningmodule/btgpspsy/inc/RequestHandler/BTGPSPositionerExt.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 
       
    21 #ifndef BTGPSPOSITIONEREXT_H
       
    22 #define BTGPSPOSITIONEREXT_H
       
    23 
       
    24 //  INCLUDES
       
    25 
       
    26 #include "BTGPSFix.h"
       
    27 #include <lbscommon.h>
       
    28 
       
    29 // CONSTANTS
       
    30 
       
    31 // MACROS
       
    32 
       
    33 // DATA TYPES
       
    34 
       
    35 // FUNCTION PROTOTYPES
       
    36 
       
    37 // FORWARD DECLARATIONS
       
    38 
       
    39 
       
    40 // CLASS DECLARATION
       
    41 
       
    42 /**
       
    43 *  MBTGPSPositionerExt is a callback 
       
    44 *  interface for the request complete event.
       
    45 *  
       
    46 */
       
    47 class MBTGPSPositionerExt
       
    48     {
       
    49     public: 
       
    50         
       
    51         /**
       
    52         * Reports that request shall be completed.
       
    53         * @param aFix contains fix information.
       
    54         * @param aErr System error code when tries to retrieve a fix. If this
       
    55 		*        value is not KErrNone then aFix shall not be checked.
       
    56         * @return ETrue if the request has been completed. Otherwise EFalse
       
    57         */
       
    58         virtual TBool RequestCompleteNotify(
       
    59             const CBTGPSFix* aFix, 
       
    60             TInt aErr) = 0;
       
    61 
       
    62         /**
       
    63         * Reports that the device status or/and the 
       
    64         * data quality status has changed.
       
    65         *
       
    66         * @param aStatus The new status.
       
    67         */
       
    68         virtual void ReportStatus(const TPositionModuleStatus& aStatus) = 0;
       
    69         
       
    70         /**
       
    71         * Set initial NMEA buffer bottom
       
    72         * @param aIndex The index of previous NMEA buffer bottom.
       
    73         */
       
    74         virtual void SetInitialNmeaBufferBottom(TInt aIndex) = 0;
       
    75         
       
    76     };
       
    77 
       
    78 #endif  //BTGPSPositionerExt_H
       
    79 
       
    80 // End of File