blob: 239efdeae9bd158204a0a540b0d8f9addc8eb13d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
// Copyright (C) 2022 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
#ifndef QWASMPLATFORM_H
#define QWASMPLATFORM_H
#include <QtCore/qglobal.h>
#include <QtCore/qnamespace.h>
#include <QPoint>
#include <emscripten/val.h>
QT_BEGIN_NAMESPACE
enum class Platform {
Generic,
MacOS,
Windows,
Linux,
Android,
iPhone,
};
Platform platform();
QT_END_NAMESPACE
#endif // QWASMPLATFORM_H
|