summaryrefslogtreecommitdiff
path: root/protocols/VKontakte/src/vk_struct.h
diff options
context:
space:
mode:
authorElzorFox <elzorfox@ya.ru>2020-06-18 14:06:24 +0500
committerElzorFox <elzorfox@ya.ru>2020-06-18 14:06:47 +0500
commit9f5e4ae49d35bb503decce730d141d55ec9f165a (patch)
tree475fc502f346b4908820f1bf9f9d7b6072997cdd /protocols/VKontakte/src/vk_struct.h
parent9f0fd05e99ed187801efd38d88dda0b355a7f61d (diff)
VKontakte:
VK API upgrade (5.78 => 5.110) version bump
Diffstat (limited to 'protocols/VKontakte/src/vk_struct.h')
-rw-r--r--protocols/VKontakte/src/vk_struct.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/protocols/VKontakte/src/vk_struct.h b/protocols/VKontakte/src/vk_struct.h
index e17a18ec9a..3660165f1f 100644
--- a/protocols/VKontakte/src/vk_struct.h
+++ b/protocols/VKontakte/src/vk_struct.h
@@ -316,7 +316,9 @@ struct CVKOptions {
CMOption<DWORD> iStickerSize;
CMOption<wchar_t*> pwszDefaultGroup;
+#if (VK_NEW_API == 0)
CMOption<wchar_t*> pwszReturnChatMessage;
+#endif
CMOption<wchar_t*> pwszVKLang;
CVKOptions(PROTO_INTERFACE *proto);
@@ -345,7 +347,7 @@ struct CVKImageSizeItem {
};
///////////////////////////////////////////////////////////////////////////////////////////////
-
+#if (VK_NEW_API == 0)
enum vkJSONNodeType { vkJSONTypeProfile = 0, vkJSONTypeGroup, vkJSONTypeConversation };
class CVkUserItem : public MZeroedObject {
@@ -425,4 +427,4 @@ class CVkUserItem : public MZeroedObject {
};
-
+#endif