summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorAlexei Arabadji <aarabadji@productengine.com>2009-11-27 15:20:08 +0200
committerAlexei Arabadji <aarabadji@productengine.com>2009-11-27 15:20:08 +0200
commit8d776c4bdc1b272bd73d2b27c4687e64264d9e99 (patch)
tree963e3540bae9d1a64590e37530bdee4f60bf1744 /indra
parente4f9af1b55de0cd34b02bcc7cd49420f6e54f6ae (diff)
avoided include llnotifications.h
--HG-- branch : product-engine
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llpanelavatar.cpp8
1 files 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));
}