1
0
mirror of https://github.com/KDE/krfb synced 2026-07-01 07:41:17 -07:00
Files
krfb/events/xdp/xdpeventsplugin.cpp
2024-08-08 11:02:04 +00:00

30 lines
542 B
C++

/*
This file is part of the KDE project
SPDX-FileCopyrightText: 2018-2019 Jan Grulich <jgrulich@redhat.com>
SPDX-License-Identifier: GPL-2.0-or-later
*/
#include "xdpeventsplugin.h"
#include "xdpevents.h"
#include <KPluginFactory>
K_PLUGIN_CLASS(XdpEventsPlugin)
XdpEventsPlugin::XdpEventsPlugin(QObject *parent, const QVariantList &args)
: EventsPlugin(parent, args)
{
}
EventHandler *XdpEventsPlugin::eventHandler()
{
// works only under Wayland
return new XdpEventHandler();
}
#include "xdpeventsplugin.moc"