~ubuntu-branches/ubuntu/wily/modemmanager/wily

« back to all changes in this revision

Viewing changes to introspection/org.freedesktop.ModemManager1.Modem.Contacts.xml

  • Committer: Package Import Robot
  • Author(s): Mathieu Trudel-Lapierre
  • Date: 2013-12-20 15:35:26 UTC
  • mfrom: (1.2.2)
  • Revision ID: package-import@ubuntu.com-20131220153526-j3xu9gp51ltzlizc
Tags: 1.0.0-1
* New upstream release. (Closes: #728214, #728215)
* debian/control: add a versioned dependency for libqmi -- we need at least
  version 1.4.
* debian/control: build-depends on libmbim-glib-dev 1.4
* debian/rules: run the local autogen.sh rather than gnome-autogen.sh.
* debian/rules: drop --with-tests. 
* debian/rules: clean up after gtk-doc files left around.
* debian/patches/glib_fixes.patch: link against glib explicitly for the
  huawei modem helper tests.
* debian/libmm-glib0.symbols: updated symbols.
* debian/watch: update watch file for new location of upstream source.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<?xml version="1.0" encoding="UTF-8" ?>
2
 
 
3
 
<!--
4
 
 ModemManager 0.6 Interface Specification
5
 
 
6
 
   Copyright (C) 2008 Novell, Inc.
7
 
   Copyright (C) 2008-2011 Red Hat, Inc.
8
 
   Copyright (C) 2011 The Chromium OS Authors
9
 
   Copyright (C) 2011 Google, Inc.
10
 
-->
11
 
 
12
 
<node name="/" xmlns:doc="http://www.freedesktop.org/dbus/1.0/doc.dtd">
13
 
 
14
 
  <!--
15
 
      org.freedesktop.ModemManager1.Modem.Contacts:
16
 
      @short_description: The ModemManager Contacts interface.
17
 
 
18
 
      This interface provides access to contacts stored in various locations,
19
 
      including SIM cards, device storage, and other locations. Operations
20
 
      generally operate on all contacts regardless of their actual storage
21
 
      location.
22
 
 
23
 
      Contacts are referred to by index numbers, which are internal to
24
 
      ModemManager and do not represent indexes of SIM cards or the device.
25
 
      Indexes may not be contiguous.
26
 
  -->
27
 
  <interface name="org.freedesktop.ModemManager1.Modem.Contacts">
28
 
 
29
 
    <!--
30
 
        Add:
31
 
        @properties: Dictionary of properties describing the contact.
32
 
        @index: The index number of the new contact
33
 
 
34
 
        Add a new contact.
35
 
 
36
 
        If any of the property in @properties exceeds the modem's size limit,
37
 
        that property will be truncated to fit.
38
 
 
39
 
        Known properties are:
40
 
        <variablelist>
41
 
          <varlistentry><term><literal>"name"</literal></term>
42
 
            <listitem>
43
 
              Full name of the contact, given as a string value
44
 
              (signature <literal>"s"</literal>).
45
 
            </listitem>
46
 
          </varlistentry>
47
 
          <varlistentry><term><literal>"number"</literal></term>
48
 
            <listitem>
49
 
              Telephone number, given as a string value
50
 
              (signature <literal>"s"</literal>).
51
 
            </listitem>
52
 
          </varlistentry>
53
 
          <varlistentry><term><literal>"email"</literal></term>
54
 
            <listitem>
55
 
              Email address, given as a string value
56
 
              (signature <literal>"s"</literal>).
57
 
            </listitem>
58
 
          </varlistentry>
59
 
          <varlistentry><term><literal>"group"</literal></term>
60
 
            <listitem>
61
 
              Group this contact belongs to, given as a string value
62
 
              (signature <literal>"s"</literal>).
63
 
            </listitem>
64
 
          </varlistentry>
65
 
          <varlistentry><term><literal>"name2"</literal></term>
66
 
            <listitem>
67
 
              Additional contact name, given as a string value
68
 
              (signature <literal>"s"</literal>).
69
 
            </listitem>
70
 
          </varlistentry>
71
 
          <varlistentry><term><literal>"number2"</literal></term>
72
 
            <listitem>
73
 
              Additional contact telephone number, given as a string value
74
 
              (signature <literal>"s"</literal>).
75
 
            </listitem>
76
 
          </varlistentry>
77
 
          <varlistentry><term><literal>"hidden"</literal></term>
78
 
            <listitem>
79
 
              Boolean flag to specify whether this entry is hidden or not,
80
 
              (signature <literal>"b"</literal>).
81
 
            </listitem>
82
 
          </varlistentry>
83
 
          <varlistentry><term><literal>"storage"</literal></term>
84
 
            <listitem>
85
 
              Phonebook in which the contact is stored, given as a
86
 
              <link linkend="MMModemContactsStorage">MMModemContactsStorage</link>,
87
 
              (signature <literal>"u"</literal>).
88
 
            </listitem>
89
 
          </varlistentry>
90
 
        </variablelist>
91
 
 
92
 
        The @index number is an internal private number to ModemManager and does
93
 
        not correspond to the index of the contact in the modem or SIM itself.
94
 
    -->
95
 
    <method name="Add">
96
 
      <arg name="properties" type="a{sv}" direction="in"  />
97
 
      <arg name="index"      type="u"     direction="out" />
98
 
    </method>
99
 
 
100
 
    <!--
101
 
        Delete:
102
 
        @index: The index of the contact to delete.
103
 
 
104
 
        Delete a contact.
105
 
    -->
106
 
    <method name="Delete">
107
 
      <arg name="index" type="u" direction="in" />
108
 
    </method>
109
 
 
110
 
    <!--
111
 
        Get:
112
 
        @index: The index of the contact.
113
 
        @properties: The properties of the contact.
114
 
 
115
 
        Retrieve a contact.
116
 
    -->
117
 
    <method name="Get">
118
 
      <arg name="index"      type="u"     direction="in"  />
119
 
      <arg name="properties" type="a{sv}" direction="out" />
120
 
    </method>
121
 
 
122
 
    <!--
123
 
        List:
124
 
        @results: An array of dictionaries, each dictionary representing a contact.
125
 
 
126
 
        List all contacts.
127
 
    -->
128
 
    <method name="List">
129
 
      <arg name="results" type="aa{sv}" direction="out" />
130
 
    </method>
131
 
 
132
 
    <!--
133
 
        Find:
134
 
        @pattern: The pattern to search for.
135
 
        @results: An array of dictionaries, each dictionary representing a contact.
136
 
 
137
 
        Find a contact.
138
 
    -->
139
 
    <method name="Find">
140
 
      <arg name="pattern" type="s"      direction="in"  />
141
 
      <arg name="results" type="aa{sv}" direction="out" />
142
 
    </method>
143
 
 
144
 
    <!--
145
 
        GetCount:
146
 
        @count: The number of contacts.
147
 
 
148
 
        Get the number of contacts.
149
 
    -->
150
 
    <method name="GetCount">
151
 
      <arg name="count" type="u" direction="out" />
152
 
    </method>
153
 
 
154
 
    <!--
155
 
        Added:
156
 
        @index: The index number of the new contact.
157
 
        @properties: The properties of the contact.
158
 
 
159
 
        Emitted when a new contact is added.
160
 
    -->
161
 
    <signal name="Added">
162
 
      <arg name="index"      type="u"     />
163
 
      <arg name="properties" type="a{sv}" />
164
 
    </signal>
165
 
 
166
 
    <!--
167
 
        Deleted:
168
 
        @index: The index number of the now deleted contact.
169
 
 
170
 
        Emitted when a new contact has been deleted.
171
 
    -->
172
 
    <signal name="Deleted">
173
 
      <arg name="index" type="u" />
174
 
    </signal>
175
 
 
176
 
  </interface>
177
 
</node>