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
21 lines
634 B
Desktop File
21 lines
634 B
Desktop File
[Desktop Entry]
|
|
Type=ServiceType
|
|
X-KDE-ServiceType=KdeConnect/Plugin
|
|
X-KDE-Derived=KPluginInfo
|
|
Name=KDEConnect Plugin
|
|
Name[de]=KDEConnect-Modul
|
|
Name[es]=Complemento de KDEConnect
|
|
Name[fr]=Module externe KDEConnect
|
|
Name[hu]=KDEConnect bővítmény
|
|
Name[nl]=Plug-in van KDEConnect
|
|
Name[pt]='Plugin' do KDEConnect
|
|
Name[pt_BR]=Plugin do KDEConnect
|
|
Name[ru]=Модуль KDEConnect
|
|
Name[sk]=Plugin KDEConnect
|
|
Name[sv]=KDE anslutningsinsticksprogram
|
|
Name[uk]=Додаток KDEConnect
|
|
Name[x-test]=xxKDEConnect Pluginxx
|
|
|
|
# mandatory, list of all the package types supported
|
|
[PropertyDef::X-KdeConnect-SupportedPackageType]
|
|
Type=QStringList
|