Initial DBus API

This commit is contained in:
Evangelos Ribeiro Tzaras
2021-02-05 01:41:33 +01:00
parent 17f684db5e
commit 8d937bedf6
6 changed files with 114 additions and 1 deletions

View File

@@ -0,0 +1,36 @@
<!DOCTYPE node PUBLIC
"-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
<!--
Copyright (C) 2021 Purism SPC
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 3 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General
Public License along with this library; if not, see <http://www.gnu.org/licenses/>.
-->
<node>
<interface name="sm.puri.Calls.Call">
<method name="AcceptCall"/>
<method name="EndCall"/>
<method name="HoldCall"/>
<method name="UnholdCall"/>
<method name="SendDtmf">
<arg direction="in" type="s" name="tones"/>
</method>
<property name="CallParty" type="as" access="read"/>
<property name="CallIsConference" type="b" access="read"/>
<property name="CallState" type="u" access="read"/>
<property name="Origin" type="s" access="read"/>
</interface>
</node>