diff options
author | George Hazan <ghazan@miranda.im> | 2018-05-17 16:47:04 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-05-17 16:47:04 +0300 |
commit | ba1083b4da33ca44a5ae7d90eabbe3d6d340a81e (patch) | |
tree | ff215cbcb7d606f9898dbb0f038e850540f52e75 /plugins/XSoundNotify/src/stdafx.h | |
parent | 3c641c02b973483e86b9562088719396bbdbe412 (diff) |
XSoundNotify, YAPP, YaRelay, ZeroSwitch, ZeroNotify -> CMPlugin
Diffstat (limited to 'plugins/XSoundNotify/src/stdafx.h')
-rw-r--r-- | plugins/XSoundNotify/src/stdafx.h | 9 |
1 files changed, 7 insertions, 2 deletions
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 <windows.h>
#include <Shlwapi.h>
-#define __NO_CMPLUGIN_NEEDED
#include <newpluginapi.h>
#include <m_system.h>
#include <m_database.h>
@@ -23,6 +22,13 @@ #define SETTINGSKEY "XSNPlugin_sound"
#define SETTINGSIGNOREKEY "XSNPlugin_ignore"
+struct CMPlugin : public PLUGIN<CMPlugin>
+{
+ CMPlugin() :
+ PLUGIN<CMPlugin>(SETTINGSNAME)
+ {}
+};
+
struct XSN_Data
{
LPARAM hContact;
@@ -41,7 +47,6 @@ struct XSN_Data extern LIST<XSN_Data> XSN_Users;
-extern HINSTANCE hInst;
extern MWindowList hChangeSoundDlgList;
extern BYTE isIgnoreSound, isOwnSound;
|