diff options
author | brad kittenbrink <brad@lindenlab.com> | 2009-09-01 12:21:51 -0400 |
---|---|---|
committer | brad kittenbrink <brad@lindenlab.com> | 2009-09-01 12:21:51 -0400 |
commit | bae94e434090f83d12941ca25aca13203db671b6 (patch) | |
tree | b83d09a5eb4780c5f3077ac73b10199582f6adcd /indra/newview/llviewerwindow.cpp | |
parent | 3069355a6f33b7bbcfc8c493910a40e6836249e1 (diff) | |
parent | 3dc23bc1831e84b8d8288d9a4f006f9597d9443a (diff) |
Merged login-api with viewer-2.0.0-3 up through r132290.
Diffstat (limited to 'indra/newview/llviewerwindow.cpp')
-rw-r--r-- | indra/newview/llviewerwindow.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/indra/newview/llviewerwindow.cpp b/indra/newview/llviewerwindow.cpp index 461f7fc1c7..c6ac9c9172 100644 --- a/indra/newview/llviewerwindow.cpp +++ b/indra/newview/llviewerwindow.cpp @@ -32,6 +32,10 @@ #include "llviewerprecompiledheaders.h" +#if LL_WINDOWS +#pragma warning (disable : 4355) // 'this' used in initializer list: yes, intentionally +#endif + // system library includes #include <stdio.h> #include <iostream> @@ -194,6 +198,7 @@ #include "llfloaternotificationsconsole.h" #include "llnearbychat.h" +#include "llviewerwindowlistener.h" #if LL_WINDOWS #include <tchar.h> // For Unicode conversion methods @@ -1258,7 +1263,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")); |