api: refine new API based on suggestions from Eric Shienbrood

This commit is contained in:
Dan Williams
2011-08-01 17:47:38 -05:00
parent e0eb7038af
commit 18231c9f8d
4 changed files with 80 additions and 12 deletions
+14 -1
View File
@@ -27,13 +27,26 @@
</tp:docstring>
<annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_sim_get_operator_id"/>
<arg name="imsi" type="s" direction="out">
<arg name="operator_id" type="s" direction="out">
<tp:docstring>
The operator ID formatted as an MCC/MNC code.
</tp:docstring>
</arg>
</method>
<method name="GetOperatorName">
<tp:docstring>
Returns the name of the operator as given by the SIM card, if known.
</tp:docstring>
<annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_sim_get_operator_name"/>
<arg name="operator_name" type="s" direction="out">
<tp:docstring>
The operator name.
</tp:docstring>
</arg>
</method>
<method name="SendPuk">
<tp:docstring>
Send the PUK and a new PIN to unlock the SIM card.