diff options
author | Colin Guthrie <cguthrie@mandriva.org> | 2009-03-15 13:02:56 +0000 |
---|---|---|
committer | Colin Guthrie <cguthrie@mandriva.org> | 2009-03-15 13:02:56 +0000 |
commit | e1e452ac2209a343feea10a358668a75c5c5e289 (patch) | |
tree | e725fed0041abaf2f2336bdb5a66df67c9b072bc /src/streamwidget.h | |
parent | f6af4f80b8e4760bdfdc8ca66509d8667bb6f41b (diff) |
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)
Diffstat (limited to 'src/streamwidget.h')
-rw-r--r-- | src/streamwidget.h | 6 |
1 files changed, 5 insertions, 1 deletions
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 <gtkmm.h> #include <libglademm.h> +#include <pulse/pulseaudio.h> + #include "minimalstreamwidget.h" +class ChannelWidget; + class StreamWidget : public MinimalStreamWidget { public: StreamWidget(BaseObjectType* cobject, const Glib::RefPtr<Gnome::Glade::Xml>& 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; |