diff options
Diffstat (limited to 'logic/JavaUtils.h')
-rw-r--r-- | logic/JavaUtils.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/logic/JavaUtils.h b/logic/JavaUtils.h index 44f576b4..d056cbbe 100644 --- a/logic/JavaUtils.h +++ b/logic/JavaUtils.h @@ -19,21 +19,23 @@ #include <QWidget> #include <osutils.h> - -#include "logic/lists/JavaVersionList.h" +#include "JavaCheckerJob.h" +#include "JavaChecker.h" +#include "lists/JavaVersionList.h" #if WINDOWS #include <windows.h> #endif -class JavaUtils +class JavaUtils : public QObject { + Q_OBJECT public: JavaUtils(); + JavaVersionPtr MakeJavaPtr(QString path, QString id = "unknown", QString arch = "unknown"); QList<JavaVersionPtr> FindJavaPaths(); JavaVersionPtr GetDefaultJava(); -private: #if WINDOWS QList<JavaVersionPtr> FindJavaFromRegistryKey(DWORD keyType, QString keyName); |