summaryrefslogtreecommitdiffstats
path: root/logic/BaseInstance.h
diff options
context:
space:
mode:
Diffstat (limited to 'logic/BaseInstance.h')
-rw-r--r--logic/BaseInstance.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/logic/BaseInstance.h b/logic/BaseInstance.h
index af721b04..48481e26 100644
--- a/logic/BaseInstance.h
+++ b/logic/BaseInstance.h
@@ -89,6 +89,25 @@ public:
*/
virtual bool shouldUpdate() const = 0;
virtual void setShouldUpdate(bool val) = 0;
+
+ /// Get the curent base jar of this instance. By default, it's the versions/$version/$version.jar
+ QString baseJar() const;
+
+ /// the default base jar of this instance
+ virtual QString defaultBaseJar() const = 0;
+ /// the default custom base jar of this instance
+ virtual QString defaultCustomBaseJar() const = 0;
+
+ /*!
+ * Whether or not custom base jar is used
+ */
+ bool shouldUseCustomBaseJar() const;
+ void setShouldUseCustomBaseJar(bool val);
+ /*!
+ * The value of the custom base jar
+ */
+ QString customBaseJar() const;
+ void setCustomBaseJar(QString val);
/**
* Gets the time that the instance was last launched.