summaryrefslogtreecommitdiffstats
path: root/src/sourceoutputwidget.h
diff options
context:
space:
mode:
authorColin Guthrie <cguthrie@mandriva.org>2009-03-16 20:47:57 +0000
committerColin Guthrie <cguthrie@mandriva.org>2009-06-17 08:54:11 +0100
commit903c26bd4482ab23f12335207681ad17172a0814 (patch)
tree5ed827ff4d7c6568badcb062c597d5b6127b343a /src/sourceoutputwidget.h
parent255defb371182e10a90b2d5d6f891a742bc7d0cd (diff)
Add setter/getter methods for sink/source indexes so we can update our combo boxes current item
Diffstat (limited to 'src/sourceoutputwidget.h')
-rw-r--r--src/sourceoutputwidget.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/sourceoutputwidget.h b/src/sourceoutputwidget.h
index 8c4b995..46df6e1 100644
--- a/src/sourceoutputwidget.h
+++ b/src/sourceoutputwidget.h
@@ -37,7 +37,9 @@ public:
SourceOutputType type;
- uint32_t index, clientIndex, sourceIndex;
+ uint32_t index, clientIndex;
+ void setSourceIndex(uint32_t idx);
+ uint32_t sourceIndex();
virtual void onDeviceChange();
virtual void onKill();
@@ -68,6 +70,7 @@ public:
private:
MainWindow *mpMainWindow;
+ uint32_t mSourceIndex;
};