diff options
| author | Merov Linden <merov@lindenlab.com> | 2012-12-19 11:04:24 -0800 |
|---|---|---|
| committer | Merov Linden <merov@lindenlab.com> | 2012-12-19 11:04:24 -0800 |
| commit | e32f110b9a17928285dc9e39953abce9eecf9742 (patch) | |
| tree | 1be90f51b3117efd4b4d938a5692095244c1c5cd /indra/newview/llnotificationhandlerutil.cpp | |
| parent | 8adca4583ec95ac063f79990ac092998f24415b8 (diff) | |
| parent | b34e3a1b40fd72b4c4cdc1553c3f5934e9e9cef5 (diff) | |
Pull merge from richard/viewer-chui
Diffstat (limited to 'indra/newview/llnotificationhandlerutil.cpp')
| -rw-r--r-- | indra/newview/llnotificationhandlerutil.cpp | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/indra/newview/llnotificationhandlerutil.cpp b/indra/newview/llnotificationhandlerutil.cpp index 7f1216ff40..f0175d677c 100644 --- a/indra/newview/llnotificationhandlerutil.cpp +++ b/indra/newview/llnotificationhandlerutil.cpp @@ -41,8 +41,16 @@ using namespace LLNotificationsUI; -LLSysHandler::LLSysHandler(const std::string& name, const std::string& notification_type) -: LLNotificationChannel(name, "Visible", LLNotificationFilters::filterBy<std::string>(&LLNotification::getType, notification_type)) +LLNotificationHandler::LLNotificationHandler(const std::string& name, const std::string& notification_type, const std::string& parentName) +: LLNotificationChannel(name, parentName, LLNotificationFilters::filterBy<std::string>(&LLNotification::getType, notification_type)) +{} + +LLSystemNotificationHandler::LLSystemNotificationHandler(const std::string& name, const std::string& notification_type) + : LLNotificationHandler(name, notification_type, "System") +{} + +LLCommunicationNotificationHandler::LLCommunicationNotificationHandler(const std::string& name, const std::string& notification_type) + : LLNotificationHandler(name, notification_type, "Communication") {} // static |
