diff --git a/libs/ardour/ardour/types.h b/libs/ardour/ardour/types.h index 4b401312e7..49401cfd4c 100644 --- a/libs/ardour/ardour/types.h +++ b/libs/ardour/ardour/types.h @@ -656,6 +656,12 @@ enum WaveformShape { Rectified }; +enum ScreenSaverMode { + InhibitNever, + InhibitWhileRecording, + InhibitAlways +}; + struct CleanupReport { std::vector paths; size_t space; diff --git a/libs/ardour/ardour/types_convert.h b/libs/ardour/ardour/types_convert.h index 16f6c69d24..ae48c7602d 100644 --- a/libs/ardour/ardour/types_convert.h +++ b/libs/ardour/ardour/types_convert.h @@ -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) diff --git a/libs/ardour/enums.cc b/libs/ardour/enums.cc index 5101f4a2de..5ca616001b 100644 --- a/libs/ardour/enums.cc +++ b/libs/ardour/enums.cc @@ -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);