File indexing completed on 2024-05-05 05:28:19

0001 /*
0002  * SPDX-FileCopyrightText: 2020 Dimitris Kardarakos <dimkard@posteo.net>
0003  *
0004  * SPDX-License-Identifier: GPL-3.0-or-later
0005  */
0006 
0007 #ifndef ALARM_CHECKER_H
0008 #define ALARM_CHECKER_H
0009 
0010 #include <QObject>
0011 
0012 class QDBusInterface;
0013 
0014 class AlarmChecker : public QObject
0015 {
0016     Q_OBJECT
0017 
0018 public:
0019     explicit AlarmChecker(QObject *parent = nullptr);
0020     virtual ~AlarmChecker() = default;
0021 
0022     /**
0023      * @brief Shedule the next alarm check
0024      *
0025      */
0026     void scheduleAlarmCheck();
0027 
0028 private:
0029 #ifndef Q_OS_ANDROID
0030     QDBusInterface *m_interface;
0031 #endif
0032 };
0033 #endif //ALARM_CHECKER_H