1 | /* |
2 | SPDX-FileCopyrightText: 2019 Vlad Zahorodnii <vlad.zahorodnii@kde.org> |
3 | |
4 | SPDX-License-Identifier: LGPL-2.1-or-later |
5 | */ |
6 | |
7 | #pragma once |
8 | |
9 | #include "ksystemclockskewnotifierengine_p.h" |
10 | |
11 | class KLinuxSystemClockSkewNotifierEngine : public KSystemClockSkewNotifierEngine |
12 | { |
13 | Q_OBJECT |
14 | |
15 | public: |
16 | static std::shared_ptr<KLinuxSystemClockSkewNotifierEngine> create(); |
17 | |
18 | KLinuxSystemClockSkewNotifierEngine(int fd); |
19 | ~KLinuxSystemClockSkewNotifierEngine() override; |
20 | |
21 | private Q_SLOTS: |
22 | void handleTimerCancelled(); |
23 | |
24 | private: |
25 | int m_fd; |
26 | }; |
27 | |