summaryrefslogtreecommitdiff
path: root/plugins/FingerprintNG/src/finger_groups.h
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-11-12 21:44:56 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-11-12 21:44:56 +0300
commit53fe3e46177d17b4941610de19f5cc6210700cb4 (patch)
treeb67a6bc208dad141f9db14035cd7e42ff2a51872 /plugins/FingerprintNG/src/finger_groups.h
parent488214ac8af0c4aeb1a5c1d8fd48368daaf4c4c7 (diff)
db_* functions replaced with g_plugin calls
Diffstat (limited to 'plugins/FingerprintNG/src/finger_groups.h')
-rw-r--r--plugins/FingerprintNG/src/finger_groups.h44
1 files changed, 22 insertions, 22 deletions
diff --git a/plugins/FingerprintNG/src/finger_groups.h b/plugins/FingerprintNG/src/finger_groups.h
index c0ef7d0c1b..99cad38788 100644
--- a/plugins/FingerprintNG/src/finger_groups.h
+++ b/plugins/FingerprintNG/src/finger_groups.h
@@ -1,110 +1,110 @@
case MIRANDA_CASE:
- if (db_get_b(NULL, MODULENAME, "GroupMiranda", 1))
+ if (g_plugin.getByte("GroupMiranda", 1))
return LPGENW("Client icons") L"/" LPGENW("Miranda clients");
break;
case MIRANDA_VERSION_CASE:
- if (db_get_b(NULL, MODULENAME, "GroupMirandaVersion", 1))
+ if (g_plugin.getByte("GroupMirandaVersion", 1))
return LPGENW("Client icons") L"/" LPGENW("Miranda clients");
break;
case MIRANDA_PACKS_CASE:
- if (db_get_b(NULL, MODULENAME, "GroupMirandaPacks", 1))
+ if (g_plugin.getByte("GroupMirandaPacks", 1))
return LPGENW("Client icons") L"/" LPGENW("Miranda clients") L"/" LPGENW("Pack overlays");
break;
case MULTI_CASE:
- if (db_get_b(NULL, MODULENAME, "GroupMulti", 1))
+ if (g_plugin.getByte("GroupMulti", 1))
return LPGENW("Client icons") L"/" LPGENW("Multi-proto clients");
break;
case GG_CASE:
- if (db_get_b(NULL, MODULENAME, "GroupGG", 1))
+ if (g_plugin.getByte("GroupGG", 1))
return LPGENW("Client icons") L"/" LPGENW("Gadu-Gadu clients");
break;
case ICQ_CASE:
- if (db_get_b(NULL, MODULENAME, "GroupICQ", 1))
+ if (g_plugin.getByte("GroupICQ", 1))
return LPGENW("Client icons") L"/" LPGENW("ICQ clients");
break;
case IRC_CASE:
- if (db_get_b(NULL, MODULENAME, "GroupIRC", 1))
+ if (g_plugin.getByte("GroupIRC", 1))
return LPGENW("Client icons") L"/" LPGENW("IRC clients");
break;
case JABBER_CASE:
- if (db_get_b(NULL, MODULENAME, "GroupJabber", 1))
+ if (g_plugin.getByte("GroupJabber", 1))
return LPGENW("Client icons") L"/" LPGENW("Jabber clients");
break;
case MRA_CASE:
- if (db_get_b(NULL, MODULENAME, "GroupMRA", 1))
+ if (g_plugin.getByte("GroupMRA", 1))
return LPGENW("Client icons") L"/" LPGENW("MRA clients");
break;
case MSN_CASE:
- if (db_get_b(NULL, MODULENAME, "GroupMSN", 1))
+ if (g_plugin.getByte("GroupMSN", 1))
return LPGENW("Client icons") L"/" LPGENW("MSN clients");
break;
case QQ_CASE:
- if (db_get_b(NULL, MODULENAME, "GroupQQ", 1))
+ if (g_plugin.getByte("GroupQQ", 1))
return LPGENW("Client icons") L"/" LPGENW("QQ clients");
break;
case RSS_CASE:
- if (db_get_b(NULL, MODULENAME, "GroupRSS", 1))
+ if (g_plugin.getByte("GroupRSS", 1))
return LPGENW("Client icons") L"/" LPGENW("RSS clients");
break;
case WEATHER_CASE:
- if (db_get_b(NULL, MODULENAME, "GroupWeather", 1))
+ if (g_plugin.getByte("GroupWeather", 1))
return LPGENW("Client icons") L"/" LPGENW("Weather clients");
break;
case FACEBOOK_CASE:
- if (db_get_b(NULL, MODULENAME, "GroupFacebook", 1))
+ if (g_plugin.getByte("GroupFacebook", 1))
return LPGENW("Client icons") L"/" LPGENW("Facebook clients");
break;
case VK_CASE:
- if (db_get_b(NULL, MODULENAME, "GroupVK", 1))
+ if (g_plugin.getByte("GroupVK", 1))
return LPGENW("Client icons") L"/" LPGENW("VKontakte clients");
break;
case OTHER_PROTOS_CASE:
- if (db_get_b(NULL, MODULENAME, "GroupOtherProtos", 1))
+ if (g_plugin.getByte("GroupOtherProtos", 1))
return LPGENW("Client icons") L"/" LPGENW("Other protocols");
break;
case OTHERS_CASE:
- if (db_get_b(NULL, MODULENAME, "GroupOthers", 1))
+ if (g_plugin.getByte("GroupOthers", 1))
return LPGENW("Client icons") L"/" LPGENW("Other icons");
break;
case OVERLAYS_RESOURCE_CASE:
- if (db_get_b(NULL, MODULENAME, "GroupOverlaysResource", 1))
+ if (g_plugin.getByte("GroupOverlaysResource", 1))
return LPGENW("Client icons") L"/" LPGENW("Overlays") L"/" LPGENW("Resource");
break;
case OVERLAYS_PLATFORM_CASE:
- if (db_get_b(NULL, MODULENAME, "GroupOverlaysPlatform", 1))
+ if (g_plugin.getByte("GroupOverlaysPlatform", 1))
return LPGENW("Client icons") L"/" LPGENW("Overlays") L"/" LPGENW("Platform");
break;
case OVERLAYS_UNICODE_CASE:
- if (db_get_b(NULL, MODULENAME, "GroupOverlaysUnicode", 1))
+ if (g_plugin.getByte("GroupOverlaysUnicode", 1))
return LPGENW("Client icons") L"/" LPGENW("Overlays") L"/" LPGENW("Platform");
break;
case OVERLAYS_SECURITY_CASE:
- if (db_get_b(NULL, MODULENAME, "GroupOverlaysSecurity", 1))
+ if (g_plugin.getByte("GroupOverlaysSecurity", 1))
return LPGENW("Client icons") L"/" LPGENW("Overlays") L"/" LPGENW("Security");
break;
case OVERLAYS_PROTO_CASE:
- if (db_get_b(NULL, MODULENAME, "GroupOverlaysProtos", 1))
+ if (g_plugin.getByte("GroupOverlaysProtos", 1))
return LPGENW("Client icons") L"/" LPGENW("Overlays") L"/" LPGENW("Protocol");
break;