Files
allhaileris afb81b8278
Some checks failed
Docker. / Ubuntu (push) Has been cancelled
User-agent updater. / User-agent (push) Failing after 15s
Lock Threads / lock (push) Failing after 10s
Waiting for answer. / waiting-for-answer (push) Failing after 22s
Needs user action. / needs-user-action (push) Failing after 8s
Can't reproduce. / cant-reproduce (push) Failing after 8s
Close stale issues and PRs / stale (push) Has been cancelled
init
2026-02-16 15:50:16 +03:00

34 lines
646 B
C++

/*
* SPDX-FileCopyrightText: 2012~2017 CSSlayer <wengxt@gmail.com>
*
* SPDX-License-Identifier: BSD-3-Clause
*
*/
#ifndef MAIN_H
#define MAIN_H
#include <QInputContextPlugin>
#include <QStringList>
#include "qfcitxinputcontext.h"
namespace fcitx {
class QFcitxInputContextPlugin : public QInputContextPlugin {
Q_OBJECT
public:
QStringList keys() const override;
QStringList languages(const QString &key) override;
QString description(const QString &key) override;
QInputContext *create(const QString &key) override;
QString displayName(const QString &key) override;
};
} // namespace fcitx
#endif // MAIN_H