From 44d0f35d4e3d74b9814e9a511b6dc55e9fffebc0 Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Sat, 1 Aug 2015 21:12:42 +0000 Subject: XSoundNotify: common project git-svn-id: http://svn.miranda-ng.org/main/trunk@14803 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/XSoundNotify/src/stdafx.h | 47 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 plugins/XSoundNotify/src/stdafx.h (limited to 'plugins/XSoundNotify/src/stdafx.h') diff --git a/plugins/XSoundNotify/src/stdafx.h b/plugins/XSoundNotify/src/stdafx.h new file mode 100644 index 0000000000..6e867669ed --- /dev/null +++ b/plugins/XSoundNotify/src/stdafx.h @@ -0,0 +1,47 @@ +#include +#include + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include "resource.h" +#include "Version.h" + +#define SETTINGSNAME "XSoundNotify" +#define SETTINGSKEY "XSNPlugin_sound" +#define SETTINGSIGNOREKEY "XSNPlugin_ignore" + +struct XSN_Data +{ + MCONTACT hContact; + TCHAR path[MAX_PATH]; + BYTE ignore; + + __forceinline XSN_Data(MCONTACT _aContact, TCHAR *_path, BYTE _ignore) : + hContact(_aContact) + { + _tcsncpy(path, _path, _countof(path)); + ignore = _ignore; + } +}; + +extern LIST XSN_Users; + +extern HINSTANCE hInst; +extern MWindowList hChangeSoundDlgList; +extern BYTE isIgnoreSound, isOwnSound; + +bool IsSuitableProto(PROTOACCOUNT *pa); + +INT OptInit(WPARAM wParam, LPARAM lParam); + +INT_PTR ShowDialog(WPARAM wParam, LPARAM lParam); -- cgit v1.2.3