aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llappviewer.h
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:45:50 -0500
committerJacek Antonelli2008-08-15 23:45:50 -0500
commit2a4dea528f670b9bb1f77ef27a8a1dd16603d114 (patch)
tree95c68e362703c9099d571ecbdc6142b1cda1e005 /linden/indra/newview/llappviewer.h
parentSecond Life viewer sources 1.20.6 (diff)
downloadmeta-impy-2a4dea528f670b9bb1f77ef27a8a1dd16603d114.zip
meta-impy-2a4dea528f670b9bb1f77ef27a8a1dd16603d114.tar.gz
meta-impy-2a4dea528f670b9bb1f77ef27a8a1dd16603d114.tar.bz2
meta-impy-2a4dea528f670b9bb1f77ef27a8a1dd16603d114.tar.xz
Second Life viewer sources 1.20.7
Diffstat (limited to 'linden/indra/newview/llappviewer.h')
-rw-r--r--linden/indra/newview/llappviewer.h19
1 files changed, 9 insertions, 10 deletions
diff --git a/linden/indra/newview/llappviewer.h b/linden/indra/newview/llappviewer.h
index b3f3681..160f2c8 100644
--- a/linden/indra/newview/llappviewer.h
+++ b/linden/indra/newview/llappviewer.h
@@ -35,7 +35,7 @@
35class LLTextureCache; 35class LLTextureCache;
36class LLWorkerThread; 36class LLWorkerThread;
37class LLTextureFetch; 37class LLTextureFetch;
38 38class LLWatchdogTimeout;
39class LLCommandLineParser; 39class LLCommandLineParser;
40 40
41class LLAppViewer : public LLApp 41class LLAppViewer : public LLApp
@@ -96,13 +96,6 @@ public:
96 const LLString& getSecondLifeTitle() const; // The Second Life title. 96 const LLString& getSecondLifeTitle() const; // The Second Life title.
97 const LLString& getWindowTitle() const; // The window display name. 97 const LLString& getWindowTitle() const; // The window display name.
98 98
99 // Helpers for URIs
100 void addLoginURI(const std::string& uri);
101 void setHelperURI(const std::string& uri);
102 const std::vector<std::string>& getLoginURIs() const;
103 const std::string& getHelperURI() const;
104 void resetURIs() const;
105
106 void forceDisconnect(const LLString& msg); // Force disconnection, with a message to the user. 99 void forceDisconnect(const LLString& msg); // Force disconnection, with a message to the user.
107 void badNetworkHandler(); // Cause a crash state due to bad network packet. 100 void badNetworkHandler(); // Cause a crash state due to bad network packet.
108 101
@@ -112,8 +105,6 @@ public:
112 void loadNameCache(); 105 void loadNameCache();
113 void saveNameCache(); 106 void saveNameCache();
114 107
115 bool isInProductionGrid();
116
117 void removeMarkerFile(bool leave_logout_marker = false); 108 void removeMarkerFile(bool leave_logout_marker = false);
118 109
119 // LLAppViewer testing helpers. 110 // LLAppViewer testing helpers.
@@ -137,6 +128,11 @@ public:
137 128
138 std::string getSettingsFileName(const std::string& file); 129 std::string getSettingsFileName(const std::string& file);
139 130
131 // For thread debugging.
132 // llstartup needs to control this.
133 // llworld, send_agent_pause() also controls this.
134 void startMainloopTimeout(F32 secs = -1.0f);
135 void stopMainloopTimeout();
140 136
141protected: 137protected:
142 virtual bool initWindow(); // Initialize the viewer's window. 138 virtual bool initWindow(); // Initialize the viewer's window.
@@ -154,6 +150,7 @@ private:
154 150
155 bool initThreads(); // Initialize viewer threads, return false on failure. 151 bool initThreads(); // Initialize viewer threads, return false on failure.
156 bool initConfiguration(); // Initialize settings from the command line/config file. 152 bool initConfiguration(); // Initialize settings from the command line/config file.
153 void initGridChoice();
157 154
158 bool initCache(); // Initialize local client cache. 155 bool initCache(); // Initialize local client cache.
159 void purgeCache(); // Clear the local cache. 156 void purgeCache(); // Clear the local cache.
@@ -207,6 +204,8 @@ private:
207 bool mLogoutRequestSent; // Disconnect message sent to simulator, no longer safe to send messages to the sim. 204 bool mLogoutRequestSent; // Disconnect message sent to simulator, no longer safe to send messages to the sim.
208 S32 mYieldTime; 205 S32 mYieldTime;
209 LLSD mSettingsFileList; 206 LLSD mSettingsFileList;
207
208 LLWatchdogTimeout* mMainloopTimeout;
210}; 209};
211 210
212// consts from viewer.h 211// consts from viewer.h