kdeconnect-kde/kded/plugins/telephony
Aleix Pol Gonzalez 5e151d185e Improved package dispatch to the different plugins
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
2013-10-29 17:46:57 +01:00
..
CMakeLists.txt Renamed daemon -> kded 2013-09-02 03:23:34 +02:00
kdeconnect_telephony.desktop SVN_SILENT made messages (.desktop file) 2013-10-14 04:20:28 +00:00
README Documentation 2013-09-24 14:14:34 +02:00
telephonyplugin.cpp Improved package dispatch to the different plugins 2013-10-29 17:46:57 +01:00
telephonyplugin.h Improved package dispatch to the different plugins 2013-10-29 17:46:57 +01:00

This plugin will display a notification each time a package with type
"kdeconnect.telephony" is received. The type of notification will change
depending on the contents of the field "event" (string).

Valid contents for "event" are: "ringing", "talking", "missedCall" and "sms".
Note that "talking" is just ignored in this implementation, while the others
will display a system notification.

If the incoming package contains a "phoneNumber" string field, the notification
will also display it. Note that "phoneNumber" can be a contact name instead
of an actual phone number.

If the incoming package contains "isCancel" set to true, the package is ignored.