summaryrefslogtreecommitdiff
path: root/protocols/VKontakte/src/vk_struct.h
diff options
context:
space:
mode:
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