summaryrefslogtreecommitdiff
path: root/plugins/XSoundNotify/src/stdafx.h
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2020-03-23 21:54:02 +0300
committerGeorge Hazan <ghazan@miranda.im>2020-03-23 21:54:02 +0300
commitc3e56141b7996b34e776054dd6a8144594363428 (patch)
tree8e72203529173e61bf37638afc43b9912f4caa85 /plugins/XSoundNotify/src/stdafx.h
parent6a889421589f6ecfc9b21d8fc45891292c7f577b (diff)
fixes #2269 (XSoundNotify not working)
Diffstat (limited to 'plugins/XSoundNotify/src/stdafx.h')
-rw-r--r--plugins/XSoundNotify/src/stdafx.h14
1 files changed, 4 insertions, 10 deletions
diff --git a/plugins/XSoundNotify/src/stdafx.h b/plugins/XSoundNotify/src/stdafx.h
index 850750ad61..9b3fcc09e1 100644
--- a/plugins/XSoundNotify/src/stdafx.h
+++ b/plugins/XSoundNotify/src/stdafx.h
@@ -34,16 +34,10 @@ struct XSN_Data
{
LPARAM hContact;
wchar_t path[MAX_PATH];
- BYTE ignore;
- BYTE iscontact;
-
- __forceinline XSN_Data(LPARAM _aContact, wchar_t *_path, BYTE _ignore, BYTE _iscontact) :
- hContact(_aContact)
- {
- wcsncpy(path, _path, _countof(path));
- ignore = _ignore;
- iscontact = _iscontact;
- }
+ bool bIsContact, bIgnore;
+
+ XSN_Data(MCONTACT _aContact, bool _ignore);
+ XSN_Data(const char *szModuleName, bool _ignore);
};
extern LIST<XSN_Data> XSN_Users;