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>
This commit is contained in:
Joseph W. Joshua 2014-06-07 21:56:44 +03:00 committed by Thiago Macieira
parent a7a74ae9a6
commit 2432350064
5 changed files with 58 additions and 0 deletions

View file

@ -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);