diff options
author | George Hazan <ghazan@miranda.im> | 2017-12-11 12:04:28 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-12-11 12:04:28 +0300 |
commit | 322fece4cdb97f834c3c13b7bb3157ba6e4fa449 (patch) | |
tree | ab02c0681f9c9bb1adc1038b251f502dcdb49638 /protocols/VKontakte | |
parent | 4abcb6d6a611b10f32d803270b7f2480fbb6865e (diff) |
parameters unification between JSON & HTTP
Diffstat (limited to 'protocols/VKontakte')
-rw-r--r-- | protocols/VKontakte/src/vk_struct.h | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/protocols/VKontakte/src/vk_struct.h b/protocols/VKontakte/src/vk_struct.h index b687018bcf..54a1f4b623 100644 --- a/protocols/VKontakte/src/vk_struct.h +++ b/protocols/VKontakte/src/vk_struct.h @@ -45,38 +45,8 @@ struct AsyncHttpRequest : public NETLIBHTTPREQUEST, public MZeroedObject bool bNeedsRestart, bIsMainConn;
};
-struct PARAM
-{
- LPCSTR szName;
- __forceinline PARAM(LPCSTR _name) : szName(_name)
- {}
-};
-
-struct INT_PARAM : public PARAM
-{
- long iValue;
- __forceinline INT_PARAM(LPCSTR _name, long _value) :
- PARAM(_name), iValue(_value)
- {}
-};
AsyncHttpRequest* operator<<(AsyncHttpRequest*, const INT_PARAM&);
-
-struct CHAR_PARAM : public PARAM
-{
- LPCSTR szValue;
- __forceinline CHAR_PARAM(LPCSTR _name, LPCSTR _value) :
- PARAM(_name), szValue(_value)
- {}
-};
AsyncHttpRequest* operator<<(AsyncHttpRequest*, const CHAR_PARAM&);
-
-struct WCHAR_PARAM : public PARAM
-{
- LPCWSTR wszValue;
- __forceinline WCHAR_PARAM(LPCSTR _name, LPCWSTR _value) :
- PARAM(_name), wszValue(_value)
- {}
-};
AsyncHttpRequest* operator<<(AsyncHttpRequest*, const WCHAR_PARAM&);
struct CVkFileUploadParam : public MZeroedObject {
|