aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llcrashlogger/llcrashlogger.h
diff options
context:
space:
mode:
authorJacek Antonelli2008-09-06 18:24:57 -0500
committerJacek Antonelli2008-09-06 18:25:07 -0500
commit798d367d54a6c6379ad355bd8345fa40e31e7fe9 (patch)
tree1921f1708cd0240648c97bc02df2c2ab5f2fc41e /linden/indra/llcrashlogger/llcrashlogger.h
parentSecond Life viewer sources 1.20.15 (diff)
downloadmeta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.zip
meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.gz
meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.bz2
meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.xz
Second Life viewer sources 1.21.0-RC
Diffstat (limited to 'linden/indra/llcrashlogger/llcrashlogger.h')
-rwxr-xr-xlinden/indra/llcrashlogger/llcrashlogger.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/linden/indra/llcrashlogger/llcrashlogger.h b/linden/indra/llcrashlogger/llcrashlogger.h
index bf51e71..f8f7de7 100755
--- a/linden/indra/llcrashlogger/llcrashlogger.h
+++ b/linden/indra/llcrashlogger/llcrashlogger.h
@@ -50,23 +50,23 @@ public:
50 bool saveCrashBehaviorSetting(S32 crash_behavior); 50 bool saveCrashBehaviorSetting(S32 crash_behavior);
51 bool sendCrashLogs(); 51 bool sendCrashLogs();
52 LLSD constructPostData(); 52 LLSD constructPostData();
53 virtual void updateApplication(LLString message = ""); 53 virtual void updateApplication(const std::string& message = LLStringUtil::null);
54 virtual bool init(); 54 virtual bool init();
55 virtual bool mainLoop() = 0; 55 virtual bool mainLoop() = 0;
56 virtual bool cleanup() { return true; } 56 virtual bool cleanup() { return true; }
57 void setUserText(LLString& text) { mCrashInfo["UserNotes"] = text; } 57 void setUserText(const std::string& text) { mCrashInfo["UserNotes"] = text; }
58 S32 getCrashBehavior() { return mCrashBehavior; } 58 S32 getCrashBehavior() { return mCrashBehavior; }
59 bool runCrashLogPost(LLString host, LLSD data, LLString msg, int retries, int timeout); 59 bool runCrashLogPost(std::string host, LLSD data, std::string msg, int retries, int timeout);
60protected: 60protected:
61 S32 mCrashBehavior; 61 S32 mCrashBehavior;
62 BOOL mCrashInPreviousExec; 62 BOOL mCrashInPreviousExec;
63 std::map<LLString, LLString> mFileMap; 63 std::map<std::string, std::string> mFileMap;
64 LLString mGridName; 64 std::string mGridName;
65 LLControlGroup mCrashSettings; 65 LLControlGroup mCrashSettings;
66 LLString mProductName; 66 std::string mProductName;
67 LLSD mCrashInfo; 67 LLSD mCrashInfo;
68 LLString mCrashHost; 68 std::string mCrashHost;
69 LLString mAltCrashHost; 69 std::string mAltCrashHost;
70 LLSD mDebugLog; 70 LLSD mDebugLog;
71 bool mSentCrashLogs; 71 bool mSentCrashLogs;
72}; 72};
@@ -78,7 +78,7 @@ public:
78 ~LLCrashLoggerText(void) {} 78 ~LLCrashLoggerText(void) {}
79 79
80 virtual bool mainLoop(); 80 virtual bool mainLoop();
81 virtual void updateApplication(LLString message = ""); 81 virtual void updateApplication(const std::string& message = LLStringUtil::null);
82}; 82};
83 83
84 84