blob: d03826ef06a0b531346acba183feacc2c197bd01 (
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
|
// Copyright (C) 2021 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
#ifndef EXAMPLESHELLINTEGRATION_H
#define EXAMPLESHELLINTEGRATION_H
#include "exampleshell.h"
#include <QtWaylandCompositor/QWaylandQuickShellIntegration>
#include <QtWaylandCompositor/QWaylandQuickShellSurfaceItem>
class ExampleShellIntegration : public QWaylandQuickShellIntegration
{
Q_OBJECT
public:
ExampleShellIntegration(QWaylandQuickShellSurfaceItem *item);
~ExampleShellIntegration() override;
private slots:
void handleExampleShellSurfaceDestroyed();
private:
QWaylandQuickShellSurfaceItem *m_item = nullptr;
ExampleShellSurface *m_shellSurface = nullptr;
};
#endif // EXAMPLESHELLINTEGRATION_H
|