mirror of https://gitee.com/openkylin/doxygen.git
28 lines
879 B
Smarty
28 lines
879 B
Smarty
{# input: ii with attributes (file,name,isImport,isLocal), compound with attribute language #}
|
|
{% spaceless %}
|
|
{% if ii.file or ii.name %}
|
|
<tt>
|
|
{% if compound.language=='java' or compound.language=='idl' %}
|
|
import 
|
|
{%else %}
|
|
{% if ii.isImport %}
|
|
#import 
|
|
{% else %}
|
|
#include 
|
|
{% endif %}
|
|
{%endif %}
|
|
{% if ii.isLocal %}"{% else %}<{% endif %}
|
|
{% if ii.name %}
|
|
{% if ii.file %}
|
|
<a class="el" href="{{ ii.file.sourceFileName }}{{ config.HTML_FILE_EXTENSION }}">{{ ii.name }}</a>
|
|
{% else %}
|
|
{{ ii.name }}
|
|
{% endif %}
|
|
{% else %}
|
|
<a class="el" href="{{ ii.file.sourceFileName }}{{ config.HTML_FILE_EXTENSION }}">{{ ii.file.name }}</a>
|
|
{% endif %}
|
|
{% if ii.isLocal %}"{% else %}>{% endif %}
|
|
</tt>
|
|
{% endif %}
|
|
{% endspaceless %}
|