summaryrefslogtreecommitdiffstats
path: root/src/plugins/tts/flite/qtexttospeech_flite_plugin.cpp
blob: 6d0b3c85b51a5f93bb7c270573a87ce741e54b1c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Copyright (C) 2022 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only

#include "qtexttospeech_flite_plugin.h"
#include "qtexttospeech_flite.h"

QT_BEGIN_NAMESPACE

Q_LOGGING_CATEGORY(lcSpeechTtsFlite, "qt.speech.tts.flite")

QTextToSpeechEngine *QTextToSpeechFlitePlugin::createTextToSpeechEngine(
        const QVariantMap &parameters, QObject *parent, QString *errorString) const
{
    Q_UNUSED(errorString);
    return new QTextToSpeechEngineFlite(parameters, parent);
}

QT_END_NAMESPACE