summaryrefslogtreecommitdiff
path: root/core/LocAdapterBase.h
diff options
context:
space:
mode:
authorKevin Tang <zhikait@codeaurora.org>2018-06-07 12:03:55 -0700
committerKevin Tang <zhikait@codeaurora.org>2018-06-07 12:04:42 -0700
commit8cc52b448c15ab85a2786d08b6294371ccb96119 (patch)
tree640632568f9a8ee670b24477da0da0b0784a70c4 /core/LocAdapterBase.h
parent53695be16c974925db16de4ae434549345abe42a (diff)
downloadgps-8cc52b448c15ab85a2786d08b6294371ccb96119.tar.gz
changes to work without ULP module
Rework the module with ULP module being removed Change-Id: I5ac81e8c1c734352b3087545b83f4812fa3e8aff CRs-fixed: 2235309
Diffstat (limited to 'core/LocAdapterBase.h')
-rw-r--r--core/LocAdapterBase.h16
1 files changed, 2 insertions, 14 deletions
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 <gps_extended.h>
-#include <UlpProxyBase.h>
#include <ContextBase.h>
#include <LocationAPI.h>
#include <map>
@@ -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);