kdeconnect-kde/kded/plugins/clipboard
Aleix Pol Gonzalez 5e151d185e Improved package dispatch to the different plugins
Before this patch, all plugins had to discard received packages that were
not for themselves. This could be a security problem (a plugin could sniff
other plugin's packages) and also adds some complexity and processing.

This patch makes the device instance aware of what services are required
by the different plugins and when a package is received the corresponding
plugins will get the package.

These services will be listed on the plugin's desktop file, so the user
can decide whether to enable a plugin.

Note that this only works for receiving, not sending.

REVIEW: 113210
2013-10-29 17:46:57 +01:00
..
clipboardplugin.cpp Improved package dispatch to the different plugins 2013-10-29 17:46:57 +01:00
clipboardplugin.h Code review 2013-10-11 15:20:04 +02:00
CMakeLists.txt Includes and cmakelists cleanup 2013-09-26 17:49:40 +02:00
kdeconnect_clipboard.desktop Improved package dispatch to the different plugins 2013-10-29 17:46:57 +01:00
README Documentation 2013-09-24 14:14:34 +02:00

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.