summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorDanielle Madeley <danielle.madeley@collabora.co.uk>2010-11-30 16:08:24 +1100
committerDanielle Madeley <danielle.madeley@collabora.co.uk>2010-11-30 16:08:24 +1100
commit775a4deccb75f89be7025a2840ecaa1c2364bb36 (patch)
treeb3446648897b884eaa059d2f702cc54c90318cb6 /doc
parentb58d627911903c1aacd4e6fc15297989cedb6754 (diff)
Add parser support for <tp:client-interest>
Diffstat (limited to 'doc')
-rw-r--r--doc/templates/interface.html30
-rw-r--r--doc/templates/style.css8
2 files changed, 38 insertions, 0 deletions
diff --git a/doc/templates/interface.html b/doc/templates/interface.html
index 26650b41..4019e307 100644
--- a/doc/templates/interface.html
+++ b/doc/templates/interface.html
@@ -13,6 +13,7 @@
<a href="index.html">Interface Index</a>
(<a href="interfaces.html">Compact</a>)
| <a href="#summary">Summary</a>
+ #if $interface.client_interests: | <a href="#client-interests">Client Interests</a>
#if $interface.docstring: | <a href="#description">Description</a>
#if $interface.methods: | <a href="#methods">Methods</a>
#if $interface.signals: | <a href="#signals">Signals</a>
@@ -27,6 +28,14 @@
#if $interface.methods or $interface.signals or $interface.properties or $interface.types or $interface.tpproperties
<div class="summary">
<a name="summary"></a>
+ #if $interface.client_interests
+ <h3>Client Interests</h3>
+ <table class="summary">
+ #for $interest in $interface.client_interests
+ <td><a href="$interest.get_url()">$interest.name</a></td>
+ #end for
+ </table>
+ #end if
#if $interface.methods
<h3>Methods</h3>
<table class="summary">
@@ -194,6 +203,27 @@
$interface.get_docstring()
#end if
+ #if $interface.client_interests
+ <div class="outset client-interests client-interest">
+ <a name="client-interests"></a>
+ <h1>Client Interests</h1>
+ <div>
+ Set using the
+ <a href="Connection.html#org.freedesktop.Telepathy.Connection.AddClientInterest">AddClientInterest</a> and
+ <a href="Connection.html#org.freedesktop.Telepathy.Connection.RemoveClientInterest">RemoveClientInterest</a> methods.
+ </div>
+ #for $interest in $interface.client_interests
+ <div class="inset client-interest">
+ <a name="$interest.name"></a>
+ <span class="permalink">(<a href="$interest.get_url()">Permalink</a>)</span>
+ <h2>$interest.name</h2>
+
+ $interest.get_docstring()
+ </div>
+ #end for
+ </div>
+ #end if
+
#if $interface.methods
<div class="outset methods method">
<a name="methods"></a>
diff --git a/doc/templates/style.css b/doc/templates/style.css
index 16d9f382..bca3d8da 100644
--- a/doc/templates/style.css
+++ b/doc/templates/style.css
@@ -120,6 +120,14 @@ div.handler-capability-token {
border: 1px solid #228822;
}
+div.client-interests {
+ background-color: #729fcf;
+}
+
+div.client-interest {
+ border: 1px solid #204a87;
+}
+
div.types {
background-color: #e9b96e;
}