From 8d776c4bdc1b272bd73d2b27c4687e64264d9e99 Mon Sep 17 00:00:00 2001 From: Alexei Arabadji Date: Fri, 27 Nov 2009 15:20:08 +0200 Subject: avoided include llnotifications.h --HG-- branch : product-engine --- indra/newview/llpanelavatar.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/indra/newview/llpanelavatar.cpp b/indra/newview/llpanelavatar.cpp index 4c26440bda..97c1e96175 100644 --- a/indra/newview/llpanelavatar.cpp +++ b/indra/newview/llpanelavatar.cpp @@ -50,7 +50,7 @@ #include "llweb.h" #include "llfloaterworldmap.h" #include "llfloaterreg.h" -#include "llnotifications.h" +#include "llnotificationsutil.h" //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // Class LLDropTarget @@ -203,7 +203,7 @@ void LLPanelAvatarNotes::onCommitNotes() void LLPanelAvatarNotes::rightsConfirmationCallback(const LLSD& notification, const LLSD& response, S32 rights) { - S32 option = LLNotification::getSelectedOption(notification, response); + S32 option = LLNotificationsUtil::getSelectedOption(notification, response); if (option == 0) { LLAvatarPropertiesProcessor::getInstance()->sendFriendRights( @@ -228,13 +228,13 @@ void LLPanelAvatarNotes::confirmModifyRights(bool grant, S32 rights) if (grant) { - LLNotifications::instance().add("GrantModifyRights", args, LLSD(), + LLNotificationsUtil::add("GrantModifyRights", args, LLSD(), boost::bind(&LLPanelAvatarNotes::rightsConfirmationCallback, this, _1, _2, rights)); } else { - LLNotifications::instance().add("RevokeModifyRights", args, LLSD(), + LLNotificationsUtil::add("RevokeModifyRights", args, LLSD(), boost::bind(&LLPanelAvatarNotes::rightsConfirmationCallback, this, _1, _2, rights)); } -- cgit v1.2.3