summaryrefslogtreecommitdiff
path: root/src/shared/qwaylandmimehelper_p.h
blob: c982a86843c4462553be5274dd9dcde4518de546 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only

#ifndef QWAYLANDMIMEHELPER_H
#define QWAYLANDMIMEHELPER_H

#include <QString>
#include <QByteArray>
#include <QMimeData>
#include <private/qglobal_p.h>

QT_BEGIN_NAMESPACE

class QWaylandMimeHelper
{
public:
    static QByteArray getByteArray(QMimeData *mimeData, const QString &mimeType);
};

QT_END_NAMESPACE

#endif