summaryrefslogtreecommitdiff
path: root/plugins/XSoundNotify/src/stdafx.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/XSoundNotify/src/stdafx.h')
-rw-r--r--plugins/XSoundNotify/src/stdafx.h9
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;