File: with-properties.xml

package info (click to toggle)
telepathy-glib 0.24.1-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 34,628 kB
  • sloc: ansic: 124,643; xml: 34,410; sh: 11,299; python: 3,520; makefile: 1,727; cpp: 16
file content (24 lines) | stat: -rw-r--r-- 847 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<tp:spec
  xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">

  <tp:title>Something with properties</tp:title>

  <node name="/With_Properties">
    <interface name="com.example.WithProperties">
      <!-- We verify that this is used for the otherwise-unannotated
           properties … -->
      <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal"
                  value="true"/>

      <property name="ReadOnly" access="read" type="u"/>
      <property name="WriteOnly" access="write" type="u"/>
      <property name="ReadWrite" access="readwrite" type="u">
        <!-- … and that this overrides the global annotation. -->
        <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal"
                    value="invalidates"/>
      </property>

    </interface>
  </node>

</tp:spec>