sensorfw
wakeupsensor_a.h
Go to the documentation of this file.
1/****************************************************************************
2**
3** Copyright (c) 2025 Jollyboys Ltd.
4**
5** $QT_BEGIN_LICENSE:LGPL$
6**
7** GNU Lesser General Public License Usage
8** Alternatively, this file may be used under the terms of the GNU Lesser
9** General Public License version 2.1 as published by the Free Software
10** Foundation and appearing in the file LICENSE.LGPL included in the
11** packaging of this file. Please review the following information to
12** ensure the GNU Lesser General Public License version 2.1 requirements
13** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
14**
15** $QT_END_LICENSE$
16**
17****************************************************************************/
18
19#ifndef WAKEUP_SENSOR_H
20#define WAKEUP_SENSOR_H
21
22#include <QtDBus/QtDBus>
23#include <QObject>
24
25#include "datatypes/unsigned.h"
26#include "abstractsensor_a.h"
27
28class WakeupSensorChannelAdaptor : public AbstractSensorChannelAdaptor
29{
30 Q_OBJECT
31 Q_DISABLE_COPY(WakeupSensorChannelAdaptor)
32 Q_CLASSINFO("D-Bus Interface", "local.WakeupSensor")
33 Q_PROPERTY(Unsigned wakeup READ wakeup NOTIFY wakeupChanged)
34
35public:
37
38public Q_SLOTS:
40
41Q_SIGNALS:
42 void wakeupChanged(const Unsigned &value);
43};
44#endif // WAKEUP_SENSOR_H
QObject facae for TimedUnsigned.
Definition unsigned.h:37
void wakeupChanged(const Unsigned &value)
WakeupSensorChannelAdaptor(QObject *parent)
QObject based datatype for TimedUnsigned.