aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llnotify.h
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/llnotify.h')
-rw-r--r--linden/indra/newview/llnotify.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/linden/indra/newview/llnotify.h b/linden/indra/newview/llnotify.h
index 3084143..9421a5b 100644
--- a/linden/indra/newview/llnotify.h
+++ b/linden/indra/newview/llnotify.h
@@ -170,6 +170,17 @@ public:
170 170
171 virtual EWidgetType getWidgetType() const { return WIDGET_TYPE_VIEW; }; 171 virtual EWidgetType getWidgetType() const { return WIDGET_TYPE_VIEW; };
172 virtual LLString getWidgetTag() const { return LLString(); } 172 virtual LLString getWidgetTag() const { return LLString(); }
173
174 class Matcher
175 {
176 public:
177 Matcher(){}
178 virtual ~Matcher() {}
179 virtual BOOL matches(LLNotifyBox::notify_callback_t callback, void* cb_data) const = 0;
180 };
181 // Walks the list and removes any stacked messages for which the given matcher returns TRUE.
182 // Useful when muting people and things in order to clear out any similar previously queued messages.
183 void purgeMessagesMatching(const Matcher& matcher);
173}; 184};
174 185
175// This view contains the stack of notification windows. 186// This view contains the stack of notification windows.