1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
|
/* SPDX-License-Identifier: GPL-2.0-or-later */
/*!********************************************************************
Audacity: A Digital Audio Editor
WaitForActionDialog.cpp
Dmitry Vedenko
**********************************************************************/
#include "WaitForActionDialog.h"
namespace audacity::cloud::audiocom::sync
{
WaitForActionDialog::WaitForActionDialog(
const AudacityProject* project, const TranslatableString& title,
const TranslatableString& message, bool retryButton)
: AudioComDialogBase { project }
{
AddTitle(title);
AddParagraph(message);
AddButton(
CancelButtonIdentifier(), retryButton ? XO("Retry") : XO("Cancel"),
EscButton | DefaultButton);
}
bool WaitForActionDialog::HasSeparator() const
{
return false;
}
} // namespace audacity::cloud::audiocom::sync
|