summaryrefslogtreecommitdiffstats
path: root/api/logic/net/URLConstants.cpp
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2020-07-18 16:18:02 +0200
committerPetr Mrázek <peterix@gmail.com>2020-07-18 16:22:05 +0200
commite7f373496ed51d30d87eb1b75410d4f02f0412ec (patch)
treedb040fd29b1a95968324ef0b52fbc48d228d9f25 /api/logic/net/URLConstants.cpp
parent3158082b16009907e1abed0308498d10788f0f42 (diff)
downloadMultiMC-e7f373496ed51d30d87eb1b75410d4f02f0412ec.tar
MultiMC-e7f373496ed51d30d87eb1b75410d4f02f0412ec.tar.gz
MultiMC-e7f373496ed51d30d87eb1b75410d4f02f0412ec.tar.lz
MultiMC-e7f373496ed51d30d87eb1b75410d4f02f0412ec.tar.xz
MultiMC-e7f373496ed51d30d87eb1b75410d4f02f0412ec.zip
GH-3234 Add support for custom meta URLs at build time
This is not particularly interesting for non-developers. Also includes some internal restructuring of URL constants in general.
Diffstat (limited to 'api/logic/net/URLConstants.cpp')
-rw-r--r--api/logic/net/URLConstants.cpp16
1 files changed, 0 insertions, 16 deletions
diff --git a/api/logic/net/URLConstants.cpp b/api/logic/net/URLConstants.cpp
deleted file mode 100644
index 9a4d920b..00000000
--- a/api/logic/net/URLConstants.cpp
+++ /dev/null
@@ -1,16 +0,0 @@
-#include "URLConstants.h"
-
-namespace URLConstants {
-
-QString getLegacyJarUrl(QString version)
-{
- return AWS_DOWNLOAD_VERSIONS + getJarPath(version);
-}
-
-QString getJarPath(QString version)
-{
- return version + "/" + version + ".jar";
-}
-
-
-}