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
2 KiB
Desktop File
41 lines
2 KiB
Desktop File
[Desktop Entry]
|
||
Encoding=UTF-8
|
||
Type=Service
|
||
ServiceTypes=KdeConnect/Plugin
|
||
X-KDE-Library=kdeconnect_battery
|
||
X-KDE-PluginInfo-Author=Albert Vaca
|
||
X-KDE-PluginInfo-Email=albertvaka@gmail.com
|
||
X-KDE-PluginInfo-Name=kdeconnect_battery
|
||
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=battery-100
|
||
Name=Battery monitor
|
||
Name[cs]=Monitor baterie
|
||
Name[de]=Akkuüberwachung
|
||
Name[es]=Monitor de la batería
|
||
Name[fr]=Moniteur de batterie
|
||
Name[hu]=Akkumulátorfigyelő
|
||
Name[nl]=Batterijmonitor
|
||
Name[pt]=Monitor da bateria
|
||
Name[pt_BR]=Monitor de bateria
|
||
Name[ru]=Индикатор батареи
|
||
Name[sk]=Monitor batérie
|
||
Name[sv]=Batteriövervakare
|
||
Name[uk]=Монітор акумулятора
|
||
Name[x-test]=xxBattery monitorxx
|
||
Comment=Show your phone battery next to your computer battery
|
||
Comment[de]=Zeigt den Akku Ihres Telefons neben dem Akku des Rechners
|
||
Comment[es]=Muestra la batería de su teléfono junto a la batería de su equipo
|
||
Comment[fr]=Affichez la batterie de votre téléphone près de la batterie de votre téléphone
|
||
Comment[hu]=A telefon akkumulátorának megjelenítése a számítógép akkumulátora mellett
|
||
Comment[nl]=Uw telefoonbatterij naast uw computerbatterij tonen
|
||
Comment[pt]=Mostra a bateria do seu telemóvel ao lado da do computador
|
||
Comment[pt_BR]=Mostra a bateria do seu celular ao lado da bateria do computador
|
||
Comment[ru]=Показывать значок батареи устройства рядом со значком батареи компьютера
|
||
Comment[sv]=Visa telefonens batteri intill datorbatteriet
|
||
Comment[uk]=Показ даних щодо рівня заряду акумулятора на телефоні поряд з даними щодо рівня заряду акумулятора комп’ютера
|
||
Comment[x-test]=xxShow your phone battery next to your computer batteryxx
|
||
|
||
X-KdeConnect-SupportedPackageType=kdeconnect.battery
|