diff options
author | Vikas Pachdha <vikas.pachdha@qt.io> | 2017-11-20 12:26:19 +0100 |
---|---|---|
committer | Vikas Pachdha <vikas.pachdha@qt.io> | 2017-11-21 10:53:20 +0000 |
commit | 59e3d9af1e3197d29682e59c810ec7a40454feec (patch) | |
tree | 88555e3e930bc11a8f10889a49e97252d4af15bf /src/plugins/android/androidsdkpackage.h | |
parent | 216e40b3f0fa2e6da85367e8620c8f93f6b3c5b8 (diff) |
Android: Enable emulator tool installationv4.5.0-rc1
Let Android sdk manager UI install the emulator tool. AVD needs this
tool to manage AVD's.
Task-number: QTCREATORBUG-19332
Change-Id: If836c511ca4a5673470d42c14115afa21b1b96fd
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
Diffstat (limited to 'src/plugins/android/androidsdkpackage.h')
-rw-r--r-- | src/plugins/android/androidsdkpackage.h | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/src/plugins/android/androidsdkpackage.h b/src/plugins/android/androidsdkpackage.h index 486c604b60..dac6a5662d 100644 --- a/src/plugins/android/androidsdkpackage.h +++ b/src/plugins/android/androidsdkpackage.h @@ -52,8 +52,9 @@ public: PlatformToolsPackage = 1 << 3, SdkPlatformPackage = 1 << 4, SystemImagePackage = 1 << 5, + EmulatorToolsPackage = 1 << 6, AnyValidType = SdkToolsPackage | BuildToolsPackage | PlatformToolsPackage | - SdkPlatformPackage | SystemImagePackage + SdkPlatformPackage | SystemImagePackage | EmulatorToolsPackage }; enum PackageState { @@ -169,6 +170,17 @@ public: PackageType type() const override; }; +class EmulatorTools : public AndroidSdkPackage +{ +public: + EmulatorTools(QVersionNumber revision, QString sdkStylePathStr, QObject *parent = nullptr); + +// AndroidSdkPackage Overrides +public: + bool isValid() const override; + PackageType type() const override; +}; + class SdkTools : public AndroidSdkPackage { public: |