Wire up the terminate button
This commit is contained in:
parent
798f51f480
commit
ee855937cc
|
@ -39,12 +39,16 @@ StreamWidget::StreamWidget(BaseObjectType* cobject, const Glib::RefPtr<Gnome::Gl
|
||||||
//deviceCombo->set_active(false);
|
//deviceCombo->set_active(false);
|
||||||
//deviceCombo->signal_clicked().connect(sigc::mem_fun(*this, &MinimalStreamWidget::onDeviceChange));
|
//deviceCombo->signal_clicked().connect(sigc::mem_fun(*this, &MinimalStreamWidget::onDeviceChange));
|
||||||
|
|
||||||
|
terminateButton->signal_clicked().connect(sigc::mem_fun(*this, &StreamWidget::onKill));
|
||||||
muteToggleButton->signal_clicked().connect(sigc::mem_fun(*this, &StreamWidget::onMuteToggleButton));
|
muteToggleButton->signal_clicked().connect(sigc::mem_fun(*this, &StreamWidget::onMuteToggleButton));
|
||||||
|
|
||||||
for (unsigned i = 0; i < PA_CHANNELS_MAX; i++)
|
for (unsigned i = 0; i < PA_CHANNELS_MAX; i++)
|
||||||
channelWidgets[i] = NULL;
|
channelWidgets[i] = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void StreamWidget::onKill() {
|
||||||
|
}
|
||||||
|
|
||||||
void StreamWidget::setChannelMap(const pa_channel_map &m, bool can_decibel) {
|
void StreamWidget::setChannelMap(const pa_channel_map &m, bool can_decibel) {
|
||||||
channelMap = m;
|
channelMap = m;
|
||||||
|
|
||||||
|
|
|
@ -45,6 +45,7 @@ public:
|
||||||
|
|
||||||
ChannelWidget *channelWidgets[PA_CHANNELS_MAX];
|
ChannelWidget *channelWidgets[PA_CHANNELS_MAX];
|
||||||
|
|
||||||
|
virtual void onKill();
|
||||||
virtual void onDeviceChange() = 0;
|
virtual void onDeviceChange() = 0;
|
||||||
virtual void onMuteToggleButton();
|
virtual void onMuteToggleButton();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue