From 4b9e39a3ea97bfb34fab1803df542f766b730e9b Mon Sep 17 00:00:00 2001 From: Sergey Bolhovskoy Date: Thu, 7 Apr 2016 10:37:53 +0000 Subject: VKontakte: add settings for show/hide proto menu items git-svn-id: http://svn.miranda-ng.org/main/trunk@16602 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/VKontakte/src/vk_struct.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'protocols/VKontakte/src/vk_struct.cpp') diff --git a/protocols/VKontakte/src/vk_struct.cpp b/protocols/VKontakte/src/vk_struct.cpp index e01fb08b6a..779aab9641 100644 --- a/protocols/VKontakte/src/vk_struct.cpp +++ b/protocols/VKontakte/src/vk_struct.cpp @@ -209,6 +209,14 @@ CVKOptions::CVKOptions(PROTO_INTERFACE *proto) : bSyncReadMessageStatusFromServer(proto, "SyncReadMessageStatusFromServer", false), bLoadFullCList(proto, "LoadFullCList", false), + bShowProtoMenuItem0(proto, "ShowProtoMenuItem0", true), + bShowProtoMenuItem1(proto, "ShowProtoMenuItem1", true), + bShowProtoMenuItem2(proto, "ShowProtoMenuItem2", true), + bShowProtoMenuItem3(proto, "ShowProtoMenuItem3", true), + bShowProtoMenuItem4(proto, "ShowProtoMenuItem4", true), + bShowProtoMenuItem5(proto, "ShowProtoMenuItem5", true), + bShowProtoMenuItem6(proto, "ShowProtoMenuItem6", true), + iMusicSendMetod(proto, "MusicSendMetod", MusicSendMetod::sendBroadcastOnly), iSyncHistoryMetod(proto, "SyncHistoryMetod", SyncHistoryMetod::syncOff), iIMGBBCSupport(proto, "IMGBBCSupport", IMGBBCSypport::imgNo), @@ -231,6 +239,7 @@ CVKOptions::CVKOptions(PROTO_INTERFACE *proto) : ReloadStrings(); } + void CVKOptions::ReloadStrings() { if (!m_proto) -- cgit v1.2.3