mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-16 16:10:06 +02:00
... This makes it impossible to forget to include the EXPERIMENTAL definitions (such as when cutting and pasting code) and so get unintended quiet changes of behavior. The EXPERIMENTAL flags are now specified instead in new file Experimental.cmake
36 lines
661 B
C++
36 lines
661 B
C++
/**********************************************************************
|
|
|
|
Audacity: A Digital Audio Editor
|
|
|
|
CrashReport.h
|
|
|
|
Paul Licameli
|
|
split from AudacityApp.h
|
|
|
|
**********************************************************************/
|
|
|
|
#ifndef __AUDACITY_CRASH_REPORT__
|
|
#define __AUDACITY_CRASH_REPORT__
|
|
|
|
#undef HAS_CRASH_REPORT
|
|
|
|
#include "Audacity.h"
|
|
|
|
|
|
#if defined(EXPERIMENTAL_CRASH_REPORT)
|
|
|
|
#include <wx/setup.h> // for wxUSE* macros
|
|
#if defined(wxUSE_DEBUGREPORT) && wxUSE_DEBUGREPORT
|
|
#define HAS_CRASH_REPORT
|
|
#include <wx/debugrpt.h>
|
|
|
|
namespace CrashReport
|
|
{
|
|
void Generate(wxDebugReport::Context ctx);
|
|
}
|
|
#endif
|
|
|
|
#endif
|
|
|
|
#endif
|