QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
PiperTtsPlugin.h
Go to the documentation of this file.
1#pragma once
2
3#include <QtCore/QObject>
4#include <QtTextToSpeech/QTextToSpeechPlugin>
5
8class PiperTtsPlugin : public QObject, public QTextToSpeechPlugin
9{
10 Q_OBJECT
11 Q_INTERFACES(QTextToSpeechPlugin)
12 Q_PLUGIN_METADATA(IID "org.qt-project.qt.speech.tts.plugin/6.0" FILE "PiperTtsPlugin.json")
13
14public:
15 QTextToSpeechEngine* createTextToSpeechEngine(const QVariantMap& parameters, QObject* parent,
16 QString* errorString) const override;
17};
QTextToSpeechEngine * createTextToSpeechEngine(const QVariantMap &parameters, QObject *parent, QString *errorString) const override