summaryrefslogtreecommitdiff
path: root/indra/newview/llchannelmanager.cpp
diff options
context:
space:
mode:
authorIgor Borovkov <iborovkov@productengine.com>2009-12-11 15:15:41 +0200
committerIgor Borovkov <iborovkov@productengine.com>2009-12-11 15:15:41 +0200
commit178ce6df01b0e73476fbde03d7c72622c443f5b7 (patch)
treeecfa2e9fdff7d0e04432df0a71226a643eea83ce /indra/newview/llchannelmanager.cpp
parent12fb5d3a2de9fe49c75b302353f09fc724245a1b (diff)
parent5aecd0b93f6d79ef447aca241b082f0fb468d78b (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);
+ }
+}
+