From 8cc52b448c15ab85a2786d08b6294371ccb96119 Mon Sep 17 00:00:00 2001 From: Kevin Tang Date: Thu, 7 Jun 2018 12:03:55 -0700 Subject: changes to work without ULP module Rework the module with ULP module being removed Change-Id: I5ac81e8c1c734352b3087545b83f4812fa3e8aff CRs-fixed: 2235309 --- core/LocAdapterBase.h | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) (limited to 'core/LocAdapterBase.h') diff --git a/core/LocAdapterBase.h b/core/LocAdapterBase.h index 2083ac4..e31a5d2 100644 --- a/core/LocAdapterBase.h +++ b/core/LocAdapterBase.h @@ -30,7 +30,6 @@ #define LOC_API_ADAPTER_BASE_H #include -#include #include #include #include @@ -112,31 +111,20 @@ public: } uint32_t generateSessionId(); - - // This will be overridden by the individual adapters - // if necessary. - inline virtual void setUlpProxyCommand(UlpProxyBase* ulp) { - - (void)ulp; - } virtual void handleEngineUpEvent(); virtual void handleEngineDownEvent(); inline virtual void setPositionModeCommand(LocPosMode& posMode) { (void)posMode; } - virtual void startTrackingCommand() {} - virtual void stopTrackingCommand() {} - virtual void getZppCommand() {} virtual void reportPositionEvent(const UlpLocation& location, const GpsLocationExtended& locationExtended, enum loc_sess_status status, LocPosTechMask loc_technology_mask, - bool fromUlp=false, bool fromEngineHub=false); virtual void reportSvEvent(const GnssSvNotification& svNotify, - bool fromUlp=false, bool fromEngineHub=false); - virtual void reportNmeaEvent(const char* nmea, size_t length, bool fromUlp=false); + bool fromEngineHub=false); + virtual void reportNmeaEvent(const char* nmea, size_t length); virtual void reportSvMeasurementEvent(GnssSvMeasurementSet &svMeasurementSet); virtual void reportSvPolynomialEvent(GnssSvPolynomial &svPolynomial); virtual void reportStatus(LocGpsStatusValue status); -- cgit v1.2.3