summaryrefslogtreecommitdiffstats
path: root/api/logic/net/URLConstants.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'api/logic/net/URLConstants.cpp')
-rw-r--r--api/logic/net/URLConstants.cpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/api/logic/net/URLConstants.cpp b/api/logic/net/URLConstants.cpp
new file mode 100644
index 00000000..bd476b2c
--- /dev/null
+++ b/api/logic/net/URLConstants.cpp
@@ -0,0 +1,16 @@
+#include "URLConstants.h"
+
+namespace URLConstants {
+
+QString getLegacyJarUrl(QString version)
+{
+ return "http://" + AWS_DOWNLOAD_VERSIONS + getJarPath(version);
+}
+
+QString getJarPath(QString version)
+{
+ return version + "/" + version + ".jar";
+}
+
+
+}