Audacity
3.2.0
modules
sharing
mod-cloud-audiocom
ui
dialogs
ConnectionIssuesDialog.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
UploadCancelledDialog.cpp
7
8
Dmitry Vedenko
9
10
**********************************************************************/
11
12
#include "
ConnectionIssuesDialog.h
"
13
14
namespace
audacity::cloud::audiocom::sync
15
{
16
audacity::cloud::audiocom::sync::ConnectionIssuesDialog::ConnectionIssuesDialog
(
17
const
AudacityProject
*
project
)
18
:
AudioComDialogBase
{
project
, {
"ConnectionIssuesDialog"
} }
19
{
20
AddTitle(
XO
(
"We encountered an issue syncing your file"
));
21
AddParagraph(
XO
(
22
"Don't worry, your changes will be saved to a temporary location and will be synchronized to your cloud copy when your internet connection resumes."
));
23
AddButton(
24
OkButtonIdentifier(),
XO
(
"OK"
),
25
DefaultButton | EscButton);
26
}
27
DialogButtonIdentifier
ConnectionIssuesDialog::OkButtonIdentifier()
28
{
29
return
DialogButtonIdentifier
();
30
}
31
}
// namespace audacity::cloud::audiocom::sync
ConnectionIssuesDialog.h
XO
XO("Cut/Copy/Paste")
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::ConnectionIssuesDialog::ConnectionIssuesDialog
ConnectionIssuesDialog(const AudacityProject *project)
Definition:
ConnectionIssuesDialog.cpp:16
audacity::cloud::audiocom::sync
Definition:
CloudSyncService.h:31
audacity::cloud::audiocom::sync::DialogButtonIdentifier
TaggedIdentifier< DialogButtonIdentifierTag > DialogButtonIdentifier
Definition:
AudioComDialogBase.h:35
Generated by
1.9.3