blob: 1e90f01977ecc5f480b6966b7eb26035deceffb0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
#ifndef PLATFORMCLIPBOARD_H
#define PLATFORMCLIPBOARD_H
#include <qglobal.h>
struct PlatformClipboard
{
static inline bool isAvailable()
{
#if defined(QT_NO_CLIPBOARD)
return false;
#else
return true;
#endif
}
};
#endif // PLATFORMCLIPBOARD_H
|