diff options
author | Tushar Janefalkar <tusharj@codeaurora.org> | 2014-02-24 11:13:57 -0800 |
---|---|---|
committer | Tushar Janefalkar <tusharj@codeaurora.org> | 2014-05-05 12:10:59 -0700 |
commit | 9e585cb7bfbbf602555fe7b8e737ff64083ac7f4 (patch) | |
tree | bca328fb9a645897c8399932268655454323baf4 /core/LBSProxyBase.h | |
parent | 3c8b3ff4fd3a444117d9e2067f131d6611e9e57d (diff) | |
download | gps-9e585cb7bfbbf602555fe7b8e737ff64083ac7f4.tar.gz |
Inject feature config
This change injects feature config
through using the first available
context
CRs-fixed: 616544
Change-Id: Idea5bd8acfff729589c071f20bec18679c89ab25
Diffstat (limited to 'core/LBSProxyBase.h')
-rw-r--r-- | core/LBSProxyBase.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/core/LBSProxyBase.h b/core/LBSProxyBase.h index 99872ee..0b7dbdf 100644 --- a/core/LBSProxyBase.h +++ b/core/LBSProxyBase.h @@ -35,12 +35,14 @@ namespace loc_core { class LocApiBase; class LocAdapterBase; +class ContextBase; class LBSProxyBase { friend class ContextBase; inline virtual LocApiBase* getLocApi(const MsgTask* msgTask, - LOC_API_ADAPTER_EVENT_MASK_T exMask) const { + LOC_API_ADAPTER_EVENT_MASK_T exMask, + ContextBase* context) const { return NULL; } protected: @@ -51,6 +53,7 @@ public: unsigned long capabilities) const {} inline virtual bool hasAgpsExtendedCapabilities() const { return false; } inline virtual bool hasCPIExtendedCapabilities() const { return false; } + virtual void injectFeatureConfig(ContextBase* context) const {} }; typedef LBSProxyBase* (getLBSProxy_t)(); |