aboutsummaryrefslogtreecommitdiffstats
path: root/devicedetails.h
diff options
context:
space:
mode:
authorGravatar Anton Lundin <glance@acc.umu.se>2014-10-12 16:51:26 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-10-12 12:30:40 -0400
commitd85508b25c95c8a915c5ea0c6a83508da46ba711 (patch)
treed5e52738279321e6ed0a3c4fd4422898e815d168 /devicedetails.h
parent60d0b622a905fb74eb094662f01f8fb7dc43e453 (diff)
downloadsubsurface-d85508b25c95c8a915c5ea0c6a83508da46ba711.tar.gz
Add backing stores for Suunto Vyper configurations
This adds varables to store all the settings for the Suunto Vyper family. Signed-off-by: Anton Lundin <glance@acc.umu.se> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'devicedetails.h')
-rw-r--r--devicedetails.h52
1 files changed, 52 insertions, 0 deletions
diff --git a/devicedetails.h b/devicedetails.h
index 372d5cd32..4953f72c7 100644
--- a/devicedetails.h
+++ b/devicedetails.h
@@ -35,6 +35,9 @@ public:
QString customText() const;
void setCustomText(const QString &customText);
+ QString model() const;
+ void setModel(const QString &model);
+
int brightness() const;
void setBrightness(int brightness);
@@ -152,11 +155,48 @@ public:
int pressureSensorOffset() const;
void setPressureSensorOffset(int pressureSensorOffset);
+ int maxDepth() const;
+ void setMaxDepth(int maxDepth);
+
+ int totalTime() const;
+ void setTotalTime(int totalTime);
+
+ int numberOfDives() const;
+ void setNumberOfDives(int numberOfDives);
+
+ int altitude() const;
+ void setAltitude(int altitude);
+
+ int personalSafety() const;
+ void setPersonalSafety(int personalSafety);
+
+ int timeFormat() const;
+ void setTimeFormat(int timeFormat);
+
+ bool lightEnabled() const;
+ void setLightEnabled(bool lightEnabled);
+
+ int light() const;
+ void setLight(int light);
+
+ bool alarmTimeEnabled() const;
+ void setAlarmTimeEnabled(bool alarmTimeEnabled);
+
+ int alarmTime() const;
+ void setAlarmTime(int alarmTime);
+
+ bool alarmDepthEnabled() const;
+ void setAlarmDepthEnabled(bool alarmDepthEnabled);
+
+ int alarmDepth() const;
+ void setAlarmDepth(int alarmDepth);
+
private:
device_data_t *m_data;
QString m_serialNo;
QString m_firmwareVersion;
QString m_customText;
+ QString m_model;
bool m_syncTime;
gas m_gas1;
gas m_gas2;
@@ -196,6 +236,18 @@ private:
int m_dateFormat;
int m_compassGain;
int m_pressureSensorOffset;
+ int m_maxDepth;
+ int m_totalTime;
+ int m_numberOfDives;
+ int m_altitude;
+ int m_personalSafety;
+ int m_timeFormat;
+ bool m_lightEnabled;
+ int m_light;
+ bool m_alarmTimeEnabled;
+ int m_alarmTime;
+ bool m_alarmDepthEnabled;
+ int m_alarmDepth;
};