From 903c26bd4482ab23f12335207681ad17172a0814 Mon Sep 17 00:00:00 2001 From: Colin Guthrie Date: Mon, 16 Mar 2009 20:47:57 +0000 Subject: Add setter/getter methods for sink/source indexes so we can update our combo boxes current item --- src/sourceoutputwidget.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/sourceoutputwidget.h') 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; }; -- cgit