Audacity
3.2.0
libraries
lib-cloud-audiocom
CloudLibrarySettings.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
CloudLibrarySettings.cpp
7
8
Dmitry Vedenko
9
10
**********************************************************************/
11
#include "
CloudLibrarySettings.h
"
12
13
#include "
FileNames.h
"
14
#include "
wxFileNameWrapper.h
"
15
16
namespace
audacity::cloud::audiocom
17
{
18
StringSetting
CloudProjectsSavePath
{
19
"/cloud/audiocom/CloudProjectsSavePath"
,
20
[]
21
{
22
wxFileNameWrapper
path {
FileNames::DataDir
(),
""
};
23
path.AppendDir(
"CloudProjects"
);
24
return
path.GetPath();
25
}
26
};
27
28
IntSetting
DaysToKeepFiles
{
29
"/cloud/audiocom/DaysToKeepFiles"
, 30
30
};
31
}
// namespace audacity::cloud::audiocom
CloudLibrarySettings.h
FileNames.h
IntSetting
Specialization of Setting for int.
Definition:
Prefs.h:356
StringSetting
Specialization of Setting for strings.
Definition:
Prefs.h:370
wxFileNameWrapper
Definition:
wxFileNameWrapper.h:21
FileNames::DataDir
FILES_API FilePath DataDir()
Audacity user data directory.
audacity::cloud::audiocom
Definition:
CloudLibrarySettings.cpp:17
audacity::cloud::audiocom::CloudProjectsSavePath
StringSetting CloudProjectsSavePath
Definition:
CloudLibrarySettings.cpp:18
audacity::cloud::audiocom::DaysToKeepFiles
IntSetting DaysToKeepFiles
Definition:
CloudLibrarySettings.cpp:28
wxFileNameWrapper.h
Generated by
1.9.3