diff options
Diffstat (limited to 'plugins/WebView/src')
-rw-r--r-- | plugins/WebView/src/main.cpp | 10 | ||||
-rw-r--r-- | plugins/WebView/src/webview.h | 7 |
2 files changed, 9 insertions, 8 deletions
diff --git a/plugins/WebView/src/main.cpp b/plugins/WebView/src/main.cpp index eaaeee3d07..b392550ed2 100644 --- a/plugins/WebView/src/main.cpp +++ b/plugins/WebView/src/main.cpp @@ -34,8 +34,7 @@ static HMODULE hRichEd = nullptr; /////////////////////////////////////////////////////////////////////////////////////////
-PLUGININFOEX pluginInfoEx =
-{
+PLUGININFOEX pluginInfoEx = {
sizeof(PLUGININFOEX),
__PLUGIN_NAME,
PLUGIN_MAKE_VERSION(__MAJOR_VERSION, __MINOR_VERSION, __RELEASE_NUM, __BUILD_NUM),
@@ -48,6 +47,13 @@ PLUGININFOEX pluginInfoEx = {0xcd5427fb, 0x5320, 0x4f65, {0xb4, 0xbf, 0x86, 0xb7, 0xcf, 0x7b, 0x50, 0x87}}
};
+CMPlugin::CMPlugin() :
+ PLUGIN<CMPlugin>(MODULENAME, pluginInfoEx)
+{
+ RegisterProtocol(PROTOTYPE_PROTOCOL);
+ SetUniqueId("PreserveName");
+}
+
extern "C" __declspec(dllexport) PLUGININFOEX* MirandaPluginInfoEx(DWORD)
{
return &pluginInfoEx;
diff --git a/plugins/WebView/src/webview.h b/plugins/WebView/src/webview.h index ee7d9ce62c..fce570cdb1 100644 --- a/plugins/WebView/src/webview.h +++ b/plugins/WebView/src/webview.h @@ -246,10 +246,5 @@ extern HANDLE hHookAlertOSD; struct CMPlugin : public PLUGIN<CMPlugin>
{
- CMPlugin() :
- PLUGIN<CMPlugin>(MODULENAME)
- {
- RegisterProtocol(PROTOTYPE_PROTOCOL);
- SetUniqueId("PreserveName");
- }
+ CMPlugin();
};
|