diff options
Diffstat (limited to 'src/compositor/extensions/qwaylandqttextinputmethodmanager.h')
-rw-r--r-- | src/compositor/extensions/qwaylandqttextinputmethodmanager.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/src/compositor/extensions/qwaylandqttextinputmethodmanager.h b/src/compositor/extensions/qwaylandqttextinputmethodmanager.h new file mode 100644 index 000000000..ded6a3aae --- /dev/null +++ b/src/compositor/extensions/qwaylandqttextinputmethodmanager.h @@ -0,0 +1,31 @@ +// Copyright (C) 2020 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only + +#ifndef QWAYLANDQTTEXTINPUTMETHODMANAGER_H +#define QWAYLANDQTTEXTINPUTMETHODMANAGER_H + +#include <QtWaylandCompositor/QWaylandCompositorExtension> + +#include <QtCore/QSize> + +QT_BEGIN_NAMESPACE + +class QWaylandQtTextInputMethodManagerPrivate; + +class Q_WAYLANDCOMPOSITOR_EXPORT QWaylandQtTextInputMethodManager : public QWaylandCompositorExtensionTemplate<QWaylandQtTextInputMethodManager> +{ + Q_OBJECT + Q_DECLARE_PRIVATE(QWaylandQtTextInputMethodManager) +public: + QWaylandQtTextInputMethodManager(); + QWaylandQtTextInputMethodManager(QWaylandCompositor *compositor); + + void initialize() override; + + static const struct wl_interface *interface(); + static QByteArray interfaceName(); +}; + +QT_END_NAMESPACE + +#endif // QWAYLANDQTTEXTINPUTMETHODMANAGER_H |