diff options
author | Jacek Antonelli | 2008-08-15 23:45:34 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:45:34 -0500 |
commit | cd17687f01420952712a500107e0f93e7ab8d5f8 (patch) | |
tree | ce48c2b706f2c1176290e39fb555fbdf6648ce01 /linden/indra/newview/llnotify.h | |
parent | Second Life viewer sources 1.19.0.5 (diff) | |
download | meta-impy-cd17687f01420952712a500107e0f93e7ab8d5f8.zip meta-impy-cd17687f01420952712a500107e0f93e7ab8d5f8.tar.gz meta-impy-cd17687f01420952712a500107e0f93e7ab8d5f8.tar.bz2 meta-impy-cd17687f01420952712a500107e0f93e7ab8d5f8.tar.xz |
Second Life viewer sources 1.19.1.0
Diffstat (limited to 'linden/indra/newview/llnotify.h')
-rw-r--r-- | linden/indra/newview/llnotify.h | 11 |
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. |