From 09121bfc0da22a40142e70a276a47fb639390cc4 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 22 May 2018 19:50:35 +0300 Subject: m_chat_int.h => CMPlugin --- plugins/Scriver/src/chat_main.cpp | 2 +- plugins/Scriver/src/stdafx.h | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'plugins/Scriver') diff --git a/plugins/Scriver/src/chat_main.cpp b/plugins/Scriver/src/chat_main.cpp index 7be39fdf65..503c8b07b0 100644 --- a/plugins/Scriver/src/chat_main.cpp +++ b/plugins/Scriver/src/chat_main.cpp @@ -129,7 +129,7 @@ static void OnLoadSettings() int Chat_Load() { - CHAT_MANAGER_INITDATA data = { &g_Settings, sizeof(MODULEINFO), sizeof(SESSION_INFO), LPGENW("Messaging") L"/" LPGENW("Group chats"), FONTMODE_SKIP }; + CHAT_MANAGER_INITDATA data = { &g_Settings, sizeof(MODULEINFO), sizeof(SESSION_INFO), LPGENW("Messaging") L"/" LPGENW("Group chats"), FONTMODE_SKIP, g_plugin.m_hLang }; pci = Chat_GetInterface(&data); pci->OnCreateModule = OnCreateModule; diff --git a/plugins/Scriver/src/stdafx.h b/plugins/Scriver/src/stdafx.h index 7624a32ac3..e023334fe9 100644 --- a/plugins/Scriver/src/stdafx.h +++ b/plugins/Scriver/src/stdafx.h @@ -68,6 +68,11 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include #include +struct CMPlugin : public PLUGIN +{ + CMPlugin(); +}; + #include "resource.h" #include "version.h" @@ -116,11 +121,6 @@ int StatusIconPressed(WPARAM wParam, LPARAM lParam); #include "statusicon.h" #include "chat.h" -struct CMPlugin : public PLUGIN -{ - CMPlugin(); -}; - extern GlobalMessageData g_dat; #endif -- cgit v1.2.3