summaryrefslogtreecommitdiff
path: root/indra/newview/llscreenchannel.cpp
diff options
context:
space:
mode:
authorAlexei Arabadji <aarabadji@productengine.com>2010-01-13 17:40:47 +0200
committerAlexei Arabadji <aarabadji@productengine.com>2010-01-13 17:40:47 +0200
commit33af1ba1e5beb452a9916c99411f72cc5d33fe46 (patch)
treea249c20a0fff97cb63ac18baf7a286abc37edd01 /indra/newview/llscreenchannel.cpp
parentd40c4f9b8e6ce320dfee39c2ee9b5cbfdfda1392 (diff)
implemented EXT-4001 “Notification Well window interaction”,
made notification that restored from notification well window shows as inspector; --HG-- branch : product-engine
Diffstat (limited to 'indra/newview/llscreenchannel.cpp')
-rw-r--r--indra/newview/llscreenchannel.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/indra/newview/llscreenchannel.cpp b/indra/newview/llscreenchannel.cpp
index d0b537cdfc..d0a0dd877f 100644
--- a/indra/newview/llscreenchannel.cpp
+++ b/indra/newview/llscreenchannel.cpp
@@ -908,3 +908,13 @@ void LLScreenChannel::updateShowToastsState()
//--------------------------------------------------------------------------
+LLToast* LLScreenChannel::getToastByNotificationID(LLUUID id)
+{
+ std::vector<ToastElem>::iterator it = find(mStoredToastList.begin(),
+ mStoredToastList.end(), id);
+
+ if (it == mStoredToastList.end())
+ return NULL;
+
+ return it->toast;
+}