summaryrefslogtreecommitdiffstats
path: root/src/compositor/extensions/qwaylandqttextinputmethodmanager.h
blob: ded6a3aae6c78de22dc18e573d818de0ae9aad2b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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