summaryrefslogtreecommitdiffstats
path: root/src/mainwindow.h
diff options
context:
space:
mode:
authorColin Guthrie2009-03-16 22:06:33 +0100
committerColin Guthrie2009-06-17 09:54:12 +0200
commitcfa1cd3d49a89b0b69956035416190533f724961 (patch)
tree20c51e3ae52c2acd4ff899b9875df1dc8805759d /src/mainwindow.h
parentAdd setter/getter methods for sink/source indexes so we can update our combo ... (diff)
downloadpavucontrol-slx-cfa1cd3d49a89b0b69956035416190533f724961.tar.gz
pavucontrol-slx-cfa1cd3d49a89b0b69956035416190533f724961.tar.xz
pavucontrol-slx-cfa1cd3d49a89b0b69956035416190533f724961.zip
Record in a map the combobox indexes vs. the sink/source indexes
Diffstat (limited to 'src/mainwindow.h')
-rw-r--r--src/mainwindow.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mainwindow.h b/src/mainwindow.h
index 50a5956..48fcc76 100644
--- a/src/mainwindow.h
+++ b/src/mainwindow.h
@@ -103,8 +103,12 @@ public:
};
DeviceColumns deviceColumns;
+
Glib::RefPtr<Gtk::ListStore> sinkTree;
+ std::map<uint32_t, uint32_t> sinkTreeIndexes;
+
Glib::RefPtr<Gtk::ListStore> sourceTree;
+ std::map<uint32_t, uint32_t> sourceTreeIndexes;
protected:
virtual void on_realize();