Audacity
3.2.0
modules
sharing
mod-cloud-audiocom
CloudModuleSettings.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
ModulePrefs.cpp
7
8
Dmitry Vedenko
9
10
**********************************************************************/
11
12
#include "
CloudModuleSettings.h
"
13
14
namespace
audacity::cloud::audiocom::sync
15
{
16
EnumSetting<CloudLocationMode>
SaveLocationMode
{
17
"/cloud/audiocom/SaveLocationMode"
,
18
EnumValueSymbols
{ L
"ask"
, L
"local"
, L
"cloud"
},
19
0,
20
{
CloudLocationMode::Ask
,
CloudLocationMode::Local
,
21
CloudLocationMode::Cloud
}
22
};
23
24
EnumSetting<CloudLocationMode>
ExportLocationMode
{
25
"/cloud/audiocom/ExportLocationMode"
,
26
EnumValueSymbols
{ L
"ask"
, L
"local"
, L
"cloud"
},
27
0,
28
{
CloudLocationMode::Ask
,
CloudLocationMode::Local
,
29
CloudLocationMode::Cloud
}
30
};
31
32
BoolSetting
MixdownDialogShown
{
33
"/cloud/audiocom/MixdownDialogShown"
,
false
34
};
35
}
// namespace audacity::cloud::audiocom::sync
CloudModuleSettings.h
BoolSetting
This specialization of Setting for bool adds a Toggle method to negate the saved value.
Definition:
Prefs.h:346
EnumSetting< CloudLocationMode >
EnumValueSymbols
Definition:
Prefs.h:381
audacity::cloud::audiocom::sync
Definition:
CloudSyncService.h:31
audacity::cloud::audiocom::sync::SaveLocationMode
EnumSetting< CloudLocationMode > SaveLocationMode
Definition:
CloudModuleSettings.cpp:16
audacity::cloud::audiocom::sync::MixdownDialogShown
BoolSetting MixdownDialogShown
Definition:
CloudModuleSettings.cpp:32
audacity::cloud::audiocom::sync::CloudLocationMode::Local
@ Local
audacity::cloud::audiocom::sync::CloudLocationMode::Ask
@ Ask
audacity::cloud::audiocom::sync::CloudLocationMode::Cloud
@ Cloud
audacity::cloud::audiocom::sync::ExportLocationMode
EnumSetting< CloudLocationMode > ExportLocationMode
Definition:
CloudModuleSettings.cpp:24
Generated by
1.9.3