aboutsummaryrefslogtreecommitdiff
path: root/api/logic/minecraft/LaunchProfile.h
diff options
context:
space:
mode:
authorOverMighty <its.overmighty@gmail.com>2020-05-04 11:36:41 +0200
committerOverMighty <its.overmighty@gmail.com>2020-05-04 11:36:41 +0200
commit313a6574c15e0cc0fd9bb510609b63905d1c760b (patch)
tree02d108881481f76c6c1dd6faab0cc2b844fcf8de /api/logic/minecraft/LaunchProfile.h
parent381c12547fe91a7392f42337674da390841b39ed (diff)
parent5ca5661c23050d738f1d5f9ced5e7fb71eef3fce (diff)
downloadPrismLauncher-313a6574c15e0cc0fd9bb510609b63905d1c760b.tar.gz
PrismLauncher-313a6574c15e0cc0fd9bb510609b63905d1c760b.tar.bz2
PrismLauncher-313a6574c15e0cc0fd9bb510609b63905d1c760b.zip
chore: pull changes from upstream
Diffstat (limited to 'api/logic/minecraft/LaunchProfile.h')
-rw-r--r--api/logic/minecraft/LaunchProfile.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/api/logic/minecraft/LaunchProfile.h b/api/logic/minecraft/LaunchProfile.h
index 77174079..c1752531 100644
--- a/api/logic/minecraft/LaunchProfile.h
+++ b/api/logic/minecraft/LaunchProfile.h
@@ -20,6 +20,7 @@ public: /* application of profile variables from patches */
void applyJarMods(const QList<LibraryPtr> &jarMods);
void applyMods(const QList<LibraryPtr> &jarMods);
void applyLibrary(LibraryPtr library);
+ void applyMavenFile(LibraryPtr library);
void applyMainJar(LibraryPtr jar);
void applyProblemSeverity(ProblemSeverity severity);
/// clear the profile
@@ -37,6 +38,7 @@ public: /* getters for profile variables */
const QList<LibraryPtr> & getJarMods() const;
const QList<LibraryPtr> & getLibraries() const;
const QList<LibraryPtr> & getNativeLibraries() const;
+ const QList<LibraryPtr> & getMavenFiles() const;
const LibraryPtr getMainJar() const;
void getLibraryFiles(
const QString & architecture,
@@ -79,10 +81,13 @@ private:
/// the list of libraries
QList<LibraryPtr> m_libraries;
+ /// the list of maven files to be placed in the libraries folder, but not acted upon
+ QList<LibraryPtr> m_mavenFiles;
+
/// the main jar
LibraryPtr m_mainJar;
- /// the list of libraries
+ /// the list of native libraries
QList<LibraryPtr> m_nativeLibraries;
/// traits, collected from all the version files (version files can only add)