From b6d455a02bd338e9dc0faa09d4d8177ecd8d569a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Sun, 10 Apr 2016 15:53:05 +0200 Subject: NOISSUE reorganize and document libraries --- api/logic/net/URLConstants.cpp | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 api/logic/net/URLConstants.cpp (limited to 'api/logic/net/URLConstants.cpp') 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"; +} + + +} -- cgit v1.2.3