diff options
author | Sergey Bolhovskoy <elzorfox@ya.ru> | 2016-04-07 10:37:53 +0000 |
---|---|---|
committer | Sergey Bolhovskoy <elzorfox@ya.ru> | 2016-04-07 10:37:53 +0000 |
commit | 4b9e39a3ea97bfb34fab1803df542f766b730e9b (patch) | |
tree | 743eb17f6535db5646984ba6c2b6d11447dffb22 /protocols/VKontakte/src/vk_struct.cpp | |
parent | fbd9d8a939dabfb2d0ef04081eba55c26c4f566e (diff) |
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
Diffstat (limited to 'protocols/VKontakte/src/vk_struct.cpp')
-rw-r--r-- | protocols/VKontakte/src/vk_struct.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
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)
|