/
gozaltech
/
RHVoice2
Обзор
Документация
Войти
/
gozaltech
/
RHVoice2
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
src/pkg/url_builder.cpp
29 строк
977 B
Olga Yakovleva
Android: use an online directory of languages and voices
09 мар 2022, 22:35
09 мар 2022, 22:35
2409f0c
Код
Авторство
О чём код?
/* Copyright (C) 2021 Olga Yakovleva <olga@rhvoice.org> */ /* This program is free software: you can redistribute it and/or modify */ /* it under the terms of the GNU Lesser General Public License as published by */ /* the Free Software Foundation, either version 2.1 of the License, or */ /* (at your option) any later version. */ /* This program is distributed in the hope that it will be useful, */ /* but WITHOUT ANY WARRANTY; without even the implied warranty of */ /* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ /* GNU Lesser General Public License for more details. */ /* You should have received a copy of the GNU Lesser General Public License */ /* along with this program. If not, see <https://www.gnu.org/licenses/>. */ #include "url_builder.hpp" namespace RHVoice { namespace pkg { std::string url_builder::build() const { if(rel_path.empty()) return base_url; return (base_url+"/"+rel_path); } } }