summaryrefslogtreecommitdiff
path: root/indra/newview/llchannelmanager.cpp
diff options
context:
space:
mode:
authorYuri Chebotarev <ychebotarev@productengine.com>2009-12-11 19:17:37 +0200
committerYuri Chebotarev <ychebotarev@productengine.com>2009-12-11 19:17:37 +0200
commitedcdaf27ceaf00cf075416ba196a25a89357a9d1 (patch)
tree4aff9e3eb53689da75f6ef5e087ff54b6c3bcade /indra/newview/llchannelmanager.cpp
parente56dae206e4774e16003d1f404a6814fd81a04d3 (diff)
parent5f0b2624bc40c6c7580fa7c02f137c3dee330b94 (diff)
merge
--HG-- branch : product-engine
Diffstat (limited to 'indra/newview/llchannelmanager.cpp')
-rw-r--r--indra/newview/llchannelmanager.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/indra/newview/llchannelmanager.cpp b/indra/newview/llchannelmanager.cpp
index 415c118ff1..cbb566b3a7 100644
--- a/indra/newview/llchannelmanager.cpp
+++ b/indra/newview/llchannelmanager.cpp
@@ -228,3 +228,14 @@ void LLChannelManager::muteAllChannels(bool mute)
}
}
+void LLChannelManager::killToastsFromChannel(const LLUUID& channel_id, const LLScreenChannel::Matcher& matcher)
+{
+ LLScreenChannel
+ * screen_channel =
+ dynamic_cast<LLScreenChannel*> (findChannelByID(channel_id));
+ if (screen_channel != NULL)
+ {
+ screen_channel->killMatchedToasts(matcher);
+ }
+}
+