diff options
author | Sky <git@bunnies.cc> | 2013-12-11 03:54:39 +0000 |
---|---|---|
committer | Sky <git@bunnies.cc> | 2013-12-11 04:54:00 +0000 |
commit | afa5e14e2074343270ff205e042f102c03dface0 (patch) | |
tree | 1b72b755c5b7292742b048aec4b4a77af8dec4ac /logic/lists/JavaVersionList.h | |
parent | ab69c1b9e6c25e92ded4a6ac6774e468a2e08b7b (diff) | |
download | MultiMC-afa5e14e2074343270ff205e042f102c03dface0.tar MultiMC-afa5e14e2074343270ff205e042f102c03dface0.tar.gz MultiMC-afa5e14e2074343270ff205e042f102c03dface0.tar.lz MultiMC-afa5e14e2074343270ff205e042f102c03dface0.tar.xz MultiMC-afa5e14e2074343270ff205e042f102c03dface0.zip |
Better (but unsorted) Java detection
Diffstat (limited to 'logic/lists/JavaVersionList.h')
-rw-r--r-- | logic/lists/JavaVersionList.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/logic/lists/JavaVersionList.h b/logic/lists/JavaVersionList.h index f816c932..879b2480 100644 --- a/logic/lists/JavaVersionList.h +++ b/logic/lists/JavaVersionList.h @@ -20,6 +20,7 @@ #include "BaseVersionList.h" #include "logic/tasks/Task.h" +#include "logic/JavaCheckerJob.h" class JavaListLoadTask; @@ -43,7 +44,6 @@ struct JavaVersion : public BaseVersion QString id; QString arch; QString path; - bool recommended; }; typedef std::shared_ptr<JavaVersion> JavaVersionPtr; @@ -85,6 +85,9 @@ public: ~JavaListLoadTask(); virtual void executeTask(); +public slots: + void javaCheckerFinished(QList<JavaCheckResult> results); + void checkerProgress(int current, int total); protected: JavaVersionList *m_list; |