diff --git a/libs/ardour/ardour/types.h b/libs/ardour/ardour/types.h index 8197015c9a..a7dd3a01d3 100644 --- a/libs/ardour/ardour/types.h +++ b/libs/ardour/ardour/types.h @@ -450,6 +450,13 @@ enum RangeSelectionAfterSplit { ForceSel = 2 // bit 1 }; +enum TimeSelectionAfterSectionPaste { + SectionSelectNoop = 0, + SectionSelectClear = 1, + SectionSelectRetain = 2, + SectionSelectRetainAndMovePlayhead = 3, +}; + enum RegionPoint { Start, End, diff --git a/libs/ardour/ardour/types_convert.h b/libs/ardour/ardour/types_convert.h index c293b6c7a3..474d30b9e1 100644 --- a/libs/ardour/ardour/types_convert.h +++ b/libs/ardour/ardour/types_convert.h @@ -64,6 +64,7 @@ DEFINE_ENUM_CONVERT(ARDOUR::DenormalModel) DEFINE_ENUM_CONVERT(ARDOUR::FadeShape) DEFINE_ENUM_CONVERT(ARDOUR::RegionSelectionAfterSplit) DEFINE_ENUM_CONVERT(ARDOUR::RangeSelectionAfterSplit) +DEFINE_ENUM_CONVERT(ARDOUR::TimeSelectionAfterSectionPaste) DEFINE_ENUM_CONVERT(ARDOUR::BufferingPreset) DEFINE_ENUM_CONVERT(ARDOUR::AutoReturnTarget) DEFINE_ENUM_CONVERT(ARDOUR::MeterType) diff --git a/libs/ardour/enums.cc b/libs/ardour/enums.cc index ac48c78ba1..f0dcbd1379 100644 --- a/libs/ardour/enums.cc +++ b/libs/ardour/enums.cc @@ -109,6 +109,7 @@ setup_enum_writer () FadeShape _FadeShape; RegionSelectionAfterSplit _RegionSelectionAfterSplit; RangeSelectionAfterSplit _RangeSelectionAfterSplit; + TimeSelectionAfterSectionPaste _TimeSelectionAfterSectionPaste; IOChange _IOChange; AutomationType _AutomationType; AutoState _AutoState; @@ -572,6 +573,12 @@ setup_enum_writer () REGISTER (_RegionSelectionAfterSplit); REGISTER (_RangeSelectionAfterSplit); + REGISTER_ENUM(SectionSelectNoop); + REGISTER_ENUM(SectionSelectClear); + REGISTER_ENUM(SectionSelectRetain); + REGISTER_ENUM(SectionSelectRetainAndMovePlayhead); + REGISTER (_RangeSelectionAfterSplit); + REGISTER_CLASS_ENUM (DiskIOProcessor, Recordable); REGISTER_CLASS_ENUM (DiskIOProcessor, Hidden); REGISTER_BITS (_DiskIOProcessor_Flag);