summaryrefslogtreecommitdiff
path: root/src/mainwindow.h
diff options
context:
space:
mode:
authorColin Guthrie <cguthrie@mandriva.org>2009-03-16 19:57:31 +0000
committerColin Guthrie <cguthrie@mandriva.org>2009-06-17 08:54:10 +0100
commit7b7a12f1d2e6e02b11b7649b394d2122eec57813 (patch)
treec38d0ec7b57c096d1be5e5010ad9ae7fb54b3a3a /src/mainwindow.h
parente509205be255da3779377f12858598755581691b (diff)
Adapt to new UI
The actual wiring up of events and clearing out of old, unused elements is not complete yet, so this is completely non-functional at present.
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();
};