From c1e35bf6676ba144b61dcc863fa8fa3c4b7eb183 Mon Sep 17 00:00:00 2001 From: MikalaiR Date: Sun, 10 Jan 2016 11:04:51 +0000 Subject: TabSRMM: ReloadSettings service git-svn-id: http://svn.miranda-ng.org/main/trunk@16075 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/TabSRMM/src/msgs.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'plugins/TabSRMM/src/msgs.cpp') 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(); -- cgit v1.2.3