summaryrefslogtreecommitdiffstats
path: root/app/mixer.h
diff options
context:
space:
mode:
authorLoïc Collignon <loic.collignon@iot.bzh>2018-07-05 14:30:25 +0200
committerLoïc Collignon <loic.collignon@iot.bzh>2018-07-10 19:21:41 +0200
commitd009b2e3665ab49ce8885a7d1f59d67bdaf4cd7e (patch)
tree38337c044e2c50989ffc98cc7c5d2b9598f36eca /app/mixer.h
parent9b2c0778e6b83591cbad1d9c76cbcad2186512d9 (diff)
WIP better handling for slider creation
The creation of sliders is now using a template instead of a string computation. Also fixed some indentation and trailing spaces issues. Change-Id: Ieb1d9f953d61fa1bac46bf1ab6904e67d09a3fa9 Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
Diffstat (limited to 'app/mixer.h')
-rw-r--r--app/mixer.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/mixer.h b/app/mixer.h
index a46c8a1..1eb6b76 100644
--- a/app/mixer.h
+++ b/app/mixer.h
@@ -21,6 +21,7 @@
#include <QString>
#include <QSharedPointer>
#include <QStringList>
+#include <QMap>
#include "qafbwebsocketclient.h"
//#include "volumeslider.h"
@@ -31,6 +32,7 @@ class Mixer
Q_PROPERTY(QStringList roles READ roles NOTIFY rolesChanged)
private:
+ QMap<QString, int> volumes_;
public:
explicit Mixer(QObject* parent = nullptr);