2022-08-19 15:59:36 +02:00
|
|
|
// Copyright (C) 2016 The Qt Company Ltd.
|
|
|
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0
|
2013-06-27 12:44:01 +02:00
|
|
|
|
2016-03-18 07:55:01 +01:00
|
|
|
#pragma once
|
2013-06-27 12:44:01 +02:00
|
|
|
|
|
|
|
|
#include <QVariantList>
|
2013-09-04 16:20:40 +02:00
|
|
|
#include <QCoreApplication>
|
2013-06-27 12:44:01 +02:00
|
|
|
|
|
|
|
|
namespace Android {
|
|
|
|
|
namespace Internal {
|
|
|
|
|
|
|
|
|
|
class AndroidErrorMessage
|
|
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
enum ErrorCode {
|
|
|
|
|
UnknownError = 0x3000,
|
|
|
|
|
SDKInstallationError,
|
|
|
|
|
NDKInstallationError,
|
|
|
|
|
JavaInstallationError,
|
|
|
|
|
AntInstallationError,
|
|
|
|
|
AdbInstallationError,
|
|
|
|
|
DeviceConnectionError,
|
|
|
|
|
DevicePermissionError,
|
|
|
|
|
DeviceAuthorizationError,
|
|
|
|
|
DeviceAPILevelError
|
|
|
|
|
};
|
|
|
|
|
static QString getMessage(ErrorCode errorCode, const QVariantList ¶meters = QVariantList());
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
} // namespace Internal
|
|
|
|
|
} // namespace Android
|