diff options
author | Kirill Volinsky <KVolinsky@COMMON.EU.CORP.TOYOTA.com> | 2017-06-15 15:05:11 +0300 |
---|---|---|
committer | Kirill Volinsky <KVolinsky@COMMON.EU.CORP.TOYOTA.com> | 2017-06-15 15:10:01 +0300 |
commit | 4f6145c3b880aba158633af290ce1210dcec95a1 (patch) | |
tree | 8b28bc7fdf317338850f49918e3d9c828fea5ad7 /plugins/XSoundNotify/src/stdafx.h | |
parent | 4c3b947ddacabef2754f8ee9551c6be0786b73ba (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.h | 6 |
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;
}
};
|