Audacity
3.2.0
modules
sharing
mod-cloud-audiocom
ui
dialogs
SyncFailedDialog.h
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
SyncFailedDialog.h
7
8
Dmitry Vedenko
9
10
**********************************************************************/
11
#pragma once
12
13
#include "
AudioComDialogBase.h
"
14
15
#include "
sync/CloudSyncError.h
"
16
#include "
NetworkUtils.h
"
17
18
namespace
audacity::cloud::audiocom::sync
19
{
20
class
SyncFailedDialog
final :
public
AudioComDialogBase
21
{
22
public
:
23
24
static
void
OnOpen
(
const
CloudSyncError
& error);
25
static
void
OnSave
(
const
CloudSyncError
& error);
26
27
static
void
OnOpen
(
const
ResponseResult
& error);
28
static
void
OnSave
(
const
ResponseResult
& error);
29
30
private
:
31
SyncFailedDialog
(
32
const
AudacityProject
*
project
,
33
const
TranslatableString
& message,
const
std::string& log,
DialogMode
dialogMode);
34
};
35
}
// namespace audacity::cloud::audiocom::sync
AudioComDialogBase.h
CloudSyncError.h
NetworkUtils.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
TranslatableString
Holds a msgid for the translation catalog; may also bind format arguments.
Definition:
TranslatableString.h:32
audacity::cloud::audiocom::sync::AudioComDialogBase
Definition:
AudioComDialogBase.h:38
audacity::cloud::audiocom::sync::AudioComDialogBase::DialogMode
DialogMode
Definition:
AudioComDialogBase.h:47
audacity::cloud::audiocom::sync::SyncFailedDialog
Definition:
SyncFailedDialog.h:21
audacity::cloud::audiocom::sync::SyncFailedDialog::SyncFailedDialog
SyncFailedDialog(const AudacityProject *project, const TranslatableString &message, const std::string &log, DialogMode dialogMode)
Definition:
SyncFailedDialog.cpp:128
audacity::cloud::audiocom::sync::SyncFailedDialog::OnOpen
static void OnOpen(const CloudSyncError &error)
Definition:
SyncFailedDialog.cpp:80
audacity::cloud::audiocom::sync::SyncFailedDialog::OnSave
static void OnSave(const CloudSyncError &error)
Definition:
SyncFailedDialog.cpp:92
audacity::cloud::audiocom::sync
Definition:
CloudSyncService.h:31
audacity::cloud::audiocom::ResponseResult
Definition:
NetworkUtils.h:62
audacity::cloud::audiocom::sync::CloudSyncError
Definition:
CloudSyncError.h:27
Generated by
1.9.3