summaryrefslogtreecommitdiff
path: root/indra/newview/llviewerwindow.cpp
diff options
context:
space:
mode:
authorbrad kittenbrink <brad@lindenlab.com>2009-07-01 19:03:31 -0400
committerbrad kittenbrink <brad@lindenlab.com>2009-07-01 19:03:31 -0400
commit8b3cd39a45e288b8383a5e7953f68458637cb719 (patch)
treec96e28df4ca81d65e8982245f1c1327d488de511 /indra/newview/llviewerwindow.cpp
parentf94d959e84cdcc552f6f5a39ee08a85c1e52d858 (diff)
parent7e35f971442e5667c0f8732db31a8b8189f0f9f4 (diff)
Merged in windows LL_COMMON_API dll linkage fixes.
Diffstat (limited to 'indra/newview/llviewerwindow.cpp')
-rw-r--r--indra/newview/llviewerwindow.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/indra/newview/llviewerwindow.cpp b/indra/newview/llviewerwindow.cpp
index 5c9f8af216..dcd37d85da 100644
--- a/indra/newview/llviewerwindow.cpp
+++ b/indra/newview/llviewerwindow.cpp
@@ -30,6 +30,10 @@
* $/LicenseInfo$
*/
+#if defined(LL_WINDOWS)
+#pragma warning (disable : 4355) // 'this' used in initializer list: yes, intentionally
+#endif
+
#include "llviewerprecompiledheaders.h"
// system library includes
@@ -189,6 +193,7 @@
#include "llfloaternotificationsconsole.h"
#include "llnearbychathistory.h"
+#include "llviewerwindowlistener.h"
#if LL_WINDOWS
#include <tchar.h> // For Unicode conversion methods
@@ -1262,7 +1267,8 @@ LLViewerWindow::LLViewerWindow(
mResDirty(false),
mStatesDirty(false),
mIsFullscreenChecked(false),
- mCurrResolutionIndex(0)
+ mCurrResolutionIndex(0),
+ mViewerWindowListener(new LLViewerWindowListener("LLViewerWindow", this))
{
LLNotificationChannel::buildChannel("VW_alerts", "Visible", LLNotificationFilters::filterBy<std::string>(&LLNotification::getType, "alert"));
LLNotificationChannel::buildChannel("VW_alertmodal", "Visible", LLNotificationFilters::filterBy<std::string>(&LLNotification::getType, "alertmodal"));