summaryrefslogtreecommitdiffstats
path: root/qt-ui/configuredivecomputer.h
diff options
context:
space:
mode:
authorGravatar Joseph W. Joshua <joejoshw@gmail.com>2014-06-07 21:56:44 +0300
committerGravatar Thiago Macieira <thiago@macieira.org>2014-08-09 12:01:56 -0300
commit2432350064c6a9109501b3df21f56a9fe41aa686 (patch)
treeb7560ecfee5b98ca084dadad121af2fac71dcc9f /qt-ui/configuredivecomputer.h
parenta7a74ae9a630dba8ba29afb3fece6c9f5bf3639d (diff)
downloadsubsurface-2432350064c6a9109501b3df21f56a9fe41aa686.tar.gz
Add brightness setting
Adds a setting to control the device's brightness. Currently I have only the OSTC 3. Will add more afterwards. Signed-off-by: Joseph W. Joshua <joejoshw@gmail.com> Signed-off-by: Thiago Macieira <thiago@macieira.org>
Diffstat (limited to 'qt-ui/configuredivecomputer.h')
-rw-r--r--qt-ui/configuredivecomputer.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-ui/configuredivecomputer.h b/qt-ui/configuredivecomputer.h
index 8b1c4b4c7..08c4e190f 100644
--- a/qt-ui/configuredivecomputer.h
+++ b/qt-ui/configuredivecomputer.h
@@ -56,6 +56,7 @@ public:
void setDeviceName(device_data_t *data, QString newName);
void setDeviceDateAndTime(device_data_t *data, QDateTime dateAndTime);
+ void setDeviceBrightness(device_data_t *data, int brighnessLevel);
signals:
void deviceSettings(QString settings);
void message(QString msg);