5e151d185e
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
41 lines
1.5 KiB
Desktop File
41 lines
1.5 KiB
Desktop File
[Desktop Entry]
|
|
Encoding=UTF-8
|
|
Type=Service
|
|
ServiceTypes=KdeConnect/Plugin
|
|
X-KDE-Library=kdeconnect_clipboard
|
|
X-KDE-PluginInfo-Author=Albert Vaca
|
|
X-KDE-PluginInfo-Email=albertvaka@gmail.com
|
|
X-KDE-PluginInfo-Name=kdeconnect_clipboard
|
|
X-KDE-PluginInfo-Version=0.1
|
|
X-KDE-PluginInfo-Website=http://albertvaka.wordpress.com
|
|
X-KDE-PluginInfo-License=GPL
|
|
X-KDE-PluginInfo-EnabledByDefault=true
|
|
Icon=edit-paste
|
|
Name=Clipboard
|
|
Name[cs]=Schránka
|
|
Name[de]=Zwischenablage
|
|
Name[es]=Portapapeles
|
|
Name[fr]=Presse-papiers
|
|
Name[hu]=Vágólap
|
|
Name[nl]=Klembord
|
|
Name[pt]=Área de Transferência
|
|
Name[pt_BR]=Área de transferência
|
|
Name[ru]=Буфер обмена
|
|
Name[sk]=Schránka
|
|
Name[sv]=Klippbord
|
|
Name[uk]=Буфер обміну
|
|
Name[x-test]=xxClipboardxx
|
|
Comment=Share the clipboard between devices
|
|
Comment[de]=Die Zwischenablage mit Geräten teilen
|
|
Comment[es]=Compartir el portapapeles entre dispositivos
|
|
Comment[fr]=Partagez le presse-papiers entre périphériques
|
|
Comment[hu]=Vágólap megosztása az eszközök között
|
|
Comment[nl]=Het klembord tussen apparaten delen
|
|
Comment[pt]=Partilhar a área de transferência entre dispositivos
|
|
Comment[pt_BR]=Compartilhar a área de transferência entre dispositivos
|
|
Comment[ru]=Общий буфер обмена для всех устройств
|
|
Comment[sv]=Dela klippbordet mellan apparater
|
|
Comment[uk]=Спільне використання буфера обміну даними на пристроях
|
|
Comment[x-test]=xxShare the clipboard between devicesxx
|
|
|
|
X-KdeConnect-SupportedPackageType=kdeconnect.clipboard
|