summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorWilliam Todd Stinson <stinson@lindenlab.com>2012-12-10 19:14:37 -0800
committerWilliam Todd Stinson <stinson@lindenlab.com>2012-12-10 19:14:37 -0800
commit4d3590ae9c0040d010badc026b755634e7b3ac77 (patch)
tree4bc58469357ac1585500f67421ec77c6d6a5558d /indra
parent3c591c1a929ddc8447620e5062401b6586ebc718 (diff)
Correcting a mac build error.
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llnotificationhandler.h2
-rwxr-xr-xindra/newview/llviewerwindow.cpp2
-rw-r--r--indra/newview/llviewerwindow.h9
3 files changed, 4 insertions, 9 deletions
diff --git a/indra/newview/llnotificationhandler.h b/indra/newview/llnotificationhandler.h
index 98b0eecd0d..a78f0c067b 100644
--- a/indra/newview/llnotificationhandler.h
+++ b/indra/newview/llnotificationhandler.h
@@ -225,8 +225,6 @@ protected:
virtual void initChannel() {};
};
-typedef boost::intrusive_ptr<LLViewerAlertHandler> LLViewerAlertHandlerPtr;
-
/**
* Handler for offers notices.
* It manages life time of offer notices.
diff --git a/indra/newview/llviewerwindow.cpp b/indra/newview/llviewerwindow.cpp
index 7b1cf6e180..eae5112b03 100755
--- a/indra/newview/llviewerwindow.cpp
+++ b/indra/newview/llviewerwindow.cpp
@@ -1561,8 +1561,6 @@ LLViewerWindow::LLViewerWindow(const Params& p)
mAlertsChannel.reset(new LLNotificationsUI::LLViewerAlertHandler("VW_alerts", "alert"));
mModalAlertsChannel.reset(new LLNotificationsUI::LLViewerAlertHandler("VW_alertmodal", "alertmodal"));
- //mAlertsChannel->connectChanged(&LLViewerWindow::onAlert);
- //mModalAlertsChannel->connectChanged(&LLViewerWindow::onAlert);
bool ignore = gSavedSettings.getBOOL("IgnoreAllNotifications");
LLNotifications::instance().setIgnoreAllNotifications(ignore);
if (ignore)
diff --git a/indra/newview/llviewerwindow.h b/indra/newview/llviewerwindow.h
index b828a05384..5a0d9652b8 100644
--- a/indra/newview/llviewerwindow.h
+++ b/indra/newview/llviewerwindow.h
@@ -44,7 +44,6 @@
#include "llstat.h"
#include "llmousehandler.h"
#include "llnotifications.h"
-#include "llnotificationhandler.h"
#include "llhandle.h"
#include "llinitparam.h"
@@ -419,10 +418,10 @@ private:
bool mActive;
bool mUIVisible;
- LLNotificationChannelPtr mSystemChannel;
- LLNotificationChannelPtr mCommunicationChannel;
- LLNotificationsUI::LLViewerAlertHandlerPtr mAlertsChannel;
- LLNotificationsUI::LLViewerAlertHandlerPtr mModalAlertsChannel;
+ LLNotificationChannelPtr mSystemChannel;
+ LLNotificationChannelPtr mCommunicationChannel;
+ LLNotificationChannelPtr mAlertsChannel;
+ LLNotificationChannelPtr mModalAlertsChannel;
LLRect mWindowRectRaw; // whole window, including UI
LLRect mWindowRectScaled; // whole window, scaled by UI size