summaryrefslogtreecommitdiffstats
path: root/src/streamwidget.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/streamwidget.h')
-rw-r--r--src/streamwidget.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/streamwidget.h b/src/streamwidget.h
index 7c052ad..e322fc3 100644
--- a/src/streamwidget.h
+++ b/src/streamwidget.h
@@ -25,11 +25,13 @@
#include "minimalstreamwidget.h"
+class MainWindow;
class ChannelWidget;
class StreamWidget : public MinimalStreamWidget {
public:
StreamWidget(BaseObjectType* cobject, const Glib::RefPtr<Gnome::Glade::Xml>& x);
+ void init(MainWindow* mainWindow);
void setChannelMap(const pa_channel_map &m, bool can_decibel);
void setVolume(const pa_cvolume &volume, bool force = false);
@@ -53,6 +55,14 @@ public:
bool timeoutEvent();
virtual void executeVolumeUpdate();
+ virtual void onKill();
+
+protected:
+ MainWindow* mpMainWindow;
+
+ Gtk::Menu contextMenu;
+ Gtk::MenuItem terminate;
+
};
#endif