Audacity 3.2.0
CrashReport.h
Go to the documentation of this file.
1/**********************************************************************
2
3 Audacity: A Digital Audio Editor
4
5 CrashReport.h
6
7 Paul Licameli
8 split from AudacityApp.h
9
10 **********************************************************************/
11
12#ifndef __AUDACITY_CRASH_REPORT__
13#define __AUDACITY_CRASH_REPORT__
14
15#undef HAS_CRASH_REPORT
16
17
18
19
20#if defined(EXPERIMENTAL_CRASH_REPORT)
21
22#include <wx/setup.h> // for wxUSE* macros
23#if defined(wxUSE_DEBUGREPORT) && wxUSE_DEBUGREPORT
24 #define HAS_CRASH_REPORT
25 #include <wx/debugrpt.h>
26
27 namespace CrashReport
28 {
29 AUDACITY_DLL_API
30 void Generate(wxDebugReport::Context ctx);
31 }
32#endif
33
34#endif
35
36#endif