summaryrefslogtreecommitdiff
path: root/plugins/XSoundNotify/src/stdafx.h
diff options
context:
space:
mode:
authorKirill Volinsky <KVolinsky@COMMON.EU.CORP.TOYOTA.com>2017-06-15 15:05:11 +0300
committerKirill Volinsky <KVolinsky@COMMON.EU.CORP.TOYOTA.com>2017-06-15 15:10:01 +0300
commit4f6145c3b880aba158633af290ce1210dcec95a1 (patch)
tree8b28bc7fdf317338850f49918e3d9c828fea5ad7 /plugins/XSoundNotify/src/stdafx.h
parent4c3b947ddacabef2754f8ee9551c6be0786b73ba (diff)
XSoundNotify: added ability to set own sound for account (sometimes sound not played, i think it was before my changes)
Diffstat (limited to 'plugins/XSoundNotify/src/stdafx.h')
-rw-r--r--plugins/XSoundNotify/src/stdafx.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/plugins/XSoundNotify/src/stdafx.h b/plugins/XSoundNotify/src/stdafx.h
index a04427e9f8..47e1176e07 100644
--- a/plugins/XSoundNotify/src/stdafx.h
+++ b/plugins/XSoundNotify/src/stdafx.h
@@ -22,15 +22,17 @@
struct XSN_Data
{
- MCONTACT hContact;
+ LPARAM hContact;
wchar_t path[MAX_PATH];
BYTE ignore;
+ BYTE iscontact;
- __forceinline XSN_Data(MCONTACT _aContact, wchar_t *_path, BYTE _ignore) :
+ __forceinline XSN_Data(LPARAM _aContact, wchar_t *_path, BYTE _ignore, BYTE _iscontact) :
hContact(_aContact)
{
wcsncpy(path, _path, _countof(path));
ignore = _ignore;
+ iscontact = _iscontact;
}
};