1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-07-13 15:17:42 +02:00
audacity/src/CrashReport.h
Paul Licameli 406b23cae7 More uses of AUDACITY_DLL_API...
... in many places where the function call will later need to be between
modules (or libraries, or the executable) and the annotation will be a necessity
to keep the linkage working on Windows.

That's all that this sweeping commit does.
2021-05-10 10:46:55 -04:00

37 lines
663 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
#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
{
AUDACITY_DLL_API
void Generate(wxDebugReport::Context ctx);
}
#endif
#endif
#endif