summaryrefslogtreecommitdiffstats
path: root/backend/LegacyForge.h
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2013-08-14 08:13:41 +0200
committerPetr Mrázek <peterix@gmail.com>2013-08-14 08:13:41 +0200
commit77e80665422c4e97e2286418ab55e20c4030023b (patch)
treefe8b8d19de00e07f6bb8908a0be1973f9e93dd9a /backend/LegacyForge.h
parentff33d4a1a48abf1442cde77c2253f071d0870d50 (diff)
downloadMultiMC-77e80665422c4e97e2286418ab55e20c4030023b.tar
MultiMC-77e80665422c4e97e2286418ab55e20c4030023b.tar.gz
MultiMC-77e80665422c4e97e2286418ab55e20c4030023b.tar.lz
MultiMC-77e80665422c4e97e2286418ab55e20c4030023b.tar.xz
MultiMC-77e80665422c4e97e2286418ab55e20c4030023b.zip
Working on legacy support, incomplete.
Diffstat (limited to 'backend/LegacyForge.h')
-rw-r--r--backend/LegacyForge.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/backend/LegacyForge.h b/backend/LegacyForge.h
new file mode 100644
index 00000000..00a054b8
--- /dev/null
+++ b/backend/LegacyForge.h
@@ -0,0 +1,25 @@
+//
+// Copyright 2012 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 "Mod.h"
+
+class MinecraftForge : public Mod
+{
+public:
+ MinecraftForge ( const QString& file );
+ bool FixVersionIfNeeded(QString newVersion);
+};