summaryrefslogtreecommitdiffstats
path: root/logic/OneSixInstance.h
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2013-08-28 04:38:29 +0200
committerPetr Mrázek <peterix@gmail.com>2013-08-28 04:38:29 +0200
commit5ff6fbf4648d286ff0f07a4dbf37c0b72651f66b (patch)
tree09f3f739d22370b8ce96144057d2cec2d74febb5 /logic/OneSixInstance.h
parentaa8766581ebad668194fcab87f53af4270e9679a (diff)
downloadMultiMC-5ff6fbf4648d286ff0f07a4dbf37c0b72651f66b.tar
MultiMC-5ff6fbf4648d286ff0f07a4dbf37c0b72651f66b.tar.gz
MultiMC-5ff6fbf4648d286ff0f07a4dbf37c0b72651f66b.tar.lz
MultiMC-5ff6fbf4648d286ff0f07a4dbf37c0b72651f66b.tar.xz
MultiMC-5ff6fbf4648d286ff0f07a4dbf37c0b72651f66b.zip
Basic 1.6 mod management (no jar mods)
Diffstat (limited to 'logic/OneSixInstance.h')
-rw-r--r--logic/OneSixInstance.h18
1 files changed, 14 insertions, 4 deletions
diff --git a/logic/OneSixInstance.h b/logic/OneSixInstance.h
index 7c28b4cc..a4c67ed1 100644
--- a/logic/OneSixInstance.h
+++ b/logic/OneSixInstance.h
@@ -2,14 +2,26 @@
#include "BaseInstance.h"
#include <QStringList>
-class FullVersion;
+class OneSixVersion;
class BaseUpdate;
+class ModList;
class OneSixInstance : public BaseInstance
{
Q_OBJECT
public:
explicit OneSixInstance(const QString &rootDir, SettingsObject * settings, QObject *parent = 0);
+
+
+ ////// Mod Lists //////
+ QSharedPointer<ModList> loaderModList();
+ QSharedPointer<ModList> resourcePackList();
+
+ ////// Directories //////
+ QString resourcePacksDir() const;
+ QString loaderModsDir() const;
+ virtual QString instanceConfigFolder() const;
+
virtual BaseUpdate* doUpdate();
virtual MinecraftProcess* prepareForLaunch ( QString user, QString session );
virtual void cleanupAfterRun();
@@ -28,15 +40,13 @@ public:
/// reload the full version json file. return true on success!
bool reloadFullVersion();
/// get the current full version info
- QSharedPointer<FullVersion> getFullVersion();
+ QSharedPointer<OneSixVersion> getFullVersion();
virtual QString defaultBaseJar() const;
virtual QString defaultCustomBaseJar() const;
virtual bool menuActionEnabled ( QString action_name ) const;
virtual QString getStatusbarDescription();
- virtual QString instanceConfigFolder() const;
-
private:
QStringList processMinecraftArgs( QString user, QString session );
}; \ No newline at end of file