2021-07-20 17:02:13 +00:00
|
|
|
/*
|
|
|
|
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"
|
|
|
|
|
|
|
|
namespace KWaylandServer
|
|
|
|
{
|
|
|
|
class ClientBufferPrivate
|
|
|
|
{
|
|
|
|
public:
|
2021-08-29 05:11:06 +00:00
|
|
|
virtual ~ClientBufferPrivate()
|
|
|
|
{
|
|
|
|
}
|
2021-07-20 17:02:13 +00:00
|
|
|
|
|
|
|
int refCount = 0;
|
|
|
|
wl_resource *resource = nullptr;
|
|
|
|
bool isDestroyed = false;
|
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace KWaylandServer
|