diff options
Diffstat (limited to 'protocols/SkypeWeb/src/http_request.h')
-rw-r--r-- | protocols/SkypeWeb/src/http_request.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/protocols/SkypeWeb/src/http_request.h b/protocols/SkypeWeb/src/http_request.h index b939d9508d..e69355a300 100644 --- a/protocols/SkypeWeb/src/http_request.h +++ b/protocols/SkypeWeb/src/http_request.h @@ -31,6 +31,13 @@ struct INT_VALUE : public VALUE : VALUE(_name), iValue(_value) { }
};
+struct LONG_VALUE : public VALUE
+{
+ LONGLONG llValue;
+ __forceinline LONG_VALUE(LPCSTR _name, LONGLONG _value)
+ : VALUE(_name), llValue(_value) { }
+};
+
struct CHAR_VALUE : public VALUE
{
LPCSTR szValue;
@@ -95,6 +102,12 @@ protected: return *this;
}
+ HttpRequestUrl &operator<<(const LONG_VALUE ¶m)
+ {
+ request.AddUrlParameter("%s=%lld", param.szName, param.llValue);
+ return *this;
+ }
+
HttpRequestUrl &operator<<(const CHAR_VALUE ¶m)
{
request.AddUrlParameter("%s=%s", param.szName, param.szValue);
|