summaryrefslogtreecommitdiffstats
path: root/logic/JavaChecker.h
diff options
context:
space:
mode:
authorSky <git@bunnies.cc>2014-01-07 03:16:47 +0000
committerSky <git@bunnies.cc>2014-01-07 03:16:47 +0000
commit5fe0ed7e8fad7654f9fe61669e596fe74bac8740 (patch)
treeda856ba43a437caf546d8a2b9e03c15ce5430b93 /logic/JavaChecker.h
parent012b007e56c8121e5dc6434765f16647edd23585 (diff)
downloadMultiMC-5fe0ed7e8fad7654f9fe61669e596fe74bac8740.tar
MultiMC-5fe0ed7e8fad7654f9fe61669e596fe74bac8740.tar.gz
MultiMC-5fe0ed7e8fad7654f9fe61669e596fe74bac8740.tar.lz
MultiMC-5fe0ed7e8fad7654f9fe61669e596fe74bac8740.tar.xz
MultiMC-5fe0ed7e8fad7654f9fe61669e596fe74bac8740.zip
Return a properly sorted list of checked javas
Diffstat (limited to 'logic/JavaChecker.h')
-rw-r--r--logic/JavaChecker.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/logic/JavaChecker.h b/logic/JavaChecker.h
index 291bf46c..4705381c 100644
--- a/logic/JavaChecker.h
+++ b/logic/JavaChecker.h
@@ -15,6 +15,7 @@ struct JavaCheckResult
QString javaVersion;
bool valid = false;
bool is_64bit = false;
+ int id;
};
typedef std::shared_ptr<QProcess> QProcessPtr;
@@ -27,6 +28,7 @@ public:
void performCheck();
QString path;
+ int id;
signals:
void checkFinished(JavaCheckResult result);