diff options
author | Sergey Bolhovskoy <elzorfox@ya.ru> | 2015-01-27 10:44:00 +0000 |
---|---|---|
committer | Sergey Bolhovskoy <elzorfox@ya.ru> | 2015-01-27 10:44:00 +0000 |
commit | b22366cb998d14c61e5e892c5530ade0a5fdfabe (patch) | |
tree | 5a252b22b8bda205314bf3ee6948a9f112dcfbb4 /protocols/VKontakte/src/vk_proto.h | |
parent | afb3dfdf8ac1944df76db4754b96a50be4e6d4dd (diff) |
Vkontakte: code cleanup
git-svn-id: http://svn.miranda-ng.org/main/trunk@11925 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/VKontakte/src/vk_proto.h')
-rw-r--r-- | protocols/VKontakte/src/vk_proto.h | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/protocols/VKontakte/src/vk_proto.h b/protocols/VKontakte/src/vk_proto.h index b55bc4f68a..0d1e7f4ce3 100644 --- a/protocols/VKontakte/src/vk_proto.h +++ b/protocols/VKontakte/src/vk_proto.h @@ -59,7 +59,8 @@ struct AsyncHttpRequest : public NETLIBHTTPREQUEST, public MZeroedObject struct PARAM
{
LPCSTR szName;
- __forceinline PARAM(LPCSTR _name) : szName(_name) {}
+ __forceinline PARAM(LPCSTR _name) : szName(_name)
+ {}
};
struct INT_PARAM : public PARAM
@@ -67,8 +68,7 @@ struct INT_PARAM : public PARAM int iValue;
__forceinline INT_PARAM(LPCSTR _name, int _value) :
PARAM(_name), iValue(_value)
- {
- }
+ {}
};
AsyncHttpRequest* operator<<(AsyncHttpRequest*, const INT_PARAM&);
@@ -77,8 +77,7 @@ struct CHAR_PARAM : public PARAM LPCSTR szValue;
__forceinline CHAR_PARAM(LPCSTR _name, LPCSTR _value) :
PARAM(_name), szValue(_value)
- {
- }
+ {}
};
AsyncHttpRequest* operator<<(AsyncHttpRequest*, const CHAR_PARAM&);
@@ -87,8 +86,7 @@ struct TCHAR_PARAM : public PARAM LPCTSTR tszValue;
__forceinline TCHAR_PARAM(LPCSTR _name, LPCTSTR _value) :
PARAM(_name), tszValue(_value)
- {
- }
+ {}
};
AsyncHttpRequest* operator<<(AsyncHttpRequest*, const TCHAR_PARAM&);
@@ -111,7 +109,8 @@ struct CVkChatMessage : public MZeroedObject m_mid(_id),
m_uid(0),
m_date(0),
- m_bHistory(false){}
+ m_bHistory(false)
+ {}
int m_mid, m_uid, m_date;
bool m_bHistory;
@@ -140,7 +139,7 @@ struct CVkChatInfo : public MZeroedObject m_admin_id(0),
m_bHistoryRead(0),
m_hContact(INVALID_CONTACT_ID)
- {}
+ {}
int m_chatid, m_admin_id;
bool m_bHistoryRead;
@@ -201,13 +200,14 @@ struct CVKNotification { struct CVKNewsItem : public MZeroedObject {
- CVKNewsItem()
- {
- tDate = NULL;
- vkUser = NULL;
- bIsGroup = bIsRepost = false;
- vkFeedbackType = vkParentType = vkNull;
- };
+ CVKNewsItem() :
+ tDate(NULL),
+ vkUser(NULL),
+ bIsGroup(false),
+ bIsRepost(false),
+ vkFeedbackType(vkNull),
+ vkParentType(vkNull)
+ {}
CMString tszId;
time_t tDate;
|