diff options
author | George Hazan <ghazan@miranda.im> | 2022-06-20 16:13:24 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2022-06-20 16:13:24 +0300 |
commit | 54a27f0906931ea0f4fabbde4b67393836a717e6 (patch) | |
tree | a399911826fabd797f65e52d0abe5c56c2277fda /plugins/Toaster/src/toast_notification.h | |
parent | 9d3d766aa5ec6ab8f91c957c6ad2c617380664f7 (diff) |
fixes #3077 (Toaster: падение при создании большого числа всплывающих окон)
Diffstat (limited to 'plugins/Toaster/src/toast_notification.h')
-rw-r--r-- | plugins/Toaster/src/toast_notification.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/Toaster/src/toast_notification.h b/plugins/Toaster/src/toast_notification.h index 812c361810..55add011e3 100644 --- a/plugins/Toaster/src/toast_notification.h +++ b/plugins/Toaster/src/toast_notification.h @@ -4,10 +4,12 @@ typedef __FITypedEventHandler_2_Windows__CUI__CNotifications__CToastNotification typedef __FITypedEventHandler_2_Windows__CUI__CNotifications__CToastNotification_Windows__CUI__CNotifications__CToastDismissedEventArgs ToastDismissHandler;
typedef __FITypedEventHandler_2_Windows__CUI__CNotifications__CToastNotification_Windows__CUI__CNotifications__CToastFailedEventArgs ToastFailHandler;
+#define TOAST_SIGNATURE 0xABBABABA
+
class ToastNotification
{
private:
-
+ uint32_t _signature = TOAST_SIGNATURE;
MCONTACT _hContact;
WNDPROC _pfnPopupProc;
|