aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llstartup.h
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:44:46 -0500
committerJacek Antonelli2008-08-15 23:44:46 -0500
commit38d6d37f2d982fa959e9e8a4a3f7e1ccfad7b5d4 (patch)
treeadca584755d22ca041a2dbfc35d4eca01f70b32c /linden/indra/newview/llstartup.h
parentREADME.txt (diff)
downloadmeta-impy-38d6d37f2d982fa959e9e8a4a3f7e1ccfad7b5d4.zip
meta-impy-38d6d37f2d982fa959e9e8a4a3f7e1ccfad7b5d4.tar.gz
meta-impy-38d6d37f2d982fa959e9e8a4a3f7e1ccfad7b5d4.tar.bz2
meta-impy-38d6d37f2d982fa959e9e8a4a3f7e1ccfad7b5d4.tar.xz
Second Life viewer sources 1.13.2.12
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/llstartup.h91
1 files changed, 91 insertions, 0 deletions
diff --git a/linden/indra/newview/llstartup.h b/linden/indra/newview/llstartup.h
new file mode 100644
index 0000000..c2c822e
--- /dev/null
+++ b/linden/indra/newview/llstartup.h
@@ -0,0 +1,91 @@
1/**
2 * @file llstartup.h
3 * @brief startup routines and logic declaration
4 *
5 * Copyright (c) 2004-2007, Linden Research, Inc.
6 *
7 * The source code in this file ("Source Code") is provided by Linden Lab
8 * to you under the terms of the GNU General Public License, version 2.0
9 * ("GPL"), unless you have obtained a separate licensing agreement
10 * ("Other License"), formally executed by you and Linden Lab. Terms of
11 * the GPL can be found in doc/GPL-license.txt in this distribution, or
12 * online at http://secondlife.com/developers/opensource/gplv2
13 *
14 * There are special exceptions to the terms and conditions of the GPL as
15 * it is applied to this Source Code. View the full text of the exception
16 * in the file doc/FLOSS-exception.txt in this software distribution, or
17 * online at http://secondlife.com/developers/opensource/flossexception
18 *
19 * By copying, modifying or distributing this software, you acknowledge
20 * that you have read and understood your obligations described above,
21 * and agree to abide by those obligations.
22 *
23 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
24 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
25 * COMPLETENESS OR PERFORMANCE.
26 */
27
28#ifndef LL_LLSTARTUP_H
29#define LL_LLSTARTUP_H
30
31// functions
32BOOL idle_startup();
33void cleanup_app();
34LLString load_password_from_disk();
35
36// constants, variables, & enumerations
37extern const char* SCREEN_HOME_FILENAME;
38extern const char* SCREEN_LAST_FILENAME;
39
40enum EStartupState{
41 STATE_FIRST,
42 STATE_LOGIN_SHOW,
43 STATE_LOGIN_WAIT,
44 STATE_LOGIN_CLEANUP,
45 STATE_RESOLVING_USERSERVER,
46 STATE_USERSERVER_RESOLVED,
47 STATE_MESSAGE_TEMPLATE_SEND,
48 STATE_MESSAGE_TEMPLATE_WAIT,
49 STATE_UPDATE_CHECK,
50 STATE_LOGIN_AUTH_INIT,
51 STATE_LOGIN_AUTHENTICATE,
52 STATE_LOGIN_NO_DATA_YET,
53 STATE_LOGIN_DOWNLOADING,
54 STATE_LOGIN_PROCESS_RESPONSE,
55 //STATE_USERSERVER_SEND,
56 //STATE_USERSERVER_WAIT,
57 //STATE_LOCATION_SEND,
58 //STATE_LOCATION_WAIT,
59 STATE_WORLD_INIT,
60 STATE_QUICKTIME_INIT,
61 STATE_WORLD_WAIT,
62 STATE_AGENT_SEND,
63 STATE_AGENT_WAIT,
64 STATE_INVENTORY_SEND,
65 STATE_CONNECT_USERSERVER,
66 STATE_MISC,
67 STATE_PRECACHE,
68 STATE_WEARABLES_WAIT,
69 //STATE_INVENTORY_WAIT,
70 //STATE_TOS_AGREEMENT_START,
71 //STATE_TOS_AGREEMENT_WAIT,
72 //STATE_CRITICAL_MESSAGE_START,
73 //STATE_CRITICAL_MESSAGE_WAIT,
74 STATE_CLEANUP,
75 STATE_STARTED
76};
77
78// exorted symbol
79extern S32 gStartupState;
80extern bool gQuickTimeInitialized;
81
82class LLStartUp
83{
84public:
85 static bool canGoFullscreen();
86 // returns true if we are far enough along in startup to allow
87 // going full screen
88};
89
90
91#endif // LL_LLSTARTUP_H