Audacity  3.0.3
Warning.h
Go to the documentation of this file.
1 /**********************************************************************
2 
3  Audacity: A Digital Audio Editor
4 
5  Warning.h
6 
7  Dominic Mazzoni
8 
9 **********************************************************************/
10 
11 #ifndef __AUDACITY_WARNING__
12 #define __AUDACITY_WARNING__
13 
14 
15 
16 #include <wx/defs.h>
17 class wxString;
18 class wxWindow;
19 class TranslatableString;
20 
21 // "Don't show this warning again"
22 AUDACITY_DLL_API
24 
29 AUDACITY_DLL_API
30 int ShowWarningDialog(wxWindow *parent,
31  const wxString &internalDialogName,
32  const TranslatableString &message,
33  bool showCancelButton = false,
34  // This message appears by the checkbox:
35  const TranslatableString &footer = DefaultWarningFooter());
36 
37 #endif // __AUDACITY_WARNING__
TranslatableString
Holds a msgid for the translation catalog; may also bind format arguments.
Definition: TranslatableString.h:32
DefaultWarningFooter
AUDACITY_DLL_API const TranslatableString & DefaultWarningFooter()
Definition: Warning.cpp:53
ShowWarningDialog
AUDACITY_DLL_API int ShowWarningDialog(wxWindow *parent, const wxString &internalDialogName, const TranslatableString &message, bool showCancelButton=false, const TranslatableString &footer=DefaultWarningFooter())
Definition: Warning.cpp:92