summaryrefslogtreecommitdiff
path: root/doc/templates/interfaces.html
blob: d4b049907799cb85b2876fdf5e632a1fda439c33 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd" "">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
 <head>
  <title>{{ spec.title }} &mdash; v{{ spec.version }}</title>
  <meta charset="UTF-8">
  <link rel="stylesheet" href="style.css" type="text/css"/>
  <link rel="shortcut icon" type="image/png" media="all" href="favicon.png" />
 </head>
 <body>
  <div class="header">
   <h1>{{ spec.title }}</h1>
   <a href="index.html">Full</a>
{% if spec.generic_types|length > 0 %}
   | <a href="generic-types.html">Generic Types</a>
{% endif %}
{% if spec.errors|length > 0 %}
   | <a href="errors.html">Errors</a>
{% endif %}
   | <a href="fullindex.html">Full Index</a>
  </div>

  <div class="main">
  <b>Version {{ spec.version }}</b>

  <a name="interfaces"></a>
  <h3>Interfaces</h3>
  <ul>
  {% for interface in spec.interfaces %}
   {% if interface.causes_havoc %}
    <li class="causes-havoc">
   {% elif interface.is_deprecated %}
    <li class="deprecated">
   {% else %}
    <li>
   {% endif %}
    <a href="{{ interface.get_url() }}">{{ interface.name }}</a>
    {% if interface.causes_havoc %}
     (unstable)
    {% elif interface.is_deprecated %}
     (deprecated)
    {% endif %}
   </li>
  {% endfor %}
  </ul>

{% if spec.generic_types|length > 0 or spec.errors|length > 0 %}
  <a name="other"></a>
  <h3>Other</h3>
  <ul>
  {% if spec.generic_types|length > 0 %}
   <li><a href="generic-types.html">Generic Types</a></li>
  {% endif %}
  {% if spec.errors|length > 0 %}
   <li><a href="errors.html">Errors</a></li>
  {% endif %}
  </ul>
{% endif %}

  </div>
 </body>
</html>