diff options
Diffstat (limited to 'linden/indra/newview/llstartup.h')
-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 | }; |