Merge "Add sendMsg to LocApiBase for utility"

This commit is contained in:
Linux Build Service Account 2014-02-27 07:21:02 -08:00 committed by Gerrit - the friendly Code Review server
commit dc4419cb2e

View file

@ -70,7 +70,6 @@ class LocApiBase {
friend struct LocOpenMsg;
friend class ContextBase;
const MsgTask* mMsgTask;
LocAdapterBase* mLocAdapters[MAX_ADAPTERS];
protected:
@ -87,6 +86,10 @@ protected:
const LOC_API_ADAPTER_EVENT_MASK_T mExcludedMask;
public:
inline void sendMsg(const LocMsg* msg) const {
mMsgTask->sendMsg(msg);
}
void addAdapter(LocAdapterBase* adapter);
void removeAdapter(LocAdapterBase* adapter);