c766e5da6d
The scripting api is not suitable for implementing all features that should not be implemented in libkwin. For example, the krunner integration or screencasting are the things that don't belong to be compiled right into kwin and yet we don't have any other choice. This change introduces a quick and dirty plugin infrastructure that can be used to implement things such as colord integration, krunner integration, etc.
22 lines
320 B
C++
22 lines
320 B
C++
/*
|
|
SPDX-FileCopyrightText: 2020 Vlad Zahorodnii <vlad.zahorodnii@kde.org>
|
|
|
|
SPDX-License-Identifier: GPL-2.0-or-later
|
|
*/
|
|
|
|
#include "plugin.h"
|
|
|
|
namespace KWin
|
|
{
|
|
|
|
Plugin::Plugin(QObject *parent)
|
|
: QObject(parent)
|
|
{
|
|
}
|
|
|
|
PluginFactory::PluginFactory(QObject *parent)
|
|
: QObject(parent)
|
|
{
|
|
}
|
|
|
|
} // namespace KWin
|