Audacity
3.2.0
src
widgets
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
23
const
TranslatableString
&
DefaultWarningFooter
();
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__
ShowWarningDialog
AUDACITY_DLL_API int ShowWarningDialog(wxWindow *parent, const wxString &internalDialogName, const TranslatableString &message, bool showCancelButton=false, const TranslatableString &footer=DefaultWarningFooter())
Definition:
Warning.cpp:90
DefaultWarningFooter
AUDACITY_DLL_API const TranslatableString & DefaultWarningFooter()
Definition:
Warning.cpp:51
TranslatableString
Holds a msgid for the translation catalog; may also bind format arguments.
Definition:
TranslatableString.h:32
Generated by
1.9.3