From 81c423125c5ec95c4293d8f8dc893a611070a28c Mon Sep 17 00:00:00 2001 From: Kevin Tang Date: Tue, 17 Sep 2013 10:19:55 -0700 Subject: [PATCH] Add LocApi to get Zpp fix. Added get zpp fix API so that different other features can make use of this feature in the AP space. Change-Id: I32e750626704c5d0069723ee1ca949fda4a5505e --- core/LocApiBase.cpp | 4 ++++ core/LocApiBase.h | 2 ++ 2 files changed, 6 insertions(+) diff --git a/core/LocApiBase.cpp b/core/LocApiBase.cpp index 6ba72f9e..577d21bf 100644 --- a/core/LocApiBase.cpp +++ b/core/LocApiBase.cpp @@ -413,6 +413,10 @@ enum loc_api_adapter_err LocApiBase:: setAGLONASSProtocol(unsigned long aGlonassProtocol) DEFAULT_IMPL(LOC_API_ADAPTER_ERR_SUCCESS) +enum loc_api_adapter_err LocApiBase:: + getZppFix(GpsLocation & zppLoc) +DEFAULT_IMPL(LOC_API_ADAPTER_ERR_SUCCESS) + int LocApiBase:: initDataServiceClient() DEFAULT_IMPL(-1) diff --git a/core/LocApiBase.h b/core/LocApiBase.h index 861b36f5..2fcac845 100644 --- a/core/LocApiBase.h +++ b/core/LocApiBase.h @@ -174,6 +174,8 @@ public: setExtPowerConfig(int isBatteryCharging); virtual enum loc_api_adapter_err setAGLONASSProtocol(unsigned long aGlonassProtocol); + virtual enum loc_api_adapter_err + getZppFix(GpsLocation & zppLoc); virtual int initDataServiceClient(); virtual int openAndStartDataCall(); virtual void stopDataCall();