kwin/src/wayland/clientbufferintegration.h
Alexander Lohnau 525d12bee5 Run clang-format
If you want git blame to ignore formatting revisions run:
git config blame.ignoreRevsFile .git-blame-ignore-revs
2021-08-29 07:11:06 +02:00

33 lines
642 B
C++

/*
SPDX-FileCopyrightText: 2021 Vlad Zahorodnii <vlad.zahorodnii@kde.org>
SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
*/
#pragma once
#include "clientbuffer.h"
#include <QPointer>
namespace KWaylandServer
{
class Display;
class KWAYLANDSERVER_EXPORT ClientBufferIntegration : public QObject
{
Q_OBJECT
public:
explicit ClientBufferIntegration(Display *display);
~ClientBufferIntegration() override;
Display *display() const;
virtual ClientBuffer *createBuffer(wl_resource *resource);
private:
QPointer<Display> m_display;
};
} // namespace KWaylandServer