summaryrefslogtreecommitdiffstats
path: root/radio/RadioGrpcClient.cpp
AgeCommit message (Collapse)AuthorFilesLines
2023-01-19Rework radio support for new gRPC APIScott Murray1-0/+213
Update the stubbed out radio support library to use the new gRPC API. The "Radio" Qt wrapper object has been renamed to "RadioClient" to avoid conflicting with the generated gRPC API code. This somewhat aligns with the naming that has been used with the AppLauncher support. Bug-AGL: SPEC-4665 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I642f9b9b62d6981cf5231ecea4caddba713f493a (cherry picked from commit 22ad8cbaad00d89361cbd92023dd20a807bcf5cb)
='n50' href='#n50'>50 51 52 53 54 55 56 57 58
{% extends "./page.html" %}

{% block title %}{{ "SUMMARY"|t }}{% endblock %}

{% macro articles(_articles) %}
    {% for article in _articles %}
        <li>
            <span class="inner">
                {% if article.path or article.url %}
                    {% if article.path %}
                        <a href="{{ article.path|contentURL }}{{ article.anchor }}">{{ article.title }}</a>
                    {% else %}
                        <a target="_blank" href="{{ article.url }}">{{ article.title }}</a>
                    {% endif %}
                {% else %}
                    <span>{{ article.title }}</span>
                {% endif %}
                {% if 1 %}
                <span class="page">{{ article.level }}</span>
                {% endif %}
            </span>
            {% if article.articles.length > 0 %}
            <ol>
                {{ articles(article.articles) }}
            </ol>
            {% endif %}
        </li>
    {% endfor %}
{% endmacro %}

{% block page %}
<div class="section toc">
    <h1>{{ "SUMMARY"|t }}</h1>
    <ol>
        {% for part in summary.parts %}
            {% if part.title %}
            <li class="part-title">
                <h2>{{ part.title }}</h2>
            </li>
            {% endif %}
            {{ articles(part.articles) }}

            {% if not loop.last %}
            <li class="divider"></li>
            {% endif %}
        {% endfor %}

        {% if glossary.path %}
        <li>
            <span class="inner">
                <a href="{{ ('/' + glossary.path)|contentURL }}">{{ "GLOSSARY"|t }}</a>
            </span>
        </li>
        {% endif %}
    </ol>
</div>
{% endblock %}