summaryrefslogtreecommitdiff
path: root/core/ContextBase.h
diff options
context:
space:
mode:
authorJiafei Wen <jiafeiw@codeaurora.org>2013-10-23 11:28:51 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2013-10-28 17:42:55 -0700
commit747f69507a5f6beecfdf82791e2afe06c7f7b879 (patch)
treedec0372ca6fbd5526d6f56714d39c1bfd320ea7d /core/ContextBase.h
parent0561631818391491bc08ea67f700d329e333ce02 (diff)
downloadgps-747f69507a5f6beecfdf82791e2afe06c7f7b879.tar.gz
Add LocApiProxyBase to context
This is so that the izat adapters can get access to LocApiProxy through the context. Change-Id: I15a477d159375740047cd7386f8c8c5163fdaf87
Diffstat (limited to 'core/ContextBase.h')
-rw-r--r--core/ContextBase.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/ContextBase.h b/core/ContextBase.h
index 93cb31f..b41dd78 100644
--- a/core/ContextBase.h
+++ b/core/ContextBase.h
@@ -46,7 +46,7 @@ protected:
const LBSProxyBase* mLBSProxy;
const MsgTask* mMsgTask;
LocApiBase* mLocApi;
-
+ LocApiProxyBase *mLocApiProxy;
public:
ContextBase(const MsgTask* msgTask,
LOC_API_ADAPTER_EVENT_MASK_T exMask,
@@ -55,6 +55,7 @@ public:
inline const MsgTask* getMsgTask() { return mMsgTask; }
inline LocApiBase* getLocApi() { return mLocApi; }
+ inline LocApiProxyBase* getLocApiProxy() { return mLocApiProxy; }
inline bool hasAgpsExt() { return mLBSProxy->hasAgpsExt(); }
inline void requestUlp(LocAdapterBase* adapter,
unsigned long capabilities) {