1// Copyright (C) 2016 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
3
4#ifndef PLUGIN_H
5#define PLUGIN_H
6
7#include <qpa/qplatforminputcontextplugin_p.h>
8
9QT_BEGIN_NAMESPACE
10
11class QVirtualKeyboardPlugin : public QPlatformInputContextPlugin
12{
13 Q_OBJECT
14 Q_PLUGIN_METADATA(IID QPlatformInputContextFactoryInterface_iid FILE "qtvirtualkeyboard.json")
15
16public:
17 QStringList keys() const;
18 QPlatformInputContext *create(const QString&, const QStringList&) override;
19};
20
21QT_END_NAMESPACE
22
23#endif // PLUGIN_H
24

source code of qtvirtualkeyboard/src/plugin/plugin.h