diff options
author | William Todd Stinson <stinson@lindenlab.com> | 2012-12-06 20:28:25 -0800 |
---|---|---|
committer | William Todd Stinson <stinson@lindenlab.com> | 2012-12-06 20:28:25 -0800 |
commit | 9da625d439a9a911733564177e32facc3669dc58 (patch) | |
tree | a7fbca34c8f70052ec9ecc2a28ee0caf88cbb0f5 /indra/newview/llnotificationhinthandler.cpp | |
parent | 329001c7826b6070034bf87e36331a4e46eddd44 (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.cpp | 27 |
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; +} |