aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llappviewer.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/llappviewer.h18
1 files changed, 14 insertions, 4 deletions
diff --git a/linden/indra/newview/llappviewer.h b/linden/indra/newview/llappviewer.h
index 1078d71..ddf51b3 100644
--- a/linden/indra/newview/llappviewer.h
+++ b/linden/indra/newview/llappviewer.h
@@ -115,6 +115,8 @@ public:
115 115
116 bool isInProductionGrid(); 116 bool isInProductionGrid();
117 117
118 void removeMarkerFile();
119
118 // LLAppViewer testing helpers. 120 // LLAppViewer testing helpers.
119 // *NOTE: These will potentially crash the viewer. Only for debugging. 121 // *NOTE: These will potentially crash the viewer. Only for debugging.
120 virtual void forceErrorLLError(); 122 virtual void forceErrorLLError();
@@ -148,7 +150,6 @@ private:
148 150
149 bool anotherInstanceRunning(); 151 bool anotherInstanceRunning();
150 void initMarkerFile(); 152 void initMarkerFile();
151 void removeMarkerFile();
152 153
153 void idle(); 154 void idle();
154 void idleShutdown(); 155 void idleShutdown();
@@ -163,8 +164,8 @@ private:
163 164
164 bool mSecondInstance; // Is this a second instance of the app? 165 bool mSecondInstance; // Is this a second instance of the app?
165 166
166 FILE *mMarkerFile; // A file created to indicate the app is running. 167 LLString mMarkerFileName;
167 bool mLastExecFroze; // Set on init if the marker file was found. 168 apr_file_t* mMarkerFile; // A file created to indicate the app is running.
168 169
169 LLOSInfo mSysOSInfo; 170 LLOSInfo mSysOSInfo;
170 S32 mCrashBehavior; 171 S32 mCrashBehavior;
@@ -224,7 +225,16 @@ extern BOOL gAcceptTOS;
224extern BOOL gAcceptCriticalMessage; 225extern BOOL gAcceptCriticalMessage;
225 226
226extern LLUUID gViewerDigest; // MD5 digest of the viewer's executable file. 227extern LLUUID gViewerDigest; // MD5 digest of the viewer's executable file.
227extern BOOL gLastExecFroze; // llstartup 228
229typedef enum
230{
231 LAST_EXEC_NORMAL = 0,
232 LAST_EXEC_FROZE,
233 LAST_EXEC_LLERROR_CRASH,
234 LAST_EXEC_OTHER_CRASH
235} eLastExecEvent;
236
237extern eLastExecEvent gLastExecEvent; // llstartup
228 238
229extern U32 gFrameCount; 239extern U32 gFrameCount;
230extern U32 gForegroundFrameCount; 240extern U32 gForegroundFrameCount;