diff options
author | Mike Antipov <mantipov@productengine.com> | 2010-01-14 19:28:38 +0200 |
---|---|---|
committer | Mike Antipov <mantipov@productengine.com> | 2010-01-14 19:28:38 +0200 |
commit | ab935fbeee57b32f68503395d71d9366e65db73b (patch) | |
tree | f27ac013a11872e2d015314b4e219bad9972e11d /indra/newview/llvoiceclient.cpp | |
parent | 7ee8096ba718c4549c2a73e60da6b9c5dcc26b02 (diff) | |
parent | 3c9d99b3b00783adbdfeac3288936ab96986cf6d (diff) |
merge
--HG--
branch : product-engine
Diffstat (limited to 'indra/newview/llvoiceclient.cpp')
-rw-r--r-- | indra/newview/llvoiceclient.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/indra/newview/llvoiceclient.cpp b/indra/newview/llvoiceclient.cpp index 423c46e14c..42b8a1c2b6 100644 --- a/indra/newview/llvoiceclient.cpp +++ b/indra/newview/llvoiceclient.cpp @@ -5004,6 +5004,17 @@ LLVoiceClient::participantMap *LLVoiceClient::getParticipantList(void) return result; } +void LLVoiceClient::getParticipantsUUIDSet(std::set<LLUUID>& participant_uuids) +{ + if (NULL == mAudioSession) return; + + participantUUIDMap::const_iterator it = mAudioSession->mParticipantsByUUID.begin(), + it_end = mAudioSession->mParticipantsByUUID.end(); + for (; it != it_end; ++it) + { + participant_uuids.insert((*(*it).first)); + } +} LLVoiceClient::participantState *LLVoiceClient::sessionState::findParticipant(const std::string &uri) { |