diff options
author | Colin Guthrie <cguthrie@mandriva.org> | 2009-03-16 20:47:57 +0000 |
---|---|---|
committer | Colin Guthrie <cguthrie@mandriva.org> | 2009-06-17 08:54:11 +0100 |
commit | 903c26bd4482ab23f12335207681ad17172a0814 (patch) | |
tree | 5ed827ff4d7c6568badcb062c597d5b6127b343a /src/sinkinputwidget.h | |
parent | 255defb371182e10a90b2d5d6f891a742bc7d0cd (diff) |
Add setter/getter methods for sink/source indexes so we can update our combo boxes current item
Diffstat (limited to 'src/sinkinputwidget.h')
-rw-r--r-- | src/sinkinputwidget.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/sinkinputwidget.h b/src/sinkinputwidget.h index 5eb431e..bf65108 100644 --- a/src/sinkinputwidget.h +++ b/src/sinkinputwidget.h @@ -37,7 +37,9 @@ public: SinkInputType type; - uint32_t index, clientIndex, sinkIndex; + uint32_t index, clientIndex; + void setSinkIndex(uint32_t idx); + uint32_t sinkIndex(); virtual void executeVolumeUpdate(); virtual void onDeviceChange(); virtual void onMuteToggleButton(); @@ -70,6 +72,7 @@ public: private: MainWindow *mpMainWindow; + uint32_t mSinkIndex; }; |