2020-01-07 15:12:11 +00:00
|
|
|
/*
|
2020-08-02 22:22:19 +00:00
|
|
|
SPDX-FileCopyrightText: 2019 Vlad Zahorodnii <vlad.zahorodnii@kde.org>
|
|
|
|
|
|
|
|
SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
*/
|
2020-01-07 15:12:11 +00:00
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "clockskewnotifierengine_p.h"
|
|
|
|
|
|
|
|
namespace KWin
|
|
|
|
{
|
|
|
|
|
|
|
|
class LinuxClockSkewNotifierEngine : public ClockSkewNotifierEngine
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
~LinuxClockSkewNotifierEngine() override;
|
|
|
|
|
|
|
|
static LinuxClockSkewNotifierEngine *create(QObject *parent);
|
|
|
|
|
|
|
|
private Q_SLOTS:
|
|
|
|
void handleTimerCancelled();
|
|
|
|
|
|
|
|
private:
|
|
|
|
LinuxClockSkewNotifierEngine(int fd, QObject *parent);
|
|
|
|
|
|
|
|
int m_fd;
|
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace KWin
|