Audacity
3.2.0
modules
sharing
mod-cloud-audiocom
ui
dialogs
ProjectVersionConflictDialog.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
ProjectVersionConflictDialog.h
7
8
Dmitry Vedenko
9
10
**********************************************************************/
11
#pragma once
12
13
#include "
AudioComDialogBase.h
"
14
15
namespace
audacity::cloud::audiocom::sync
16
{
17
18
enum class
ProjectVersionConflictDialogMode
19
{
20
Save
,
21
OpenDirty
,
22
OpenActive
23
};
24
25
class
ProjectVersionConflictDialog
final :
public
AudioComDialogBase
26
{
27
public
:
28
ProjectVersionConflictDialog
(
29
const
AudacityProject
*
project
,
ProjectVersionConflictDialogMode
openMode);
30
31
static
DialogButtonIdentifier
UseLocalIdentifier
();
32
static
DialogButtonIdentifier
UseRemoteIdentifier
();
33
};
34
}
// namespace audacity::cloud::audiocom::sync
AudioComDialogBase.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::ProjectVersionConflictDialog
Definition:
ProjectVersionConflictDialog.h:26
audacity::cloud::audiocom::sync::ProjectVersionConflictDialog::ProjectVersionConflictDialog
ProjectVersionConflictDialog(const AudacityProject *project, ProjectVersionConflictDialogMode openMode)
Definition:
ProjectVersionConflictDialog.cpp:40
audacity::cloud::audiocom::sync::ProjectVersionConflictDialog::UseRemoteIdentifier
static DialogButtonIdentifier UseRemoteIdentifier()
Definition:
ProjectVersionConflictDialog.cpp:64
audacity::cloud::audiocom::sync::ProjectVersionConflictDialog::UseLocalIdentifier
static DialogButtonIdentifier UseLocalIdentifier()
Definition:
ProjectVersionConflictDialog.cpp:59
audacity::cloud::audiocom::sync
Definition:
CloudSyncService.h:31
audacity::cloud::audiocom::sync::ProjectVersionConflictDialogMode
ProjectVersionConflictDialogMode
Definition:
ProjectVersionConflictDialog.h:19
audacity::cloud::audiocom::sync::ProjectVersionConflictDialogMode::OpenActive
@ OpenActive
audacity::cloud::audiocom::sync::ProjectVersionConflictDialogMode::OpenDirty
@ OpenDirty
audacity::cloud::audiocom::sync::LocationDialogType::Save
@ Save
Generated by
1.9.3