summaryrefslogtreecommitdiff
path: root/plugins/XSoundNotify/src/Common.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/XSoundNotify/src/Common.h')
-rw-r--r--plugins/XSoundNotify/src/Common.h35
1 files changed, 21 insertions, 14 deletions
diff --git a/plugins/XSoundNotify/src/Common.h b/plugins/XSoundNotify/src/Common.h
index be4d16e2a8..edccbabc4f 100644
--- a/plugins/XSoundNotify/src/Common.h
+++ b/plugins/XSoundNotify/src/Common.h
@@ -1,26 +1,33 @@
-#include <windows.h>
-
-#include <string>
-#include <unordered_map>
-#include <memory>
+#define _CRT_SECURE_NO_WARNINGS
-#include <atlbase.h>
-#include <atlapp.h>
-#include <atlctrls.h>
-#include <atldlgs.h>
+#include <windows.h>
+#include <Shlwapi.h>
#include <newpluginapi.h>
#include <m_system_cpp.h>
#include <m_database.h>
#include <m_protocols.h>
+#include <m_protosvc.h>
#include <m_langpack.h>
#include <m_clist.h>
#include <m_skin.h>
+#include <win2k.h>
+#include <m_options.h>
#include "resource.h"
#include "Version.h"
-#include "xsn_types.h"
-#include "SoundNotifyData.h"
-#include "SoundNotifyDataStorage.h"
-#include "SettingsDialog.h"
-#include "xsn_utils.h"
+
+#define SETTINGSNAME "XSoundNotify"
+#define SETTINGSKEY "XSNPlugin_sound"
+
+struct XSN_Data
+{
+ HANDLE hContact;
+ TCHAR path[MAX_PATH];
+
+__inline XSN_Data(HANDLE _aContact, TCHAR *_path) :
+ hContact(_aContact)
+{
+ _tcsncpy(path, _path, SIZEOF(path));
+}
+}; \ No newline at end of file