QtFit  0.1
Internal library development documentation
All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
devicesettingsmessage.h
Go to the documentation of this file.
1 /*
2  Copyright 2021 Paul Colby
3 
4  This file is part of QtFit.
5 
6  QtFit is free software: you can redistribute it and/or modify
7  it under the terms of the GNU Lesser General Public License as published by
8  the Free Software Foundation, either version 3 of the License, or
9  (at your option) any later version.
10 
11  QtFit is distributed in the hope that it will be useful,
12  but WITHOUT ANY WARRANTY; without even the implied warranty of
13  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  GNU Lesser General Public License for more details.
15 
16  You should have received a copy of the GNU Lesser General Public License
17  along with QtFit. If not, see <http://www.gnu.org/licenses/>.
18 */
19 
20 /*!
21  * \file
22  * \note This file is automatcially generated. Any changes here are likely to be overwritten.
23  */
24 
25 /*!
26  * \file
27  * Declares the DeviceSettingsMessage class.
28  */
29 
30 #ifndef QTFIT_DEVICESETTINGSMESSAGE_H
31 #define QTFIT_DEVICESETTINGSMESSAGE_H
32 
33 #include "abstractdatamessage.h"
34 
36 
38 
40 
41 public:
44 
45  quint8 activeTimeZone() const;
46  quint32 utcOffset() const;
47  quint32 timeOffset() const;
48  TimeMode timeMode() const;
49  qint8 timeZoneOffset() const;
50  BacklightMode backlightMode() const;
51  bool activityTrackerEnabled() const;
52  DateTime clockTime() const;
53  quint16 pagesEnabled() const;
54  bool moveAlertEnabled() const;
55  DateMode dateMode() const;
56  DisplayOrientation displayOrientation() const;
57  Side mountingSide() const;
58  quint16 defaultPage() const;
59  quint16 autosyncMinSteps() const;
60  quint16 autosyncMinTime() const;
61  bool lactateThresholdAutodetectEnabled() const;
62  bool bleAutoUploadEnabled() const;
63  AutoSyncFrequency autoSyncFrequency() const;
64  AutoActivityDetect autoActivityDetect() const;
65  quint8 numberOfScreens() const;
66  DisplayOrientation smartNotificationDisplayOrientation() const;
67  Switch tapInterface() const;
68  TapSensitivity tapSensitivity() const;
69 
70  void setActiveTimeZone(const quint8 activeTimeZone);
71  void setUtcOffset(const quint32 utcOffset);
72  void setTimeOffset(const quint32 timeOffset);
73  void setTimeMode(const TimeMode timeMode);
74  void setTimeZoneOffset(const qint8 timeZoneOffset);
75  void setBacklightMode(const BacklightMode backlightMode);
76  void setActivityTrackerEnabled(const bool activityTrackerEnabled);
77  void setClockTime(const DateTime clockTime);
78  void setPagesEnabled(const quint16 pagesEnabled);
79  void setMoveAlertEnabled(const bool moveAlertEnabled);
80  void setDateMode(const DateMode dateMode);
81  void setDisplayOrientation(const DisplayOrientation displayOrientation);
82  void setMountingSide(const Side mountingSide);
83  void setDefaultPage(const quint16 defaultPage);
84  void setAutosyncMinSteps(const quint16 autosyncMinSteps);
85  void setAutosyncMinTime(const quint16 autosyncMinTime);
86  void setLactateThresholdAutodetectEnabled(const bool lactateThresholdAutodetectEnabled);
87  void setBleAutoUploadEnabled(const bool bleAutoUploadEnabled);
88  void setAutoSyncFrequency(const AutoSyncFrequency autoSyncFrequency);
89  void setAutoActivityDetect(const AutoActivityDetect autoActivityDetect);
90  void setNumberOfScreens(const quint8 numberOfScreens);
91  void setSmartNotificationDisplayOrientation(const DisplayOrientation smartNotificationDisplayOrientation);
92  void setTapInterface(const Switch tapInterface);
93  void setTapSensitivity(const TapSensitivity tapSensitivity);
94 
95 protected:
96  /// \cond internal
98  /// \endcond
99 
100 private:
101  Q_DECLARE_PRIVATE(DeviceSettingsMessage)
102  //Q_DISABLE_COPY(DeviceSettingsMessage)
103 
104 };
105 
107 
108 #endif // QTFIT_DEVICESETTINGSMESSAGE_H
#define QTFIT_EXPORT
QtFit library export/import macro.
Definition: QtFit_global.h:42
#define QTFIT_END_NAMESPACE
Macro for ending the QtFit library's top-most namespace (if one is defined).
Definition: QtFit_global.h:78
#define QTFIT_BEGIN_NAMESPACE
Macro for starting the QtFit library's top-most namespace (if one is defined).
Definition: QtFit_global.h:77
Declares the AbstractDataMessage class.
The AbstractDataMessage class is the polymorphic base class for all FIT Data Message classes.
The DeviceSettingsMessage class represents a FIT DeviceSettingsMessage data message.
AutoActivityDetect
Garmin FIT AutoActivityDetect type.
Definition: types.h:3349
TimeMode
Garmin FIT TimeMode type.
Definition: types.h:1069
DisplayOrientation
Garmin FIT DisplayOrientation type.
Definition: types.h:2818
AutoSyncFrequency
Garmin FIT AutoSyncFrequency type.
Definition: types.h:3061
DateMode
Garmin FIT DateMode type.
Definition: types.h:1106
Side
Garmin FIT Side type.
Definition: types.h:2349
TapSensitivity
Garmin FIT TapSensitivity type.
Definition: types.h:5292
Switch
Garmin FIT Switch type.
Definition: types.h:670
BacklightMode
Garmin FIT BacklightMode type.
Definition: types.h:1087
DateTime
Seconds since UTC 00:00 Dec 31 1989.
Definition: types.h:237