summaryrefslogtreecommitdiffstats
path: root/api/logic/minecraft/MinecraftProfile.h
diff options
context:
space:
mode:
Diffstat (limited to 'api/logic/minecraft/MinecraftProfile.h')
-rw-r--r--api/logic/minecraft/MinecraftProfile.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/api/logic/minecraft/MinecraftProfile.h b/api/logic/minecraft/MinecraftProfile.h
index 5b1ea539..93a02197 100644
--- a/api/logic/minecraft/MinecraftProfile.h
+++ b/api/logic/minecraft/MinecraftProfile.h
@@ -101,6 +101,7 @@ public: /* application of profile variables from patches */
void applyTweakers(const QStringList &tweakers);
void applyJarMods(const QList<JarmodPtr> &jarMods);
void applyLibrary(LibraryPtr library);
+ void applyMainJar(LibraryPtr jar);
void applyProblemSeverity(ProblemSeverity severity);
void applyMojangDownload(const QString & key, MojangDownloadInfo::Ptr download);
@@ -116,8 +117,9 @@ public: /* getters for profile variables */
const QList<JarmodPtr> & getJarMods() const;
const QList<LibraryPtr> & getLibraries() const;
const QList<LibraryPtr> & getNativeLibraries() const;
- void getLibraryFiles(const QString & architecture, QStringList & jars, QStringList & nativeJars, const QString & overridePath) const;
- QString getMainJarUrl() const;
+ const LibraryPtr getMainJar() const;
+ void getLibraryFiles(const QString & architecture, QStringList & jars, QStringList & nativeJars, const QString & overridePath,
+ const QString & tempPath) const;
bool hasTrait(const QString & trait) const;
ProblemSeverity getProblemSeverity() const;
@@ -170,6 +172,9 @@ private: /* data */
/// the list of libraries
QList<LibraryPtr> m_libraries;
+ /// the main jar
+ LibraryPtr m_mainJar;
+
/// the list of libraries
QList<LibraryPtr> m_nativeLibraries;