You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
600 B
31 lines
600 B
/* |
|
SPDX-FileCopyrightText: 2024 Vlad Zahorodnii <vlad.zahorodnii@kde.org> |
|
|
|
SPDX-License-Identifier: LGPL-2.0-or-later |
|
*/ |
|
|
|
#include "eventlistener.h" |
|
|
|
#include <KPluginFactory> |
|
|
|
namespace KWin |
|
{ |
|
|
|
class KWIN_EXPORT EventListenerFactory : public PluginFactory |
|
{ |
|
Q_OBJECT |
|
Q_PLUGIN_METADATA(IID PluginFactory_iid FILE "metadata.json") |
|
Q_INTERFACES(KWin::PluginFactory) |
|
|
|
public: |
|
explicit EventListenerFactory() = default; |
|
|
|
std::unique_ptr<Plugin> create() const override |
|
{ |
|
return std::make_unique<EventListener>(); |
|
} |
|
}; |
|
|
|
} // namespace KWin |
|
|
|
#include "main.moc"
|
|
|