summaryrefslogtreecommitdiff
path: root/indra/newview/llwindebug.h
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llwindebug.h')
-rw-r--r--indra/newview/llwindebug.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/indra/newview/llwindebug.h b/indra/newview/llwindebug.h
new file mode 100644
index 0000000000..e328ffe58d
--- /dev/null
+++ b/indra/newview/llwindebug.h
@@ -0,0 +1,24 @@
+/**
+ * @file llwindebug.h
+ * @brief LLWinDebug class header file
+ *
+ * Copyright (c) 2004-$CurrentYear$, Linden Research, Inc.
+ * $License$
+ */
+
+#ifndef LL_LLWINDEBUG_H
+#define LL_LLWINDEBUG_H
+
+#include "stdtypes.h"
+#include <dbghelp.h>
+
+class LLWinDebug
+{
+public:
+ static BOOL setupExceptionHandler();
+
+ static LONG WINAPI handleException(struct _EXCEPTION_POINTERS *pExceptionInfo);
+ static void writeDumpToFile(MINIDUMP_TYPE type, MINIDUMP_EXCEPTION_INFORMATION *ExInfop, const char *filename);
+};
+
+#endif // LL_LLWINDEBUG_H