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 |
||
---|---|---|
.. | ||
clipboard_config.cpp | ||
clipboard_config.h | ||
clipboard_config.ui | ||
clipboardlistener.cpp | ||
clipboardlistener.h | ||
clipboardplugin.cpp | ||
clipboardplugin.h | ||
CMakeLists.txt | ||
kdeconnect_clipboard.json | ||
kdeconnect_clipboard_config.qml | ||
README |
When the clipboard changes, it sends a package with type kdeconnect.clipboard and the field "content" (string) containing the new clipboard content. When it receivest a package of the same kind, it should update the system clipboard with the received content, so the clipboard in both devices always have the same content. This plugin is symmetric to its counterpart in the other device: both have the same behaviour.