2024-01-15 14:05:29 +01:00
|
|
|
// Copyright (C) 2024 The Qt Company Ltd.
|
|
|
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
|
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include <utils/expected.h>
|
|
|
|
|
|
|
|
|
|
#include <QJsonValue>
|
|
|
|
|
|
|
|
|
|
namespace Ios::Internal {
|
|
|
|
|
|
2024-01-29 15:55:18 +01:00
|
|
|
const char kDeviceName[] = "deviceName";
|
|
|
|
|
const char kDeveloperStatus[] = "developerStatus";
|
|
|
|
|
const char kDeviceConnected[] = "deviceConnected";
|
|
|
|
|
const char kOsVersion[] = "osVersion";
|
|
|
|
|
const char kCpuArchitecture[] = "cpuArchitecture";
|
|
|
|
|
const char kUniqueDeviceId[] = "uniqueDeviceId";
|
|
|
|
|
const char vOff[] = "*off*";
|
|
|
|
|
const char vDevelopment[] = "Development";
|
|
|
|
|
const char vYes[] = "YES";
|
|
|
|
|
|
2024-01-15 14:05:29 +01:00
|
|
|
Utils::expected_str<QJsonValue> parseDevicectlResult(const QByteArray &rawOutput);
|
2024-01-29 15:55:18 +01:00
|
|
|
Utils::expected_str<QMap<QString, QString>> parseDeviceInfo(const QByteArray &rawOutput,
|
|
|
|
|
const QString &deviceUsbId);
|
2024-01-15 14:05:29 +01:00
|
|
|
|
|
|
|
|
} // namespace Ios::Internal
|