From e3b55067eb51ee82e72b41a1919406d768e00b89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Sat, 24 Aug 2013 03:09:46 +0200 Subject: Legacy jar reassembly, base of proper custom jar support --- logic/BaseInstance.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'logic/BaseInstance.h') 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. -- cgit v1.2.3