1// Copyright (C) 2016 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4#include "qwaylandserverbufferintegration_p.h"
5
6QT_BEGIN_NAMESPACE
7
8namespace QtWaylandClient {
9
10QWaylandServerBuffer::QWaylandServerBuffer()
11{
12}
13
14QWaylandServerBuffer::~QWaylandServerBuffer()
15{
16}
17
18QWaylandServerBuffer::Format QWaylandServerBuffer::format() const
19{
20 return m_format;
21}
22
23QSize QWaylandServerBuffer::size() const
24{
25 return m_size;
26}
27
28void QWaylandServerBuffer::setUserData(void *userData)
29{
30 m_user_data = userData;
31}
32
33void *QWaylandServerBuffer::userData() const
34{
35 return m_user_data;
36}
37
38QWaylandServerBufferIntegration::QWaylandServerBufferIntegration()
39{
40}
41QWaylandServerBufferIntegration::~QWaylandServerBufferIntegration()
42{
43}
44
45}
46
47QT_END_NAMESPACE
48

source code of qtwayland/src/client/hardwareintegration/qwaylandserverbufferintegration.cpp