Audacity
3.2.0
modules
sharing
mod-cloud-audiocom
ui
dialogs
SyncInBackroundDialog.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
SyncInBackroundDialog.cpp
7
8
Dmitry Vedenko
9
10
**********************************************************************/
11
12
#include "
SyncInBackroundDialog.h
"
13
14
namespace
audacity::cloud::audiocom::sync
15
{
16
SyncInBackroundDialog::SyncInBackroundDialog
(
const
AudacityProject
*
project
)
17
:
AudioComDialogBase
{
project
,
18
DialogIdentifier
{
"SyncInBackroundDialog"
} }
19
{
20
AddTitle
(
XO
(
"Syncing your project"
));
21
22
AddParagraph
(
XO
(
23
"The project will sync in background while you work. You can check the sync status on the bottom right corner of Audacity at any time"
));
24
25
AddButton
(
OkIdentifier
(),
XO
(
"Continue"
),
DefaultButton
|
EscButton
);
26
}
27
28
DialogButtonIdentifier
SyncInBackroundDialog::OkIdentifier
()
29
{
30
return
{ L
"ok"
};
31
}
32
33
}
// namespace audacity::cloud::audiocom::sync
XO
XO("Cut/Copy/Paste")
SyncInBackroundDialog.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< DialogIdentifierTag >
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::AudioComDialogBase::EscButton
@ EscButton
Definition:
AudioComDialogBase.h:66
audacity::cloud::audiocom::sync::SyncInBackroundDialog::SyncInBackroundDialog
SyncInBackroundDialog(const AudacityProject *project)
Definition:
SyncInBackroundDialog.cpp:16
audacity::cloud::audiocom::sync::SyncInBackroundDialog::OkIdentifier
static DialogButtonIdentifier OkIdentifier()
Definition:
SyncInBackroundDialog.cpp:28
audacity::cloud::audiocom::sync
Definition:
CloudSyncService.h:31
Generated by
1.9.3