13
0

Add types/enum for screensaver mode

This commit is contained in:
Robin Gareus 2019-08-11 19:04:42 +02:00
parent 4b5d16554b
commit 246cc74f9b
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04
3 changed files with 13 additions and 0 deletions

View File

@ -656,6 +656,12 @@ enum WaveformShape {
Rectified
};
enum ScreenSaverMode {
InhibitNever,
InhibitWhileRecording,
InhibitAlways
};
struct CleanupReport {
std::vector<std::string> paths;
size_t space;

View File

@ -70,6 +70,7 @@ DEFINE_ENUM_CONVERT(ARDOUR::AlignChoice)
DEFINE_ENUM_CONVERT(ARDOUR::RegionEquivalence)
DEFINE_ENUM_CONVERT(ARDOUR::WaveformScale)
DEFINE_ENUM_CONVERT(ARDOUR::WaveformShape)
DEFINE_ENUM_CONVERT(ARDOUR::ScreenSaverMode)
DEFINE_ENUM_CONVERT(ARDOUR::VUMeterStandard)
DEFINE_ENUM_CONVERT(ARDOUR::MeterLineUp)
DEFINE_ENUM_CONVERT(ARDOUR::MidiPortFlags)

View File

@ -142,6 +142,7 @@ setup_enum_writer ()
RegionEquivalence _RegionEquivalence;
WaveformScale _WaveformScale;
WaveformShape _WaveformShape;
ScreenSaverMode _ScreenSaverMode;
Session::PostTransportWork _Session_PostTransportWork;
MTC_Status _MIDI_MTC_Status;
Evoral::OverlapType _OverlapType;
@ -714,6 +715,11 @@ setup_enum_writer ()
REGISTER_ENUM(Rectified);
REGISTER(_WaveformShape);
REGISTER_ENUM(InhibitNever);
REGISTER_ENUM(InhibitWhileRecording);
REGISTER_ENUM(InhibitAlways);
REGISTER(_ScreenSaverMode);
REGISTER_ENUM(AudioTime);
REGISTER_ENUM(MusicTime);
REGISTER(_PositionLockStyle);