summaryrefslogtreecommitdiff
path: root/core/LocAdapterProxyBase.h
diff options
context:
space:
mode:
authorJiafei Wen <jiafeiw@qca.qualcomm.com>2014-09-01 19:07:58 -0700
committerJiafei Wen <jiafeiw@codeaurora.org>2014-10-04 12:27:26 -0700
commit90378134eafcc137c157a40f92561d69cbf01a7a (patch)
treea1605afadb4388d745cc6494573961199b2bbb91 /core/LocAdapterProxyBase.h
parent40931418ee675f292b571a91e08d852b79e6abb8 (diff)
downloadgps-90378134eafcc137c157a40f92561d69cbf01a7a.tar.gz
Checking messages supported or not
When device boots up, get a list of message supported by modem, based on which some adapeters will be able to update register masks. CRs-fixed: 601349 Change-Id: I6af282f8e551f1f3c6bf8795e968fdbc7b0a9fa3
Diffstat (limited to 'core/LocAdapterProxyBase.h')
-rw-r--r--core/LocAdapterProxyBase.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/core/LocAdapterProxyBase.h b/core/LocAdapterProxyBase.h
index 25af10b..df5a48b 100644
--- a/core/LocAdapterProxyBase.h
+++ b/core/LocAdapterProxyBase.h
@@ -37,7 +37,7 @@ namespace loc_core {
class LocAdapterProxyBase {
private:
- const LocAdapterBase *mLocAdapterBase;
+ LocAdapterBase *mLocAdapterBase;
protected:
inline LocAdapterProxyBase(const LOC_API_ADAPTER_EVENT_MASK_T mask,
ContextBase* context):
@@ -49,6 +49,11 @@ protected:
ContextBase* getContext() const {
return mLocAdapterBase->getContext();
}
+ inline void updateEvtMask(LOC_API_ADAPTER_EVENT_MASK_T event,
+ loc_registration_mask_status isEnabled) {
+ mLocAdapterBase->updateEvtMask(event,isEnabled);
+ }
+
public:
inline virtual void handleEngineUpEvent() {};
inline virtual void handleEngineDownEvent() {};