summaryrefslogtreecommitdiffstats
path: root/ServerInfo.hh
diff options
context:
space:
mode:
Diffstat (limited to 'ServerInfo.hh')
-rw-r--r--ServerInfo.hh9
1 files changed, 9 insertions, 0 deletions
diff --git a/ServerInfo.hh b/ServerInfo.hh
index 6dea7a9..f6db437 100644
--- a/ServerInfo.hh
+++ b/ServerInfo.hh
@@ -31,6 +31,9 @@ public:
uint32_t volume;
uint32_t latency;
+ Gtk::TreePath treePath;
+ bool treePathValid;
+
SinkWindow *sinkWindow;
};
@@ -48,6 +51,9 @@ public:
uint32_t owner_module;
uint32_t monitor_of_sink;
+ Gtk::TreePath treePath;
+ bool treePathValid;
+
SourceWindow *sourceWindow;
};
@@ -64,6 +70,9 @@ public:
SourceInfo* getSourceInfo(uint32_t index);
SinkInfo* getSinkInfo(uint32_t index);
+
+ void removeSinkInfo(uint32_t index);
+ void removeSourceInfo(uint32_t index);
protected:
std::map<int, SinkInfo*> sinks;