summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/wasm/qwasmplatform.h
blob: 5b32e436335e7954eef1d1c2c08e4ec540a043e0 (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,
    iOS
};

Platform platform();

QT_END_NAMESPACE

#endif  // QWASMPLATFORM_H