diff options
author | Orochimarufan <orochimarufan.x3@gmail.com> | 2013-02-24 17:06:00 +0100 |
---|---|---|
committer | Orochimarufan <orochimarufan.x3@gmail.com> | 2013-03-22 13:40:32 +0100 |
commit | ce867d91698a9414ff7238e902215e9b76d10459 (patch) | |
tree | ea0f66670c5317cdf4890f1eb4f9e9645e4c3fee /java/javautils.h | |
parent | ad70e3fd4cda26508f00e9b549c04a5fe8831dac (diff) | |
download | MultiMC-ce867d91698a9414ff7238e902215e9b76d10459.tar MultiMC-ce867d91698a9414ff7238e902215e9b76d10459.tar.gz MultiMC-ce867d91698a9414ff7238e902215e9b76d10459.tar.lz MultiMC-ce867d91698a9414ff7238e902215e9b76d10459.tar.xz MultiMC-ce867d91698a9414ff7238e902215e9b76d10459.zip |
Port minecraft.jar version detection to Qt
Diffstat (limited to 'java/javautils.h')
-rw-r--r-- | java/javautils.h | 25 |
1 files changed, 22 insertions, 3 deletions
diff --git a/java/javautils.h b/java/javautils.h index c8b5a793..7f9b6d89 100644 --- a/java/javautils.h +++ b/java/javautils.h @@ -1,9 +1,28 @@ +/* Copyright 2013 MultiMC Contributors + * + * Authors: Orochimarufan <orochimarufan.x3@gmail.com> + * + * 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 <QString> + +#define MCVer_Unknown "Unknown" + namespace javautils { - /* - * Get the version from a minecraft.jar by parsing its class files. Expensive! + /** + * @brief Get the version from a minecraft.jar by parsing its class files. Expensive! */ QString GetMinecraftJarVersion(QString jar); -}
\ No newline at end of file +} |