Audacity 3.2.0
WaitForActionDialog.cpp
Go to the documentation of this file.
1/* SPDX-License-Identifier: GPL-2.0-or-later */
2/*!********************************************************************
3
4 Audacity: A Digital Audio Editor
5
6 WaitForActionDialog.cpp
7
8 Dmitry Vedenko
9
10**********************************************************************/
11#include "WaitForActionDialog.h"
12
14{
17 const TranslatableString& message, bool retryButton)
19
20{
22 AddParagraph(message);
24 CancelButtonIdentifier(), retryButton ? XO("Retry") : XO("Cancel"),
26}
27
29{
30 return false;
31}
32} // namespace audacity::cloud::audiocom::sync
XO("Cut/Copy/Paste")
static const auto title
const auto project
The top-level handle to an Audacity project. It serves as a source of events that other objects can b...
Definition: Project.h:90
Holds a msgid for the translation catalog; may also bind format arguments.
void AddTitle(const TranslatableString &title)
void AddButton(DialogButtonIdentifier identifier, const TranslatableString &text, int type=None)
void AddParagraph(const TranslatableString &paragraph)
WaitForActionDialog(const AudacityProject *project, const TranslatableString &title=XO("Waiting for audio.com"), const TranslatableString &message=XO("An action on audio.com is required before you can continue. Once you are done with it, click Retry"), bool retryButton=true)