Bump version to keep in sync with libfso-glib
[specs.git] / org.freesmartphone.PIM / org.freesmartphone.PIM.Task.xml.in
blob04c33cf850862d9ab57c7e507274b981a9c55c9c
1 <?xml version="1.0"?>
2 <node name="/" xmlns:doc="http://www.freedesktop.org/dbus/1.0/doc.dtd" doc:id="freesmartphone-contact-interface">
4 <doc:doc>
5 <doc:summary>freesmartphone.org PIM.Task Interface</doc:summary>
6 </doc:doc>
8 <interface name="org.freesmartphone.PIM.Task">
10 <doc:doc>
11 <doc:para>
12 This interface provides access to one PIM task.
13 </doc:para>
14 </doc:doc>
16 <method name="GetContent">
17 <annotation name="org.freedesktop.DBus.GLib.Async" value="true" />
18 <doc:doc>
19 <doc:description>
20 Get the fields of one task.
21 </doc:description>
22 </doc:doc>
23 <arg direction="out" type="a{sv}" name="task_data">
24 <doc:doc>
25 <doc:summary>
26 The task's data.
27 </doc:summary>
28 </doc:doc>
29 </arg>
30 </method>
32 <method name="GetMultipleFields">
33 <annotation name="org.freedesktop.DBus.GLib.Async" value="true" />
34 <doc:doc>
35 <doc:description>
36 Get a specified field list of the task's data.
37 </doc:description>
38 </doc:doc>
39 <arg direction="in" type="s" name="field_list">
40 <doc:doc>
41 <doc:summary>
42 The list of fields to get, split by "," (coma) char.
43 </doc:summary>
44 </doc:doc>
45 </arg>
46 <arg direction="out" type="a{sv}" name="field_data">
47 <doc:doc>
48 <doc:summary>
49 The data of the requested fields.
50 </doc:summary>
51 </doc:doc>
52 </arg>
53 </method>
55 <method name="GetUsedBackends">
56 <doc:doc>
57 <doc:description>
58 Get used backends in task.
59 </doc:description>
60 </doc:doc>
61 <arg direction="out" type="as" name="backends">
62 <doc:doc>
63 <doc:summary>
64 The list of backends used in this task.
65 </doc:summary>
66 </doc:doc>
67 </arg>
68 </method>
70 <method name="Update">
71 <annotation name="org.freedesktop.DBus.GLib.Async" value="true" />
72 <doc:doc>
73 <doc:description>
74 Update one or more fields of this task.
75 </doc:description>
76 </doc:doc>
77 <arg direction="in" type="a{sv}" name="task_data">
78 <doc:doc>
79 <doc:summary>
80 The list of fields/values to update for this task.
81 </doc:summary>
82 </doc:doc>
83 </arg>
84 </method>
86 <method name="Delete">
87 <annotation name="org.freedesktop.DBus.GLib.Async" value="true" />
88 <doc:doc>
89 <doc:description>
90 Delete this task.
91 </doc:description>
92 </doc:doc>
93 </method>
95 </interface>
97 </node>