diff options
author | Carl Hetherington <carl@carlh.net> | 2010-05-08 01:20:33 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2010-05-08 01:20:33 +0000 |
commit | 8d0581a720dd73c7714289ae8db12455c6f5c8c7 (patch) | |
tree | 0b9024b067f5abe53088c04f779531f72f95f271 /libs/ardour/ardour/monitor_processor.h | |
parent | 129ace60e24aa7b5297563d389edbae1d70a3a80 (diff) |
Remove use of i18n macros in headers. Prevents our gettext.h being included before libintl.h, which causes failures when ENABLE_NLS is not defined (bug #3111)
git-svn-id: svn://localhost/ardour2/branches/3.0@7081 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/monitor_processor.h')
-rw-r--r-- | libs/ardour/ardour/monitor_processor.h | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/libs/ardour/ardour/monitor_processor.h b/libs/ardour/ardour/monitor_processor.h index 8b8e90573d..4bf399c16a 100644 --- a/libs/ardour/ardour/monitor_processor.h +++ b/libs/ardour/ardour/monitor_processor.h @@ -178,23 +178,7 @@ class MonitorProcessor : public Processor MPControl<gain_t>& polarity; MPControl<bool>& soloed; - ChannelRecord (uint32_t chn) : current_gain(1.0) - , cut_ptr (new MPControl<gain_t> (1.0, string_compose (_("cut control %1"), chn), PBD::Controllable::GainLike)) - , dim_ptr (new MPControl<bool> (false, string_compose (_("dim control"), chn), PBD::Controllable::Toggle)) - , polarity_ptr (new MPControl<gain_t> (1.0, string_compose (_("polarity control"), chn), PBD::Controllable::Toggle)) - , soloed_ptr (new MPControl<bool> (false, string_compose (_("solo control"), chn), PBD::Controllable::Toggle)) - - , cut_control (cut_ptr) - , dim_control (dim_ptr) - , polarity_control (polarity_ptr) - , soloed_control (soloed_ptr) - - , cut (*cut_ptr) - , dim (*dim_ptr) - , polarity (*polarity_ptr) - , soloed (*soloed_ptr) - - {} + ChannelRecord (uint32_t); }; std::vector<ChannelRecord*> _channels; |