api,dbus: rewrite Methods, Properties and Signals for gdbus-codegen

This commit is contained in:
Aleksander Morgado
2012-03-15 14:14:17 +01:00
parent 793c65705f
commit 8763576a34
13 changed files with 1749 additions and 1231 deletions
+79 -56
View File
@@ -1,75 +1,98 @@
<?xml version="1.0" encoding="UTF-8" ?>
<node name="/" xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">
<!--
ModemManager 0.6 Interface Specification
Copyright (C) 2008 Novell, Inc.
Copyright (C) 2008-2011 Red Hat, Inc.
Copyright (C) 2011 The Chromium OS Authors
Copyright (C) 2011 Google, Inc.
-->
<node name="/" xmlns:doc="http://www.freedesktop.org/dbus/1.0/doc.dtd">
<!--
org.freedesktop.ModemManager1.Sms:
@short_description: The ModemManager SMS interface.
The SMS interface Defines operations and properties of a single SMS message.
-->
<interface name="org.freedesktop.ModemManager1.Sms">
<tp:docstring>
Defines operations and properties of a single SMS message.
</tp:docstring>
<!--
Delete:
<!-- METHODS -->
Delete the message.
-->
<method name="Delete" />
<method name="Delete">
<tp:docstring>
Deletes the message.
</tp:docstring>
<annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_modem_sms_delete"/>
</method>
<!--
Send:
<method name="Send">
<tp:docstring>
If the message has not yet been sent, queue it for delivery.
</tp:docstring>
<annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_modem_sms_send"/>
</method>
-->
<method name="Send" />
<!-- PROPERTIES -->
<!--
State:
<property name="State" type="u" access="read" tp:type="MM_MODEM_SMS_STATE">
<tp:docstring>
Describes the state of the message.
</tp:docstring>
</property>
A <link linkend="MMModemSmsState">MMModemSmsState</link> value,
describing the state of the message.
-->
<property name="State" type="u" access="read" />
<property name="To" type="s" access="readwrite">
<tp:docstring>
Indicates the number to which the message is addressed.
</tp:docstring>
</property>
<!--
To:
<property name="Text" type="s" access="readwrite">
<tp:docstring>
Message text. When sending, if the text is larger than the limit of
the technology or modem, the message will be broken into multiple
parts or messages.
</tp:docstring>
</property>
Number to which the message is addressed.
-->
<property name="To" type="s" access="readwrite" />
<property name="Smsc" type="s" access="readwrite">
<tp:docstring>
Indicates the SMS service center number. Always empty for 3GPP2/CDMA.
</tp:docstring>
</property>
<!--
Text:
<property name="Validity" type="u" access="readwrite">
<tp:docstring>
Specifies when the SMS expires in the SMSC. Always 0 for 3GPP2/CDMA.
</tp:docstring>
</property>
Message text.
<property name="Class" type="u" access="readwrite">
<tp:docstring>
3GPP message class (0..3). Always 0 for 3GPP2/CDMA.
</tp:docstring>
</property>
When sending, if the text is larger than the limit of the technology or
modem, the message will be broken into multiple parts or messages.
-->
<property name="Text" type="s" access="readwrite" />
<property name="Timestamp" type="s" access="read">
<tp:docstring>
Time message was received or was sent in ISO8601 format.
</tp:docstring>
</property>
<!--
SMSC:
Indicates the SMS service center number.
Always empty for 3GPP2/CDMA.
-->
<property name="SMSC" type="s" access="readwrite" />
<!--
Validity:
Specifies when the SMS expires in the SMSC.
Always 0 for 3GPP2/CDMA.
-->
<property name="Validity" type="u" access="readwrite" />
<!--
Class:
3GPP message class (0..3).
Always 0 for 3GPP2/CDMA.
-->
<property name="Class" type="u" access="readwrite" />
<!--
Timestamp:
Time message was received or was sent, in
<ulink url="http://en.wikipedia.org/wiki/ISO_8601">ISO8601</ulink>
format.
-->
<property name="Timestamp" type="s" access="read" />
<!-- ENUMS -->