From 8a74e7495ce5ad39de4f5c25121a84d35df90c36 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 20 May 2018 15:08:48 +0300 Subject: CMPlugin to receive a reference to PLUGININFOEX --- plugins/ShellExt/src/main.cpp | 3 +++ plugins/ShellExt/src/stdafx.h | 4 +--- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'plugins/ShellExt/src') diff --git a/plugins/ShellExt/src/main.cpp b/plugins/ShellExt/src/main.cpp index d928c4e914..4f3a9d19fc 100644 --- a/plugins/ShellExt/src/main.cpp +++ b/plugins/ShellExt/src/main.cpp @@ -31,6 +31,9 @@ PLUGININFOEX pluginInfoEx = { { 0x7993ab24, 0x1fda, 0x428c, { 0xa8, 0x9b, 0xbe, 0x37, 0x7a, 0x10, 0xbe, 0x3a }} }; +CMPlugin::CMPlugin() : + PLUGIN(SHLExt_Name, pluginInfoEx) +{} extern "C" __declspec(dllexport) PLUGININFOEX* MirandaPluginInfoEx(DWORD) { diff --git a/plugins/ShellExt/src/stdafx.h b/plugins/ShellExt/src/stdafx.h index 14bc44366d..edd2b9599d 100644 --- a/plugins/ShellExt/src/stdafx.h +++ b/plugins/ShellExt/src/stdafx.h @@ -45,9 +45,7 @@ HRESULT RemoveCOMRegistryEntries(); struct CMPlugin : public PLUGIN { - CMPlugin() : - PLUGIN(SHLExt_Name) - {} + CMPlugin(); }; extern bool bIsVistaPlus; -- cgit v1.2.3