summaryrefslogtreecommitdiff
path: root/indra/newview/llnotificationhinthandler.cpp
diff options
context:
space:
mode:
authorWilliam Todd Stinson <stinson@lindenlab.com>2012-12-06 20:28:25 -0800
committerWilliam Todd Stinson <stinson@lindenlab.com>2012-12-06 20:28:25 -0800
commit9da625d439a9a911733564177e32facc3669dc58 (patch)
treea7fbca34c8f70052ec9ecc2a28ee0caf88cbb0f5 /indra/newview/llnotificationhinthandler.cpp
parent329001c7826b6070034bf87e36331a4e46eddd44 (diff)
CHUI-494: WIP First pass at getting the suppression of events in DND working.
Diffstat (limited to 'indra/newview/llnotificationhinthandler.cpp')
-rw-r--r--indra/newview/llnotificationhinthandler.cpp27
1 files changed, 24 insertions, 3 deletions
diff --git a/indra/newview/llnotificationhinthandler.cpp b/indra/newview/llnotificationhinthandler.cpp
index 271f418507..f40369a2e0 100644
--- a/indra/newview/llnotificationhinthandler.cpp
+++ b/indra/newview/llnotificationhinthandler.cpp
@@ -33,6 +33,27 @@
using namespace LLNotificationsUI;
-void LLHintHandler::onAdd(LLNotificationPtr p) { LLHints::show(p); }
-void LLHintHandler::onLoad(LLNotificationPtr p) { LLHints::show(p); }
-void LLHintHandler::onDelete(LLNotificationPtr p) { LLHints::hide(p); }
+LLHintHandler::LLHintHandler()
+ : LLSystemNotificationHandler("Hints", "hint")
+{
+}
+
+void LLHintHandler::onAdd(LLNotificationPtr p)
+{
+ LLHints::show(p);
+}
+
+void LLHintHandler::onLoad(LLNotificationPtr p)
+{
+ LLHints::show(p);
+}
+
+void LLHintHandler::onDelete(LLNotificationPtr p)
+{
+ LLHints::hide(p);
+}
+
+bool LLHintHandler::processNotification(const LLNotificationPtr& p)
+{
+ return false;
+}