/* Copyright (C) 2006 Paul Davis This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #ifndef __tracks_master_bus_ui_h__ #define __tracks_master_bus_ui_h__ #include #include #include #include #include #include #include #include #include #include #include #include #include "ardour/playlist.h" #include "ardour/types.h" #include "route_ui.h" #include "enums.h" #include "gain_meter.h" namespace ARDOUR { class Session; class Region; class RouteGroup; class IOProcessor; class Processor; class Location; class Playlist; } class PublicEditor; class RegionView; class StreamView; class Selection; class RegionSelection; class Selectable; class AutomationTimeAxisView; class AutomationLine; class ProcessorAutomationLine; class TimeSelection; class RouteGroupMenu; class MasterBusUI : public RouteUI { public: MasterBusUI (PublicEditor&, ARDOUR::Session*); virtual ~MasterBusUI (); void fast_update (); void set_route (boost::shared_ptr); virtual void set_button_names (); virtual std::string state_id () const; static PBD::Signal1 CatchDeletion; private: Gtk::Box& level_meter_home; LevelMeterHBox* level_meter; WavesButton& peak_display_button; }; #endif /* __tracks_master_bus_ui_h__ */