Audacity
3.2.0
modules
sharing
mod-cloud-audiocom
ui
dialogs
SyncSucceededDialog.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
SyncSucceededDialog.cpp
7
8
Dmitry Vedenko
9
10
**********************************************************************/
11
12
#include "
SyncSucceededDialog.h
"
13
14
namespace
audacity::cloud::audiocom::sync
15
{
16
SyncSucceededDialog::SyncSucceededDialog
(
const
AudacityProject
*
project
)
17
:
AudioComDialogBase
{
project
}
18
{
19
AddTitle
(
XO
(
"Success!"
));
20
AddParagraph
(
21
XO
(
"All saved changes will now update to the cloud. You can manage this file from your uploaded projects page on audio.com"
));
22
23
AddButton
(
ViewOnlineIdentifier
(),
XO
(
"Done"
),
DefaultButton
);
24
}
25
26
DialogButtonIdentifier
SyncSucceededDialog::ViewOnlineIdentifier
()
27
{
28
return
{ L
"view_online"
};
29
}
30
31
}
// namespace audacity::cloud::audiocom::sync
XO
XO("Cut/Copy/Paste")
SyncSucceededDialog.h
project
const auto project
Definition:
TestWaveTrackMaker.cpp:18
AudacityProject
The top-level handle to an Audacity project. It serves as a source of events that other objects can b...
Definition:
Project.h:90
TaggedIdentifier< DialogButtonIdentifierTag >
audacity::cloud::audiocom::sync::AudioComDialogBase
Definition:
AudioComDialogBase.h:38
audacity::cloud::audiocom::sync::AudioComDialogBase::AddTitle
void AddTitle(const TranslatableString &title)
Definition:
AudioComDialogBase.cpp:170
audacity::cloud::audiocom::sync::AudioComDialogBase::AddButton
void AddButton(DialogButtonIdentifier identifier, const TranslatableString &text, int type=None)
Definition:
AudioComDialogBase.cpp:195
audacity::cloud::audiocom::sync::AudioComDialogBase::AddParagraph
void AddParagraph(const TranslatableString ¶graph)
Definition:
AudioComDialogBase.cpp:184
audacity::cloud::audiocom::sync::AudioComDialogBase::DefaultButton
@ DefaultButton
Definition:
AudioComDialogBase.h:65
audacity::cloud::audiocom::sync::SyncSucceededDialog::ViewOnlineIdentifier
static DialogButtonIdentifier ViewOnlineIdentifier()
Definition:
SyncSucceededDialog.cpp:26
audacity::cloud::audiocom::sync::SyncSucceededDialog::SyncSucceededDialog
SyncSucceededDialog(const AudacityProject *project)
Definition:
SyncSucceededDialog.cpp:16
audacity::cloud::audiocom::sync
Definition:
CloudSyncService.h:31
Generated by
1.9.3