Merge "Add sendMsg to LocApiBase for utility"
This commit is contained in:
commit
dc4419cb2e
1 changed files with 4 additions and 1 deletions
|
@ -70,7 +70,6 @@ class LocApiBase {
|
||||||
friend struct LocOpenMsg;
|
friend struct LocOpenMsg;
|
||||||
friend class ContextBase;
|
friend class ContextBase;
|
||||||
const MsgTask* mMsgTask;
|
const MsgTask* mMsgTask;
|
||||||
|
|
||||||
LocAdapterBase* mLocAdapters[MAX_ADAPTERS];
|
LocAdapterBase* mLocAdapters[MAX_ADAPTERS];
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
@ -87,6 +86,10 @@ protected:
|
||||||
const LOC_API_ADAPTER_EVENT_MASK_T mExcludedMask;
|
const LOC_API_ADAPTER_EVENT_MASK_T mExcludedMask;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
inline void sendMsg(const LocMsg* msg) const {
|
||||||
|
mMsgTask->sendMsg(msg);
|
||||||
|
}
|
||||||
|
|
||||||
void addAdapter(LocAdapterBase* adapter);
|
void addAdapter(LocAdapterBase* adapter);
|
||||||
void removeAdapter(LocAdapterBase* adapter);
|
void removeAdapter(LocAdapterBase* adapter);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue