kwin/plugins/nightcolor/clockskewnotifierengine_linux.h

33 lines
565 B
C
Raw Normal View History

/*
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
*/
#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