1631ada5b3
- We do not need the return type. If a plugin declares it can handle the packet it should do so. We don't have any fallback logic in place and the packet types are namespaced with the plugin IDs anyway. - Provide a default implementation with a warning, not all plugins need to overwrite this |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
kdeconnect_screensaver_inhibit.json | ||
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.