From e1e452ac2209a343feea10a358668a75c5c5e289 Mon Sep 17 00:00:00 2001 From: Colin Guthrie Date: Sun, 15 Mar 2009 13:02:56 +0000 Subject: Split out streamwidget into it's own files. Also correct the location of the argument default value specification (it should be in prototype not implementation) --- src/streamwidget.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/streamwidget.h') diff --git a/src/streamwidget.h b/src/streamwidget.h index b6f49c8..da4c8b8 100644 --- a/src/streamwidget.h +++ b/src/streamwidget.h @@ -28,14 +28,18 @@ #include #include +#include + #include "minimalstreamwidget.h" +class ChannelWidget; + class StreamWidget : public MinimalStreamWidget { public: StreamWidget(BaseObjectType* cobject, const Glib::RefPtr& x); void setChannelMap(const pa_channel_map &m, bool can_decibel); - void setVolume(const pa_cvolume &volume, bool force); + void setVolume(const pa_cvolume &volume, bool force = false); virtual void updateChannelVolume(int channel, pa_volume_t v); Gtk::ToggleButton *lockToggleButton, *muteToggleButton; -- cgit