~ubuntu-branches/ubuntu/utopic/kde-workspace/utopic-proposed

« back to all changes in this revision

Viewing changes to solid/modemmanager-0.4/dbus/introspection/mm-modem-gsm-contacts.xml

  • Committer: Bazaar Package Importer
  • Author(s): Michał Zając
  • Date: 2011-07-09 08:31:15 UTC
  • Revision ID: james.westby@ubuntu.com-20110709083115-ohyxn6z93mily9fc
Tags: upstream-4.6.90
Import upstream version 4.6.90

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="UTF-8" ?>
 
2
 
 
3
<node name="/" xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">
 
4
  <interface name="org.freedesktop.ModemManager.Modem.Gsm.Contacts">
 
5
    <method name="Add">
 
6
      <tp:docstring>
 
7
        Add a new contact to the SIM card.
 
8
      </tp:docstring>
 
9
      <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
 
10
      <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_gsm_modem_contacts_add"/>
 
11
      <arg name="name" type="s" direction="in">
 
12
        <tp:docstring>
 
13
          The name of the contact.
 
14
        </tp:docstring>
 
15
      </arg>
 
16
      <arg name="number" type="s" direction="in">
 
17
        <tp:docstring>
 
18
          The phone number of the contact.
 
19
        </tp:docstring>
 
20
      </arg>
 
21
      <arg name="index" type="u" direction="out">
 
22
        <tp:docstring>
 
23
          The index of the new contact.
 
24
        </tp:docstring>
 
25
      </arg>
 
26
    </method>
 
27
 
 
28
    <method name="Delete">
 
29
      <tp:docstring>
 
30
        Delete a contact from the SIM card.
 
31
      </tp:docstring>
 
32
      <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
 
33
      <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_gsm_modem_contacts_delete"/>
 
34
      <arg name="index" type="u" direction="in">
 
35
        <tp:docstring>
 
36
          The index of the contact.
 
37
        </tp:docstring>
 
38
      </arg>
 
39
    </method>
 
40
 
 
41
    <method name="Get">
 
42
      <tp:docstring>
 
43
        Retrieve a contact from the SIM card.
 
44
      </tp:docstring>
 
45
      <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
 
46
      <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_gsm_modem_contacts_get"/>
 
47
      <arg name="index" type="u" direction="in">
 
48
        <tp:docstring>
 
49
          The index of the contact.
 
50
        </tp:docstring>
 
51
      </arg>
 
52
      <arg name="contact" type="(uss)" direction="out">
 
53
        <annotation name="com.trolltech.QtDBus.QtTypeName.Out0" value="ContactType"/>
 
54
        <tp:docstring>
 
55
          The contact structure containing index, name, and number.
 
56
        </tp:docstring>
 
57
      </arg>
 
58
    </method>
 
59
 
 
60
    <method name="List">
 
61
      <tp:docstring>
 
62
        List all contacts on the SIM card.
 
63
      </tp:docstring>
 
64
      <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
 
65
      <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_gsm_modem_contacts_list"/>
 
66
      <arg name="results" type="a(uss)" direction="out">
 
67
        <annotation name="com.trolltech.QtDBus.QtTypeName.Out0" value="ContactTypeList"/>
 
68
        <tp:docstring>
 
69
          The list of contacts where each contact has an index, name, and number.
 
70
        </tp:docstring>
 
71
      </arg>
 
72
    </method>
 
73
 
 
74
    <method name="Find">
 
75
      <tp:docstring>
 
76
        Find a contact from the SIM card.
 
77
      </tp:docstring>
 
78
      <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
 
79
      <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_gsm_modem_contacts_find"/>
 
80
      <arg name="pattern" type="s" direction="in">
 
81
        <tp:docstring>
 
82
          The pattern to search for.
 
83
        </tp:docstring>
 
84
      </arg>
 
85
      <arg name="results" type="a(uss)" direction="out">
 
86
        <annotation name="com.trolltech.QtDBus.QtTypeName.Out0" value="ContactTypeList"/>
 
87
        <tp:docstring>
 
88
          The list of matching contacts where a contact has an index, name, and number.
 
89
        </tp:docstring>
 
90
      </arg>
 
91
    </method>
 
92
 
 
93
    <method name="GetCount">
 
94
      <tp:docstring>
 
95
        Get the number of contacts stored on the SIM card.
 
96
      </tp:docstring>
 
97
      <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
 
98
      <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_gsm_modem_contacts_count"/>
 
99
      <arg name="count" type="u" direction="out">
 
100
        <tp:docstring>
 
101
          The number of contacts.
 
102
        </tp:docstring>
 
103
      </arg>
 
104
    </method>
 
105
 
 
106
  </interface>
 
107
</node>