[Telepathy-commits] [telepathy-spec/master] doc/templates/interface.html: add support for tpproperties
Simon McVittie
simon.mcvittie at collabora.co.uk
Fri Mar 20 09:35:07 PDT 2009
---
doc/templates/interface.html | 48 ++++++++++++++++++++++++++++++++++++++---
1 files changed, 44 insertions(+), 4 deletions(-)
diff --git a/doc/templates/interface.html b/doc/templates/interface.html
index 499f7fb..f0c77a4 100644
--- a/doc/templates/interface.html
+++ b/doc/templates/interface.html
@@ -13,11 +13,12 @@
#if $interface.methods: | <a href="#methods">Methods</a>
#if $interface.signals: | <a href="#signals">Signals</a>
#if $interface.properties: | <a href="#properties">Properties</a>
+ #if $interface.tpproperties: | <a href="#tpproperties">Telepathy Properties</a>
#if $interface.types: | <a href="#types">Types</a>
</div>
<div class="main">
- #if $interface.methods or $interface.signals or $interface.properties or $interface.types
+ #if $interface.methods or $interface.signals or $interface.properties or $interface.types or $interface.tpproperties
<div class="summary">
<a name="summary"></a>
#if $interface.methods
@@ -59,7 +60,7 @@
#end for
</table>
#end if
-
+
#if $interface.properties
<h3>Properties</h3>
<table class="summary">
@@ -82,7 +83,22 @@
#end for
</table>
#end if
-
+
+ #if $interface.tpproperties
+ <h3>Telepathy Properties</h3>
+ <table class="summary">
+ #for $property in $interface.tpproperties
+ <tr class="deprecated">
+ <td><a href="$property.get_url()">$property.short_name</a></td>
+ <td>
+ $property.dbus_type
+ #if $property.type: (<a href="$property.get_type_url()" title="$property.get_type_title()">$property.get_type().short_name</a>)
+ </td>
+ </tr>
+ #end for
+ </table>
+ #end if
+
#if $interface.types
<h3>Types</h3>
<table class="summary">
@@ -242,7 +258,7 @@
#end for
</div>
#end if
-
+
#if $interface.properties
<div class="outset properties property">
<a name="properties"></a>
@@ -269,6 +285,30 @@
</div>
#end if
+ #if $interface.tpproperties
+ <div class="outset tpproperties property">
+ <a name="tpproperties"></a>
+ <h1>Telepathy Properties</h1>
+ <div>
+ Accessed using the org.freedesktop.Telepathy.Properties interface.
+ </div>
+ #for $property in $interface.tpproperties
+ <div class="inset property">
+ <a name="$property.name"></a>
+ <span class="permalink">(<a href="$property.get_url()">Permalink</a>)</span>
+ <h2>
+ $property.short_name — $property.dbus_type
+ #if $property.type: (<a href="$property.get_type_url()" title="$property.get_type_title()">$property.get_type().short_name</a>)
+ </h2>
+ $property.get_added()
+ $property.get_changed()
+ $property.get_deprecated()
+ $property.get_docstring()
+ </div>
+ #end for
+ </div>
+ #end if
+
#if $interface.types
<div class="outset types type">
<a name="types"></a>
--
1.5.6.5
More information about the telepathy-commits
mailing list