From 41c3b459f2fa381bdc3e79864ef917f833257274 Mon Sep 17 00:00:00 2001 From: Alexei Arabadji Date: Wed, 3 Mar 2010 19:48:16 +0200 Subject: =?UTF-8?q?fixed=20EXT-5685=20=E2=80=9CDuplicated=20'user=20online?= =?UTF-8?q?/offline'=20toasts=20after=20coming=20back=20to=20Viewer?= =?UTF-8?q?=E2=80=9D,=20implemented=20filtering=20of=20exclusive=20notific?= =?UTF-8?q?ations;?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --HG-- branch : product-engine --- indra/newview/llnotificationhandler.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'indra/newview/llnotificationhandler.h') diff --git a/indra/newview/llnotificationhandler.h b/indra/newview/llnotificationhandler.h index 0d5c431d75..a163b6fd62 100644 --- a/indra/newview/llnotificationhandler.h +++ b/indra/newview/llnotificationhandler.h @@ -122,9 +122,17 @@ protected: class LLSysHandler : public LLEventHandler { public: + LLSysHandler(); virtual ~LLSysHandler() {}; virtual bool processNotification(const LLSD& notify)=0; + +protected : + static void init(); + void removeExclusiveNotifications(const LLNotificationPtr& notif); + + typedef std::list< std::set > exclusive_notif_sets; + static exclusive_notif_sets sExclusiveNotificationGroups; }; /** @@ -171,6 +179,7 @@ public: protected: virtual void onDeleteToast(LLToast* toast); + virtual void onRejectToast(const LLUUID& id); virtual void initChannel(); }; -- cgit v1.2.3