summaryrefslogtreecommitdiff
path: root/src/mainwindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainwindow.h')
-rw-r--r--src/mainwindow.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/mainwindow.h b/src/mainwindow.h
index a9f0f64..50a5956 100644
--- a/src/mainwindow.h
+++ b/src/mainwindow.h
@@ -91,8 +91,27 @@ public:
Glib::ustring defaultSinkName, defaultSourceName;
+ class DeviceColumns : public Gtk::TreeModel::ColumnRecord
+ {
+ public:
+
+ DeviceColumns()
+ { add(index); add(name); }
+
+ Gtk::TreeModelColumn<uint32_t> index;
+ Gtk::TreeModelColumn<Glib::ustring> name;
+ };
+
+ DeviceColumns deviceColumns;
+ Glib::RefPtr<Gtk::ListStore> sinkTree;
+ Glib::RefPtr<Gtk::ListStore> sourceTree;
+
protected:
virtual void on_realize();
+
+private:
+ void rebuildSinkCombo();
+ void rebuildSourceCombo();
};