diff options
author | Simon Rettberg | 2022-08-31 15:58:15 +0200 |
---|---|---|
committer | Simon Rettberg | 2022-08-31 15:58:15 +0200 |
commit | da330b0a0ab5426b1502f2f97254478940f1f094 (patch) | |
tree | c175727f9aa50972984496a6914f2257c50fe003 /src/slxoutput.h | |
parent | Big refactor, minor design tweak along the way (diff) | |
download | pavucontrol-slx-da330b0a0ab5426b1502f2f97254478940f1f094.tar.gz pavucontrol-slx-da330b0a0ab5426b1502f2f97254478940f1f094.tar.xz pavucontrol-slx-da330b0a0ab5426b1502f2f97254478940f1f094.zip |
WIP: Support input too
TODO: Layout, UI, etc.
Diffstat (limited to 'src/slxoutput.h')
-rw-r--r-- | src/slxoutput.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/slxoutput.h b/src/slxoutput.h index c175899..4df64fa 100644 --- a/src/slxoutput.h +++ b/src/slxoutput.h @@ -28,7 +28,8 @@ public: void updateCardAndProfile(); const QString &deviceId() const { return _deviceId; } - const bool isDevice() const { return !_deviceId.isEmpty(); } + bool isDevice() const { return !_deviceId.isEmpty(); } + ItemType type() const { return _type; } int compareTo(SlxOutput* other) const { |