From ba1083b4da33ca44a5ae7d90eabbe3d6d340a81e Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 17 May 2018 16:47:04 +0300 Subject: XSoundNotify, YAPP, YaRelay, ZeroSwitch, ZeroNotify -> CMPlugin --- plugins/XSoundNotify/src/stdafx.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'plugins/XSoundNotify/src/stdafx.h') diff --git a/plugins/XSoundNotify/src/stdafx.h b/plugins/XSoundNotify/src/stdafx.h index ea8008c8c6..8e147d857d 100644 --- a/plugins/XSoundNotify/src/stdafx.h +++ b/plugins/XSoundNotify/src/stdafx.h @@ -3,7 +3,6 @@ #include #include -#define __NO_CMPLUGIN_NEEDED #include #include #include @@ -23,6 +22,13 @@ #define SETTINGSKEY "XSNPlugin_sound" #define SETTINGSIGNOREKEY "XSNPlugin_ignore" +struct CMPlugin : public PLUGIN +{ + CMPlugin() : + PLUGIN(SETTINGSNAME) + {} +}; + struct XSN_Data { LPARAM hContact; @@ -41,7 +47,6 @@ struct XSN_Data extern LIST XSN_Users; -extern HINSTANCE hInst; extern MWindowList hChangeSoundDlgList; extern BYTE isIgnoreSound, isOwnSound; -- cgit v1.2.3