summaryrefslogtreecommitdiff
path: root/indra/newview/llappviewermacosx-for-objc.h
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2018-06-28 21:49:07 -0400
committerNat Goodspeed <nat@lindenlab.com>2018-06-28 21:49:07 -0400
commitcd52724ef8f8a19ebe28c73f39a582b56fb58093 (patch)
treefb387f3bac2de3590a2215ef99f63cbd303de5b9 /indra/newview/llappviewermacosx-for-objc.h
parentf6e7893a6e34190e8080d289a5f89d7f9c47d583 (diff)
DRTVWR-447: Suppress BugSplat UI; auto-fill certain BugSplat data.
Direct BugSplat to send crash reports without prompting, on both Windows and Mac. Add a mechanism by which code called after LL_ERRS() can retrieve the fatal log message string. (How did the crash logger extract that for Linden crash logging?) Add that fatal message to crash reports on Windows. But as BugsplatMac is engaged only on the run _after_ the crash, we no longer have that message in memory. Also add user name and region location to Windows crash reports. On Mac, (a) we don't have the information from the previous run and (b) BugsplatMac doesn't provide an API to attach that information to the crash report. Add Mac logging to indicate the success or failure of sending the crash report. Add Windows logging to indicate we're about to send.
Diffstat (limited to 'indra/newview/llappviewermacosx-for-objc.h')
-rw-r--r--indra/newview/llappviewermacosx-for-objc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/llappviewermacosx-for-objc.h b/indra/newview/llappviewermacosx-for-objc.h
index c439297611..ac85d7e8c3 100644
--- a/indra/newview/llappviewermacosx-for-objc.h
+++ b/indra/newview/llappviewermacosx-for-objc.h
@@ -30,6 +30,8 @@ bool pumpMainLoop();
void handleQuit();
void cleanupViewer();
std::string getOldLogFilePathname();
+std::string getFatalMessage();
+std::string getAgentFullname();
void infos(const std::string& message);
#endif /* ! defined(LL_LLAPPVIEWERMACOSX_FOR_OBJC_H) */