~thomas-voss/dbus-cpp/add_support_for_get_connection_app_armor_security_context

« back to all changes in this revision

Viewing changes to tests/data/org.freedesktop.ModemManager.Modem.Gsm.SMS.xml

  • Committer: Tarmac
  • Author(s): thomas-voss, Thomas Voß
  • Date: 2013-12-12 13:25:20 UTC
  • mfrom: (11.2.42 dbus-cpp-refactoring)
  • Revision ID: tarmac-20131212132520-gi9pig97oo57tke5
 * Add introspect function to autogenerated protocol header files.
 * Add a code generator for protocol header files.
 * Split up files and move the boost::asio executor implementation into src.
 * Force definitions inline.

Approved by Timo Jyrinki, PS Jenkins bot.

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.SMS">
 
5
    <method name="Delete">
 
6
      <tp:docstring>
 
7
        Delete an SMS message.
 
8
      </tp:docstring>
 
9
      <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
 
10
      <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_gsm_modem_sms_delete"/>
 
11
      <arg name="index" type="u" direction="in">
 
12
        <tp:docstring>
 
13
          The index of the SMS.
 
14
        </tp:docstring>
 
15
      </arg>
 
16
    </method>
 
17
 
 
18
    <method name="Get">
 
19
      <tp:docstring>
 
20
        Retrieve an SMS from the SIM card.
 
21
      </tp:docstring>
 
22
      <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
 
23
      <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_gsm_modem_sms_get"/>
 
24
      <arg name="index" type="u" direction="in">
 
25
        <tp:docstring>
 
26
          The index of the SMS.
 
27
        </tp:docstring>
 
28
      </arg>
 
29
      <arg name="sms" type="a{sv}" direction="out">
 
30
        <tp:docstring>
 
31
          A dictionary containing SMS properties of the SMS specified by the given index.  This dictionary may contain the following key/value pairs:
 
32
 
 
33
          number   : string - Phone number (mandatory)
 
34
          text     : string - SMS text (mandatory, empty if data cannot be decoded)
 
35
          data     : byte array - SMS user data (TP-UD) (mandatory)
 
36
          data-coding-scheme: uint (0..255) - SMS user data coding scheme (TP-DCS) (mandatory)
 
37
          smsc     : string - SMS service center number (optional)
 
38
          class    : uint (0..3) - Message importance and location (optional)
 
39
          completed: boolean - Whether all message parts have been received or not (optional)
 
40
          index    : uint - Index of message (for Get and Delete) (optional)
 
41
        </tp:docstring>
 
42
      </arg>
 
43
    </method>
 
44
 
 
45
    <method name="GetFormat">
 
46
      <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
 
47
      <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_gsm_modem_sms_get_format"/>
 
48
      <arg name="result" type="u" direction="out"/>
 
49
    </method>
 
50
 
 
51
    <method name="SetFormat">
 
52
      <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
 
53
      <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_gsm_modem_sms_set_format"/>
 
54
      <arg name="format" type="u" direction="in"/>
 
55
    </method>
 
56
 
 
57
    <method name="GetSmsc">
 
58
      <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
 
59
      <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_gsm_modem_sms_get_smsc"/>
 
60
      <arg name="result" type="s" direction="out"/>
 
61
    </method>
 
62
 
 
63
    <method name="SetSmsc">
 
64
      <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
 
65
      <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_gsm_modem_sms_set_smsc"/>
 
66
      <arg name="smsc" type="s" direction="in"/>
 
67
    </method>
 
68
 
 
69
    <method name="List">
 
70
      <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
 
71
      <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_gsm_modem_sms_list"/>
 
72
      <arg name="result" type="aa{sv}" direction="out"/>
 
73
    </method>
 
74
 
 
75
    <method name="Save">
 
76
      <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
 
77
      <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_gsm_modem_sms_save"/>
 
78
      <arg name="properties" type="a{sv}" direction="in">
 
79
        <tp:docstring>
 
80
          SMS properties to save with the following key values:
 
81
 
 
82
          number   : string - Phone number (mandatory)
 
83
          text     : string - SMS text (mandatory)
 
84
          smsc     : string - SMS service center number (optional)
 
85
          relative-validity : uint - Minutes until the SMS expires in SMSC (optional)
 
86
          class    : uint (0..3) - Message importance and location (optional)
 
87
        </tp:docstring>
 
88
      </arg>
 
89
      <arg name="index" type="au" direction="out"/>
 
90
    </method>
 
91
 
 
92
    <method name="Send">
 
93
      <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
 
94
      <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_gsm_modem_sms_send"/>
 
95
      <arg name="properties" type="a{sv}" direction="in">
 
96
        <tp:docstring>
 
97
          SMS properties to save with the following key values:
 
98
 
 
99
          number   : string - Phone number (mandatory)
 
100
          text     : string - SMS text (mandatory)
 
101
          smsc     : string - SMS service center number (optional)
 
102
          relative-validity : uint - Minutes until the SMS expires in SMSC (optional)
 
103
          class    : uint (0..3) - Message importance and location (optional)
 
104
        </tp:docstring>
 
105
      </arg>
 
106
      <arg name="result" type="au" direction="out"/>
 
107
    </method>
 
108
 
 
109
    <method name="SendFromStorage">
 
110
      <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
 
111
      <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_gsm_modem_sms_send_from_storage"/>
 
112
      <arg name="index" type="u" direction="in"/>
 
113
    </method>
 
114
 
 
115
    <method name="SetIndication">
 
116
      <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
 
117
      <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_gsm_modem_sms_set_indication"/>
 
118
      <arg name="mode" type="u" direction="in"/>
 
119
      <arg name="mt" type="u" direction="in"/>
 
120
      <arg name="bm" type="u" direction="in"/>
 
121
      <arg name="ds" type="u" direction="in"/>
 
122
      <arg name="bfr" type="u" direction="in"/>
 
123
    </method>
 
124
 
 
125
    <signal name="SmsReceived">
 
126
      <tp:docstring>
 
127
        Emitted when any part of a new SMS has been received (but not for subsequent parts, if any).  Not all parts may have been received and the message may not be complete; if it is, the 'complete' argument will be TRUE.
 
128
      </tp:docstring>
 
129
      <arg name="index" type="u">
 
130
        <tp:docstring>
 
131
          Index of the new SMS.
 
132
        </tp:docstring>
 
133
      </arg>
 
134
      <arg name="complete" type="b">
 
135
        <tp:docstring>
 
136
          TRUE if all message parts have been received, otherwise FALSE.
 
137
        </tp:docstring>
 
138
      </arg>
 
139
    </signal>
 
140
 
 
141
    <signal name="Completed">
 
142
      <tp:docstring>
 
143
        Emitted when the complete-ness status of an SMS message changes.  An SMS may not necessarily be complete when the first part is received; this signal will be emitted when all parts have been received, even for single-part messages.
 
144
      </tp:docstring>
 
145
      <arg name="index" type="u">
 
146
        <tp:docstring>
 
147
          The index of the SMS.
 
148
        </tp:docstring>
 
149
      </arg>
 
150
      <arg name="completed" type="b">
 
151
        <tp:docstring>
 
152
          TRUE if all message parts have been received, otherwise FALSE.
 
153
        </tp:docstring>
 
154
      </arg>
 
155
    </signal>
 
156
 
 
157
  </interface>
 
158
</node>