From 5ebe9c34375bce857ad3160abba67d6ed2beadaf Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 17 May 2018 21:05:17 +0300 Subject: MirLua, MirOTR, New_GPG, OpenSSL, SecureIM -> CMplugin --- plugins/CryptoPP/src/main.cpp | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'plugins/CryptoPP/src') diff --git a/plugins/CryptoPP/src/main.cpp b/plugins/CryptoPP/src/main.cpp index 6c735ccbbd..de8b9a178d 100644 --- a/plugins/CryptoPP/src/main.cpp +++ b/plugins/CryptoPP/src/main.cpp @@ -11,7 +11,10 @@ HANDLE hRSA4096 = nullptr; mir_cs localQueueMutex; mir_cs localContextMutex; -PLUGININFOEX pluginInfoEx = { +///////////////////////////////////////////////////////////////////////////////////////// + +PLUGININFOEX pluginInfoEx = +{ sizeof(PLUGININFOEX), __PLUGIN_NAME, PLUGIN_MAKE_VERSION(__MAJOR_VERSION, __MINOR_VERSION, __RELEASE_NUM, __BUILD_NUM), @@ -29,6 +32,8 @@ extern "C" __declspec(dllexport) PLUGININFOEX* MirandaPluginInfoEx(DWORD miranda return &pluginInfoEx; } +///////////////////////////////////////////////////////////////////////////////////////// + int onModulesLoaded(WPARAM wParam, LPARAM lParam) { // updater plugin support @@ -53,11 +58,15 @@ extern "C" __declspec(dllexport) int Load() return 0; } +///////////////////////////////////////////////////////////////////////////////////////// + extern "C" __declspec(dllexport) int Unload() { return 0; } +///////////////////////////////////////////////////////////////////////////////////////// + BOOL ExtractFileFromResource(HANDLE FH, int ResType, int ResId, DWORD* Size) { HRSRC RH = FindResource(g_plugin.getInst(), MAKEINTRESOURCE(ResId), MAKEINTRESOURCE(ResType)); -- cgit v1.2.3