File indexing completed on 2024-11-10 04:57:03
0001 /* 0002 SPDX-FileCopyrightText: 2019 Vlad Zahorodnii <vlad.zahorodnii@kde.org> 0003 0004 SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 #pragma once 0008 0009 #include "clockskewnotifierengine_p.h" 0010 #include "utils/filedescriptor.h" 0011 0012 namespace KWin 0013 { 0014 0015 class LinuxClockSkewNotifierEngine : public ClockSkewNotifierEngine 0016 { 0017 Q_OBJECT 0018 0019 public: 0020 static LinuxClockSkewNotifierEngine *create(QObject *parent); 0021 0022 private Q_SLOTS: 0023 void handleTimerCancelled(); 0024 0025 private: 0026 LinuxClockSkewNotifierEngine(FileDescriptor &&fd, QObject *parent); 0027 0028 FileDescriptor m_fd; 0029 }; 0030 0031 } // namespace KWin