7091f333f9
This is not needed, because only a symbol to create the KPluginFactory instance must be exported. The KPluginFactory macros or rather the underlying Q_PLUGIN_METADATA macro already take care of that. In other plugin code of KDE, we also do not export classes. The size of the generated plugin files is nearly identical, but removing the macros avoids confusion for developers. |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
kdeconnect_screensaver_inhibit.json | ||
org.freedesktop.ScreenSaver.xml | ||
README | ||
screensaverinhibitplugin-macos.cpp | ||
screensaverinhibitplugin-macos.h | ||
screensaverinhibitplugin-win.cpp | ||
screensaverinhibitplugin-win.h | ||
screensaverinhibitplugin.cpp | ||
screensaverinhibitplugin.h |
This plugin inhibits the screensaver from kicking in when the device is connected to kdeconnect, it then uninhibits the screensaver if the device was to go out of range or be disconnected.