diff options
author | George Hazan <ghazan@miranda.im> | 2018-11-12 21:44:56 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-11-12 21:44:56 +0300 |
commit | 53fe3e46177d17b4941610de19f5cc6210700cb4 (patch) | |
tree | b67a6bc208dad141f9db14035cd7e42ff2a51872 /plugins/HwHotKeys/src/HwHotKeys_DllMain.cpp | |
parent | 488214ac8af0c4aeb1a5c1d8fd48368daaf4c4c7 (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.cpp | 6 |
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);
|