blob: f7f9de909b9f91b4ee8bb4db56f6947c9b84cd0b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
// Copyright (C) 2021 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
#ifndef EXAMPLESHELLINTEGRATION_H
#define EXAMPLESHELLINTEGRATION_H
#include <QtWaylandClient/private/qwaylandclientshellapi_p.h>
#include "qwayland-example-shell.h"
using namespace QtWaylandClient;
//! [shell-integration]
class Q_WAYLANDCLIENT_EXPORT ExampleShellIntegration
: public QWaylandShellIntegrationTemplate<ExampleShellIntegration>
, public QtWayland::qt_example_shell
{
public:
ExampleShellIntegration();
QWaylandShellSurface *createShellSurface(QWaylandWindow *window) override;
};
//! [shell-integration]
#endif // EXAMPLESHELLINTEGRATION_H
|