Audacity
3.2.0
modules
sharing
mod-cloud-audiocom
ui
dialogs
CloudLocationDialog.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
CloudLocationDialog.h
7
8
Dmitry Vedenko
9
10
**********************************************************************/
11
#pragma once
12
13
#include "
wxPanelWrapper.h
"
14
15
namespace
audacity::cloud::audiocom::sync
16
{
17
enum class
LocationDialogResult
18
{
19
Local
,
20
Cloud
,
21
Cancel,
22
};
23
24
enum class
LocationDialogType
25
{
26
Save
,
27
Export
,
28
};
29
30
class
CloudLocationDialog
final :
private
wxDialogWrapper
31
{
32
public
:
33
CloudLocationDialog
(wxWindow* parent,
LocationDialogType
type);
34
~CloudLocationDialog
()
override
;
35
36
LocationDialogResult
ShowDialog
();
37
38
private
:
39
LocationDialogType
mType
;
40
bool
mDoNotShow
;
41
};
42
}
// namespace audacity::cloud::audiocom::sync
Export
Main class to control the export function.
audacity::cloud::audiocom::sync::CloudLocationDialog
Definition:
CloudLocationDialog.h:31
audacity::cloud::audiocom::sync::CloudLocationDialog::mDoNotShow
bool mDoNotShow
Definition:
CloudLocationDialog.h:40
audacity::cloud::audiocom::sync::CloudLocationDialog::CloudLocationDialog
CloudLocationDialog(wxWindow *parent, LocationDialogType type)
Definition:
CloudLocationDialog.cpp:138
audacity::cloud::audiocom::sync::CloudLocationDialog::mType
LocationDialogType mType
Definition:
CloudLocationDialog.h:39
audacity::cloud::audiocom::sync::CloudLocationDialog::ShowDialog
LocationDialogResult ShowDialog()
Definition:
CloudLocationDialog.cpp:253
audacity::cloud::audiocom::sync::CloudLocationDialog::~CloudLocationDialog
~CloudLocationDialog() override
Definition:
CloudLocationDialog.cpp:249
wxDialogWrapper
Definition:
wxPanelWrapper.h:80
audacity::cloud::audiocom::sync
Definition:
CloudSyncService.h:31
audacity::cloud::audiocom::sync::LocationDialogResult
LocationDialogResult
Definition:
CloudLocationDialog.h:18
audacity::cloud::audiocom::sync::CloudLocationMode::Cloud
@ Cloud
audacity::cloud::audiocom::sync::ProjectSyncStatus::Local
@ Local
audacity::cloud::audiocom::sync::LocationDialogType
LocationDialogType
Definition:
CloudLocationDialog.h:25
audacity::cloud::audiocom::sync::LocationDialogType::Save
@ Save
wxPanelWrapper.h
Generated by
1.9.3