File indexing completed on 2024-05-12 05:32:28
0001 /* 0002 SPDX-FileCopyrightText: 2021 Vlad Zahorodnii <vlad.zahorodnii@kde.org> 0003 0004 SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL 0005 */ 0006 0007 #pragma once 0008 0009 #include "kwin_export.h" 0010 0011 #include <QObject> 0012 0013 namespace KWin 0014 { 0015 0016 class Display; 0017 class ShmClientBufferIntegrationPrivate; 0018 0019 /** 0020 * The ShmClientBufferIntegration class provides support for shared memory client buffers. 0021 */ 0022 class KWIN_EXPORT ShmClientBufferIntegration : public QObject 0023 { 0024 Q_OBJECT 0025 0026 public: 0027 explicit ShmClientBufferIntegration(Display *display); 0028 ~ShmClientBufferIntegration() override; 0029 0030 private: 0031 friend class ShmClientBufferIntegrationPrivate; 0032 std::unique_ptr<ShmClientBufferIntegrationPrivate> d; 0033 }; 0034 0035 } // namespace KWin