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
33 lines
1.5 KiB
Desktop File
33 lines
1.5 KiB
Desktop File
[Desktop Entry]
|
||
Encoding=UTF-8
|
||
Type=Service
|
||
ServiceTypes=KdeConnect/Plugin
|
||
X-KDE-Library=kdeconnect_sharereceiver
|
||
X-KDE-PluginInfo-Author=Albert Vaca
|
||
X-KDE-PluginInfo-Email=albertvaka@gmail.com
|
||
X-KDE-PluginInfo-Name=kdeconnect_sharereceiver
|
||
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=folder-downloads
|
||
Name=Share receiver
|
||
Name[hu]=Megosztás vevő
|
||
Name[nl]=Ontvanger delen
|
||
Name[pt]=Destinatário da partilha
|
||
Name[pt_BR]=Destinatário do compartilhamento
|
||
Name[ru]=Сделать ресивер общим
|
||
Name[sv]=Dela mottagare
|
||
Name[uk]=Отримання спільних даних
|
||
Name[x-test]=xxShare receiverxx
|
||
Comment=Receive files and URLs shared from your phone
|
||
Comment[hu]=A telefonról megosztott fájlok és URL-ek fogadása
|
||
Comment[nl]=Ontvangen bestanden en URL's gedeeld met uw telefoon
|
||
Comment[pt]=Receber os ficheiros e URL's partilhados a partir do seu telefone
|
||
Comment[pt_BR]=Recebe os arquivos e URLs compartilhados a partir do seu telefone
|
||
Comment[ru]=Получать общие файлы и адреса URL с телефона
|
||
Comment[sv]=Ta emot filer och webbadresser att dela från din telefon
|
||
Comment[uk]=Отримання файлів та адрес, наданих у спільне користування з вашого телефону
|
||
Comment[x-test]=xxReceive files and URLs shared from your phonexx
|
||
|
||
X-KdeConnect-SupportedPackageType=kdeconnect.share
|