| 1 |
/* |
| 2 |
* SPDX-FileCopyrightText: 2012~2017 CSSlayer <[email protected]> |
| 3 |
* |
| 4 |
* SPDX-License-Identifier: BSD-3-Clause |
| 5 |
* |
| 6 |
*/ |
| 7 |
|
| 8 |
#ifndef MAIN_H |
| 9 |
#define MAIN_H |
| 10 |
|
| 11 |
#include <QStringList> |
| 12 |
#include <qpa/qplatforminputcontextplugin_p.h> |
| 13 |
|
| 14 |
#include "qfcitxplatforminputcontext.h" |
| 15 |
|
| 16 |
class QFcitx5PlatformInputContextPlugin : public QPlatformInputContextPlugin { |
| 17 |
Q_OBJECT |
| 18 |
Q_PLUGIN_METADATA(IID QPlatformInputContextFactoryInterface_iid FILE |
| 19 |
FCITX_PLUGIN_DATA_FILE_PATH) |
| 20 |
public: |
| 21 |
fcitx::QFcitxPlatformInputContext * |
| 22 |
create(const QString &system, const QStringList ¶mList) override; |
| 23 |
}; |
| 24 |
|
| 25 |
#endif // MAIN_H |