| Index: src/shared/Utils.h |
| diff --git a/src/shared/Utils.h b/src/shared/Utils.h |
| index 3110b65057d2fbc75410e04c6e12f99558db57e7..36b0b2848f9393c5dc1b3b4dfcacdf75009ed1d9 100644 |
| --- a/src/shared/Utils.h |
| +++ b/src/shared/Utils.h |
| @@ -56,6 +56,14 @@ std::wstring GetDllDir(); |
| std::wstring GetAppDataPath(); |
| void ReplaceString(std::wstring& input, const std::wstring placeholder, const std::wstring replacement); |
| +/** |
| + * Returns the begging of the URL which includes the scheme and hierarchical |
| + * part according to http://en.wikipedia.org/wiki/URI_scheme . |
| + */ |
| +std::wstring GetSchemeAndHierarchicalPart(const std::wstring& url); |
| + |
| +std::wstring GetQueryString(const std::wstring& url); |
| + |
| template<class T> |
| T TrimString(T text) |
| { |