| 1 | // Copyright (C) 2015 The Qt Company Ltd. |
| 2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only |
| 3 | |
| 4 | #ifndef QTEXTTOSPEECHPLUGIN_H |
| 5 | #define QTEXTTOSPEECHPLUGIN_H |
| 6 | |
| 7 | // |
| 8 | // W A R N I N G |
| 9 | // ------------- |
| 10 | // |
| 11 | // This file is part of the Qt TextToSpeech plugin API, with limited compatibility |
| 12 | // guarantees. |
| 13 | // Usage of this API may make your code source and binary incompatible with |
| 14 | // future versions of Qt. |
| 15 | // |
| 16 | |
| 17 | #include <QtTextToSpeech/qtexttospeechengine.h> |
| 18 | |
| 19 | #include <QtCore/QtPlugin> |
| 20 | #include <QtCore/QString> |
| 21 | #include <QtCore/QVariantMap> |
| 22 | |
| 23 | QT_BEGIN_NAMESPACE |
| 24 | |
| 25 | class Q_TEXTTOSPEECH_EXPORT QTextToSpeechPlugin |
| 26 | { |
| 27 | public: |
| 28 | virtual ~QTextToSpeechPlugin() {} |
| 29 | |
| 30 | virtual QTextToSpeechEngine *createTextToSpeechEngine( |
| 31 | const QVariantMap ¶meters, |
| 32 | QObject *parent, |
| 33 | QString *errorString) const; |
| 34 | }; |
| 35 | |
| 36 | Q_DECLARE_INTERFACE(QTextToSpeechPlugin, |
| 37 | "org.qt-project.qt.speech.tts.plugin/6.0" ) |
| 38 | |
| 39 | QT_END_NAMESPACE |
| 40 | |
| 41 | #endif |
| 42 | |