diff options
author | Armin Weatherwax | 2009-06-26 09:39:58 +0200 |
---|---|---|
committer | Armin Weatherwax | 2009-07-11 13:42:35 +0200 |
commit | 7067b31a6114089217e482bfecc58fd56bed4272 (patch) | |
tree | e0bb99a42c64cdb75e9ca15a38bc1171377c7739 /linden/indra/newview/llstartup.h | |
parent | Updated URL for Mac OpenAL libs package. (diff) | |
download | meta-impy-7067b31a6114089217e482bfecc58fd56bed4272.zip meta-impy-7067b31a6114089217e482bfecc58fd56bed4272.tar.gz meta-impy-7067b31a6114089217e482bfecc58fd56bed4272.tar.bz2 meta-impy-7067b31a6114089217e482bfecc58fd56bed4272.tar.xz |
BROKEN logoff/relog crashing inconsistently on various startup states.
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/llstartup.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/linden/indra/newview/llstartup.h b/linden/indra/newview/llstartup.h index cde9a1a..cf6d17c 100644 --- a/linden/indra/newview/llstartup.h +++ b/linden/indra/newview/llstartup.h | |||
@@ -87,7 +87,10 @@ public: | |||
87 | // Always use this to set gStartupState so changes are logged | 87 | // Always use this to set gStartupState so changes are logged |
88 | static void setStartupState( EStartupState state ); | 88 | static void setStartupState( EStartupState state ); |
89 | static EStartupState getStartupState() { return gStartupState; }; | 89 | static EStartupState getStartupState() { return gStartupState; }; |
90 | static std::string getStartupStateString() { return startupStateToString(gStartupState); }; | 90 | static void resetLogin(); |
91 | |||
92 | static void setStartedOnce(bool started); | ||
93 | static bool getStartedOnce() { return mStartedOnce; }; | ||
91 | 94 | ||
92 | static void multimediaInit(); | 95 | static void multimediaInit(); |
93 | // Initialize LLViewerMedia multimedia engine. | 96 | // Initialize LLViewerMedia multimedia engine. |
@@ -105,8 +108,12 @@ public: | |||
105 | static std::string sSLURLCommand; | 108 | static std::string sSLURLCommand; |
106 | // *HACK: On startup, if we were passed a secondlife://app/do/foo | 109 | // *HACK: On startup, if we were passed a secondlife://app/do/foo |
107 | // command URL, store it for later processing. | 110 | // command URL, store it for later processing. |
111 | static bool shouldAutoLogin() { return mShouldAutoLogin; }; | ||
112 | static void setShouldAutoLogin(bool value) { mShouldAutoLogin = value; }; | ||
108 | 113 | ||
109 | private: | 114 | private: |
115 | static bool mStartedOnce; | ||
116 | static bool mShouldAutoLogin; | ||
110 | static std::string startupStateToString(EStartupState state); | 117 | static std::string startupStateToString(EStartupState state); |
111 | static EStartupState gStartupState; // Do not set directly, use LLStartup::setStartupState | 118 | static EStartupState gStartupState; // Do not set directly, use LLStartup::setStartupState |
112 | }; | 119 | }; |