summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAlex Merry <dev@randomguy3.me.uk>2010-12-14 00:49:37 +0000
committerAlex Merry <dev@randomguy3.me.uk>2010-12-14 00:49:37 +0000
commite9127a411d337754a7c0d1eb52c70e5740bb605f (patch)
treebfc4b17c1b772492f784fe6f6c17623a851f5cc6 /doc
parent102070535317543d158ea3b212e1525da45d6fde (diff)
Move some HTML from specparser.py into the template
See http://bugs.freedesktop.org/show_bug.cgi?id=32353#c1
Diffstat (limited to 'doc')
-rw-r--r--doc/templates/interface.html25
1 files changed, 23 insertions, 2 deletions
diff --git a/doc/templates/interface.html b/doc/templates/interface.html
index 2d19eff7..26db20ec 100644
--- a/doc/templates/interface.html
+++ b/doc/templates/interface.html
@@ -237,7 +237,10 @@
$method.get_added()
$method.get_changed()
$method.get_deprecated()
- $method.get_no_reply()
+
+ #if $method.no_reply
+ <div class="annotation no-reply">The caller should not expect a reply when calling this method.</div>
+ #end if
#if $method.in_args
<div class="indent">
@@ -413,7 +416,25 @@
$property.get_added()
$property.get_changed()
$property.get_deprecated()
- $property.get_emits_changed()
+
+ #if $property.emits_changed == $property.EMITS_CHANGED_UPDATES
+ <div class="annotation emits-changed emits-changed-updates">
+ When this property changes, the
+ <code>org.freedesktop.DBus.Properties.PropertiesChanged</code>
+ signal is emitted with the new value.
+ </div>
+ #elif $property.emits_changed == $property.EMITS_CHANGED_INVALIDATES
+ <div class="annotation emits-changed emits-changed-invalidates">
+ When this property changes, the
+ <code>org.freedesktop.DBus.Properties.PropertiesChanged</code>
+ signal is emitted, but the new value is not sent.
+ </div>
+ #elif $property.emits_changed == $property.EMITS_CHANGED_NONE
+ <div class="annotation emits-changed emits-changed-none">
+ The <code>org.freedesktop.DBus.Properties.PropertiesChanged</code>
+ signal is <strong>not</strong> emitted when this property changes.</div>
+ </div>
+ #end if
#if $property.is_connection_parameter:
<div class="annotation connection-parameter">