// Copyright (C) 2025 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 QOHOSAPPPERMISSIONS_H
#define QOHOSAPPPERMISSIONS_H

#include <QtCore/qglobal.h>
#include <QtCore/qobjectdefs.h>
#include <QtOhosExtras/qtohosextrasglobal.h>

QT_BEGIN_NAMESPACE

namespace QtOhosExtras {

namespace AppPermissions {

Q_NAMESPACE

enum class Permission
{
    ReadPasteboard,
    CustomScreenCapture,
    AccessBluetooth,
    ApproximatelyLocation,
    Location,
};
Q_ENUM_NS(Permission)

struct Q_OHOS_EXTRAS_EXPORT PermissionResult
{
    bool permissionGranted;
    bool dialogShown;
};

extern Q_OHOS_EXTRAS_EXPORT const QMetaObject staticMetaObject;

}

}

QT_END_NAMESPACE

#endif
