2 <node name=
"/" xmlns:
doc=
"http://www.freedesktop.org/dbus/1.0/doc.dtd" doc:
id=
"freesmartphone-pim-notes-interface">
5 <doc:summary>freesmartphone.org PIM.Notes Interface
</doc:summary>
8 <interface name=
"org.freesmartphone.PIM.Notes">
12 This interface provides access to the collection of PIM notes.
17 <annotation name=
"org.freedesktop.DBus.GLib.Async" value=
"true" />
20 Add a new note to the default backend for notes.
23 <arg direction=
"in" type=
"a{sv}" name=
"note_data">
30 <arg direction=
"out" type=
"s" name=
"note_path">
33 The path of the added note.
39 <method name=
"GetUsedTags">
40 <annotation name=
"org.freedesktop.DBus.GLib.Async" value=
"true" />
43 Returns list of all tags used in loaded notes.
46 <arg direction=
"out" type=
"as" name=
"used_tags">
55 <method name=
"GetSingleEntrySingleField">
56 <annotation name=
"org.freedesktop.DBus.GLib.Async" value=
"true" />
59 Query the content of one field of one note.
62 <arg direction=
"in" type=
"a{sv}" name=
"query">
69 <arg direction=
"in" type=
"s" name=
"field">
72 The name of the field to query.
76 <arg direction=
"out" type=
"s" name=
"value">
79 The content of the queried field.
86 <annotation name=
"org.freedesktop.DBus.GLib.Async" value=
"true" />
89 Start a query for notes.
92 <arg direction=
"in" type=
"a{sv}" name=
"query">
99 <arg direction=
"out" type=
"s" name=
"query_path">
102 The path for the started query.
108 <signal name=
"NewNote">
111 Sent when a new note is loaded.
114 <arg type=
"s" name=
"note_path">
117 The path of the newly loaded note.
123 <signal name=
"NewTag">
126 Sent when a newly loaded or updated note has some unused before tag.
129 <arg type=
"s" name=
"tag">
138 <signal name=
"TagRemoved">
141 Sent when last instance of tag in notes is removed.
144 <arg type=
"s" name=
"tag">
147 The name of removed tag.