summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorMikalaiR <nikolay.romanovich@narod.ru>2016-01-10 11:04:51 +0000
committerMikalaiR <nikolay.romanovich@narod.ru>2016-01-10 11:04:51 +0000
commitc1e35bf6676ba144b61dcc863fa8fa3c4b7eb183 (patch)
tree5a958d3f07399cd86fede5b6a17258c92f8a908e /plugins
parent9416dfbdea9f181bef9b3ac4a1538ed38f6d94e7 (diff)
TabSRMM: ReloadSettings service
git-svn-id: http://svn.miranda-ng.org/main/trunk@16075 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins')
-rw-r--r--plugins/TabSRMM/src/msgs.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/plugins/TabSRMM/src/msgs.cpp b/plugins/TabSRMM/src/msgs.cpp
index 3963d18c98..601fdc5000 100644
--- a/plugins/TabSRMM/src/msgs.cpp
+++ b/plugins/TabSRMM/src/msgs.cpp
@@ -215,6 +215,12 @@ static INT_PTR ReloadSkin(WPARAM, LPARAM)
return 0;
}
+static INT_PTR ReloadSettings(WPARAM, LPARAM lParam)
+{
+ PluginConfig.reloadSettings(lParam);
+ return 0;
+}
+
/////////////////////////////////////////////////////////////////////////////////////////
// service function finds a message session
// wParam = contact handle for which we want the window handle
@@ -947,6 +953,7 @@ static void TSAPI InitAPI()
CreateServiceFunction("SRMsg/BroadcastMessage", BroadcastMessage);
CreateServiceFunction("TabSRMsg/ReloadSkin", ReloadSkin);
+ CreateServiceFunction("TabSRMsg/ReloadSettings", ReloadSettings);
SI_InitStatusIcons();
CB_InitCustomButtons();