summaryrefslogtreecommitdiffstats
path: root/api/logic/minecraft/Library.h
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2018-11-26 03:06:58 +0100
committerPetr Mrázek <peterix@gmail.com>2018-11-26 03:06:58 +0100
commit3f6aecf5a2cca0330af3f55ddbb3d7e13e2419c0 (patch)
treefb18293c796fb60595271c603cdcdd705e0b4b72 /api/logic/minecraft/Library.h
parente8c382bede6a23648339b7d3f290137f9265a7ba (diff)
downloadMultiMC-3f6aecf5a2cca0330af3f55ddbb3d7e13e2419c0.tar
MultiMC-3f6aecf5a2cca0330af3f55ddbb3d7e13e2419c0.tar.gz
MultiMC-3f6aecf5a2cca0330af3f55ddbb3d7e13e2419c0.tar.lz
MultiMC-3f6aecf5a2cca0330af3f55ddbb3d7e13e2419c0.tar.xz
MultiMC-3f6aecf5a2cca0330af3f55ddbb3d7e13e2419c0.zip
GH-2475 fix reporting missing local libraries on launch
Diffstat (limited to 'api/logic/minecraft/Library.h')
-rw-r--r--api/logic/minecraft/Library.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/api/logic/minecraft/Library.h b/api/logic/minecraft/Library.h
index 5fcff316..014f6745 100644
--- a/api/logic/minecraft/Library.h
+++ b/api/logic/minecraft/Library.h
@@ -148,9 +148,15 @@ public: /* methods */
/// Returns true if the library is contained in an instance and false if it is shared
bool isLocal() const;
+ /// Returns true if the library is to always be checked for updates
+ bool isAlwaysStale() const;
+
+ /// Return true if the library requires forge XZ hacks
+ bool isForge() const;
+
// Get a list of downloads for this library
QList<NetActionPtr> getDownloads(OpSys system, class HttpMetaCache * cache,
- QStringList & failedFiles, const QString & overridePath) const;
+ QStringList & failedLocalFiles, const QString & overridePath) const;
private: /* methods */
/// the default storage prefix used by MultiMC