| 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 |
|
| 6 |
QT_BEGIN_NAMESPACE |
| 7 |
|
| 8 |
namespace QtWaylandClient { |
| 9 |
|
| 10 |
QWaylandServerBuffer::QWaylandServerBuffer() |
| 11 |
{ |
| 12 |
} |
| 13 |
|
| 14 |
QWaylandServerBuffer::~QWaylandServerBuffer() |
| 15 |
{ |
| 16 |
} |
| 17 |
|
| 18 |
QWaylandServerBuffer::Format QWaylandServerBuffer::format() const |
| 19 |
{ |
| 20 |
return m_format; |
| 21 |
} |
| 22 |
|
| 23 |
QSize QWaylandServerBuffer::size() const |
| 24 |
{ |
| 25 |
return m_size; |
| 26 |
} |
| 27 |
|
| 28 |
void QWaylandServerBuffer::setUserData(void *userData) |
| 29 |
{ |
| 30 |
m_user_data = userData; |
| 31 |
} |
| 32 |
|
| 33 |
void *QWaylandServerBuffer::userData() const |
| 34 |
{ |
| 35 |
return m_user_data; |
| 36 |
} |
| 37 |
|
| 38 |
QWaylandServerBufferIntegration::QWaylandServerBufferIntegration() |
| 39 |
{ |
| 40 |
} |
| 41 |
QWaylandServerBufferIntegration::~QWaylandServerBufferIntegration() |
| 42 |
{ |
| 43 |
} |
| 44 |
|
| 45 |
} |
| 46 |
|
| 47 |
QT_END_NAMESPACE |