forked from qt-creator/qt-creator
Android: Add system image information for each platform
Groundwork for the new sdk and avd management tool's integration Task-number: QTCREATORBUG-17814 Change-Id: I3e46f6d3aa56c0f16dd66d0b1d731043e180e012 Reviewed-by: BogDan Vatra <bogdan@kdab.com>
This commit is contained in:
@@ -72,13 +72,24 @@ public:
|
||||
bool operator<(const AndroidDeviceInfo &other) const;
|
||||
};
|
||||
|
||||
//! Defines an Android system image.
|
||||
class SystemImage
|
||||
{
|
||||
public:
|
||||
bool isValid() const { return (apiLevel != -1) && !abiName.isEmpty(); }
|
||||
int apiLevel = -1;
|
||||
QString abiName;
|
||||
};
|
||||
using SystemImageList = QList<SystemImage>;
|
||||
|
||||
|
||||
class SdkPlatform
|
||||
{
|
||||
public:
|
||||
int apiLevel = -1;
|
||||
QString name;
|
||||
Utils::FileName installedLocation;
|
||||
QStringList abis;
|
||||
SystemImageList systemImages;
|
||||
};
|
||||
using SdkPlatformList = QList<SdkPlatform>;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user