summaryrefslogtreecommitdiffstats
path: root/logic/JavaUtils.h
diff options
context:
space:
mode:
authorSky <git@bunnies.cc>2013-10-05 01:08:13 +0100
committerSky <git@bunnies.cc>2013-10-05 01:08:13 +0100
commit1dee4bb60d08995f0fd4eb229f131f2ca546d24c (patch)
tree0f08e6351388c60012dd6ab5caf55a8b92eea056 /logic/JavaUtils.h
parenteba9b3d759dbf6e402e91ab897059f1d274aef90 (diff)
downloadMultiMC-1dee4bb60d08995f0fd4eb229f131f2ca546d24c.tar
MultiMC-1dee4bb60d08995f0fd4eb229f131f2ca546d24c.tar.gz
MultiMC-1dee4bb60d08995f0fd4eb229f131f2ca546d24c.tar.lz
MultiMC-1dee4bb60d08995f0fd4eb229f131f2ca546d24c.tar.xz
MultiMC-1dee4bb60d08995f0fd4eb229f131f2ca546d24c.zip
Add naive Windows Java detection - JavaUtils for finding it on other systems (incomplete)
Diffstat (limited to 'logic/JavaUtils.h')
-rw-r--r--logic/JavaUtils.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/logic/JavaUtils.h b/logic/JavaUtils.h
new file mode 100644
index 00000000..fef2a1bf
--- /dev/null
+++ b/logic/JavaUtils.h
@@ -0,0 +1,26 @@
+/* Copyright 2013 MultiMC Contributors
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#pragma once
+
+#include <QStringList>
+
+class JavaUtils
+{
+public:
+ JavaUtils();
+
+ QStringList FindJavaPath();
+};