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
43 lines
1.3 KiB
Desktop File
43 lines
1.3 KiB
Desktop File
[Desktop Entry]
|
||
Encoding=UTF-8
|
||
Type=Service
|
||
ServiceTypes=KdeConnect/Plugin
|
||
X-KDE-Library=kdeconnect_ping
|
||
X-KDE-PluginInfo-Author=Albert Vaca
|
||
X-KDE-PluginInfo-Email=albertvaka@gmail.com
|
||
X-KDE-PluginInfo-Name=kdeconnect_ping
|
||
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=dialog-ok
|
||
Name=Ping
|
||
Name[cs]=Ping
|
||
Name[de]=Ping
|
||
Name[es]=Ping
|
||
Name[fr]=Commande « Ping »
|
||
Name[hu]=Ping
|
||
Name[nl]=Ping
|
||
Name[pt]=Pedido de Rede
|
||
Name[pt_BR]=Ping
|
||
Name[ru]=Пинг
|
||
Name[sk]=Ping
|
||
Name[sv]=Ping
|
||
Name[uk]=Луна
|
||
Name[x-test]=xxPingxx
|
||
Comment=Send and receive pings
|
||
Comment[cs]=Posílat a přijímat ping
|
||
Comment[de]=Senden und Empfangen von Pings
|
||
Comment[es]=Enviar y recibir pings
|
||
Comment[fr]=Envoyez et recevez des « ping »
|
||
Comment[hu]=Pingek küldése és fogadása
|
||
Comment[nl]=Pings verzenden en ontvangen
|
||
Comment[pt]=Enviar e receber pedidos de rede
|
||
Comment[pt_BR]=Envia e recebe pings
|
||
Comment[ru]=Посылать и получать пинги
|
||
Comment[sk]=Poslať a prijať pingy
|
||
Comment[sv]=Skicka och ta emot ping
|
||
Comment[uk]=Надсилання і отримання сигналів підтримання зв’язку
|
||
Comment[x-test]=xxSend and receive pingsxx
|
||
|
||
X-KdeConnect-SupportedPackageType=kdeconnect.ping
|