mirror of
https://gitlab.gnome.org/GNOME/calls.git
synced 2024-12-27 06:47:35 +00:00
460c0c6c3d
This is an initial, static implementation of plugins. The CallsApplication has a plugin name which can be changed with a new --provider command line option. This plugin name is used to instantiate the appropriate plugin when the application is activated. From then on, the plugin cannot change. In future, we can expand this support to include loading multiple plugins at once, configurable through some UI. This will have far-reaching implications though, and complicate things like enumerating the provider hierarchy. There is also no practical benefit right now; the mm and ofono plugins can't be used at the same time because ModemManager and oFono don't play nice together, and the whole raison d'être of the dummy plugin is undermined if you can make use of one of the others. So for now, we just implement one static plugin.
12 lines
612 B
XML
12 lines
612 B
XML
<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
|
|
"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
|
|
<node>
|
|
|
|
<interface name="org.ofono.VoiceCall"><method name="GetProperties"><arg name="properties" type="a{sv}" direction="out"/>
|
|
</method><method name="Deflect"><arg name="number" type="s" direction="in"/>
|
|
</method><method name="Hangup"></method><method name="Answer"></method><signal name="PropertyChanged"><arg name="name" type="s"/>
|
|
<arg name="value" type="v"/>
|
|
</signal>
|
|
<signal name="DisconnectReason"><arg name="reason" type="s"/>
|
|
</signal>
|
|
</interface></node>
|