datasourcemodules/bluetoothgpspositioningmodule/btgpspsy/inc/RequestHandler/BTGPSPositionerExt.h
author Billy Gibson <Billy.Gibson@nokia.com>
Thu, 01 Apr 2010 18:00:00 +0100
branchRCL_3
changeset 11 ffd33da0467c
parent 0 9cfd9a3ee49c
permissions -rw-r--r--
UML Module of the LBS subsystem

/*
* Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description:
*
*/




#ifndef BTGPSPOSITIONEREXT_H
#define BTGPSPOSITIONEREXT_H

//  INCLUDES

#include "BTGPSFix.h"
#include <lbscommon.h>

// CONSTANTS

// MACROS

// DATA TYPES

// FUNCTION PROTOTYPES

// FORWARD DECLARATIONS


// CLASS DECLARATION

/**
*  MBTGPSPositionerExt is a callback 
*  interface for the request complete event.
*  
*/
class MBTGPSPositionerExt
    {
    public: 
        
        /**
        * Reports that request shall be completed.
        * @param aFix contains fix information.
        * @param aErr System error code when tries to retrieve a fix. If this
		*        value is not KErrNone then aFix shall not be checked.
        * @return ETrue if the request has been completed. Otherwise EFalse
        */
        virtual TBool RequestCompleteNotify(
            const CBTGPSFix* aFix, 
            TInt aErr) = 0;

        /**
        * Reports that the device status or/and the 
        * data quality status has changed.
        *
        * @param aStatus The new status.
        */
        virtual void ReportStatus(const TPositionModuleStatus& aStatus) = 0;
        
        /**
        * Set initial NMEA buffer bottom
        * @param aIndex The index of previous NMEA buffer bottom.
        */
        virtual void SetInitialNmeaBufferBottom(TInt aIndex) = 0;
        
    };

#endif  //BTGPSPositionerExt_H

// End of File