diff options
| author | Rider Linden <rider@lindenlab.com> | 2015-12-04 14:27:22 -0800 |
|---|---|---|
| committer | Rider Linden <rider@lindenlab.com> | 2015-12-04 14:27:22 -0800 |
| commit | 2763bbd97519d35a43aedf279751e7b1045581dc (patch) | |
| tree | 270e75d1a006b06e0987838ea1f6f0a5979698ef /indra/llcommon/llevents.cpp | |
| parent | 5d897443a9e50843ac562da8972bfe2f9f8f1129 (diff) | |
Initial changes for Vivox/Azumarill merge. Lots of temporary code and conditional compile switches. Begin switch from statemachine to coroutine.
Diffstat (limited to 'indra/llcommon/llevents.cpp')
| -rwxr-xr-x | indra/llcommon/llevents.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/indra/llcommon/llevents.cpp b/indra/llcommon/llevents.cpp index 1c928b3db8..bb3a137815 100755 --- a/indra/llcommon/llevents.cpp +++ b/indra/llcommon/llevents.cpp @@ -132,6 +132,17 @@ LLEventPump& LLEventPumps::obtain(const std::string& name) return *newInstance; } +bool LLEventPumps::post(const std::string&name, const LLSD&message) +{ + PumpMap::iterator found = mPumpMap.find(name); + + if (found == mPumpMap.end()) + return false; + + return (*found).second->post(message); +} + + void LLEventPumps::flush() { // Flush every known LLEventPump instance. Leave it up to each instance to |
