From 2182ded57be0bd91ab4459e622c2ac8fbef90e65 Mon Sep 17 00:00:00 2001 From: BogDan Vatra Date: Mon, 29 Jun 2015 10:36:29 +0300 Subject: ProjectExplorer: Use Core::Id as RunMode "enum values" This provides a way for third-party plugins to implement run modes without the need to add a value to the central enum or using manual workarounds like RunMode(*(int*)&someUniqueObject). Instead of centrally defined enum values this uses Core::Id that could be defined anywhere. Change-Id: Ic350e3d8dbb8042c61b2d4ffec993ca151f53099 Reviewed-by: Daniel Teske Reviewed-by: Eike Ziller --- src/plugins/android/androidrunner.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/plugins/android/androidrunner.h') diff --git a/src/plugins/android/androidrunner.h b/src/plugins/android/androidrunner.h index 8f6c40d573..8bf90f4e8a 100644 --- a/src/plugins/android/androidrunner.h +++ b/src/plugins/android/androidrunner.h @@ -33,7 +33,7 @@ #include "androidconfigurations.h" -#include +#include #include #include @@ -58,7 +58,7 @@ class AndroidRunner : public QThread public: AndroidRunner(QObject *parent, AndroidRunConfiguration *runConfig, - ProjectExplorer::RunMode runMode); + Core::Id runMode); ~AndroidRunner(); QString displayName() const; -- cgit v1.2.1