From 8f8e32881cccf4e5aecbb8f9a7751414ff4e2d78 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Thu, 20 Apr 2017 22:14:36 +0200 Subject: [PATCH] Remove unused enum --- libs/ardour/ardour/types.h | 6 ------ libs/ardour/ardour/types_convert.h | 1 - libs/ardour/enums.cc | 6 ------ 3 files changed, 13 deletions(-) diff --git a/libs/ardour/ardour/types.h b/libs/ardour/ardour/types.h index 0dc973bf5c..17a86fc6c5 100644 --- a/libs/ardour/ardour/types.h +++ b/libs/ardour/ardour/types.h @@ -249,12 +249,6 @@ namespace ARDOUR { TrackColor }; - enum LocaleMode { - SET_LC_ALL, - SET_LC_MESSAGES, - SET_LC_MESSAGES_AND_LC_NUMERIC - }; - enum RoundMode { RoundDownMaybe = -2, ///< Round down only if necessary RoundDownAlways = -1, ///< Always round down, even if on a division diff --git a/libs/ardour/ardour/types_convert.h b/libs/ardour/ardour/types_convert.h index 8e9c785a96..cee969dd00 100644 --- a/libs/ardour/ardour/types_convert.h +++ b/libs/ardour/ardour/types_convert.h @@ -60,7 +60,6 @@ DEFINE_ENUM_CONVERT(ARDOUR::MeterType) DEFINE_ENUM_CONVERT(ARDOUR::MeterPoint) DEFINE_ENUM_CONVERT(ARDOUR::NoteMode) DEFINE_ENUM_CONVERT(ARDOUR::ChannelMode) -DEFINE_ENUM_CONVERT(ARDOUR::LocaleMode) DEFINE_ENUM_CONVERT(ARDOUR::MonitorChoice) DEFINE_ENUM_CONVERT(ARDOUR::AlignStyle) diff --git a/libs/ardour/enums.cc b/libs/ardour/enums.cc index 1b403b9f2c..9e57f078d2 100644 --- a/libs/ardour/enums.cc +++ b/libs/ardour/enums.cc @@ -63,7 +63,6 @@ setup_enum_writer () NoteMode _NoteMode; ChannelMode _ChannelMode; ColorMode _ColorMode; - LocaleMode _LocaleMode; MeterFalloff _MeterFalloff; MeterHold _MeterHold; VUMeterStandard _VUMeterStandard; @@ -248,11 +247,6 @@ setup_enum_writer () REGISTER_ENUM (TrackColor); REGISTER (_ColorMode); - REGISTER_ENUM (SET_LC_ALL); - REGISTER_ENUM (SET_LC_MESSAGES); - REGISTER_ENUM (SET_LC_MESSAGES_AND_LC_NUMERIC); - REGISTER (_LocaleMode); - REGISTER_ENUM (MeterFalloffOff); REGISTER_ENUM (MeterFalloffSlowest); REGISTER_ENUM (MeterFalloffSlow);