summaryrefslogtreecommitdiff
path: root/plugins/HwHotKeys/src/HwHotKeys_DllMain.cpp
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/HwHotKeys/src/HwHotKeys_DllMain.cpp
parent488214ac8af0c4aeb1a5c1d8fd48368daaf4c4c7 (diff)
db_* functions replaced with g_plugin calls
Diffstat (limited to 'plugins/HwHotKeys/src/HwHotKeys_DllMain.cpp')
-rw-r--r--plugins/HwHotKeys/src/HwHotKeys_DllMain.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/HwHotKeys/src/HwHotKeys_DllMain.cpp b/plugins/HwHotKeys/src/HwHotKeys_DllMain.cpp
index a9438690e2..0bba4387f7 100644
--- a/plugins/HwHotKeys/src/HwHotKeys_DllMain.cpp
+++ b/plugins/HwHotKeys/src/HwHotKeys_DllMain.cpp
@@ -88,9 +88,9 @@ CMPlugin::CMPlugin() :
int CMPlugin::Load()
{
// загружаем (из БД) настройки плагина
- code_Close = db_get_dw(0, MODULENAME, "Close", 0);
- code_HideShow = db_get_dw(0, MODULENAME, "HideShow", 0);
- code_ReadMsg = db_get_dw(0, MODULENAME, "ReadMsg", 0);
+ code_Close = g_plugin.getDword("Close", 0);
+ code_HideShow = g_plugin.getDword("HideShow", 0);
+ code_ReadMsg = g_plugin.getDword("ReadMsg", 0);
// регистрация диалога опций
HookEvent(ME_OPT_INITIALISE, initializeOptions);