summaryrefslogtreecommitdiff
path: root/protocols/YAMN/src/browser/browser.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2023-10-06 14:03:42 +0300
committerGeorge Hazan <george.hazan@gmail.com>2023-10-06 14:03:42 +0300
commit4f7cb79f7c8d1b46260f135e3ab7ba615cf8ea29 (patch)
tree70bab49f49e7f4989445ba9a8bff94c90e1acf60 /protocols/YAMN/src/browser/browser.h
parent4549087d4f7044dbf51a75d1af605ac93f6fbd6b (diff)
fixes #3704 (YAMN: Миранда зависает если изменить настройки YAMN во время прилёта письма)
Diffstat (limited to 'protocols/YAMN/src/browser/browser.h')
-rw-r--r--protocols/YAMN/src/browser/browser.h23
1 files changed, 6 insertions, 17 deletions
diff --git a/protocols/YAMN/src/browser/browser.h b/protocols/YAMN/src/browser/browser.h
index 0cb3f1a248..4cf0b55ed4 100644
--- a/protocols/YAMN/src/browser/browser.h
+++ b/protocols/YAMN/src/browser/browser.h
@@ -1,35 +1,24 @@
#ifndef __MAILBROWSER_H
#define __MAILBROWSER_H
-typedef struct MailBrowserWinParam
-{
#define YAMN_MAILBROWSERVERSION 1
- HANDLE ThreadRunningEV;
+
+struct YAMN_MAILBROWSERPARAM
+{
CAccount *account;
uint32_t nflags; //flags YAMN_ACC_??? when new mails
uint32_t nnflags; //flags YAMN_ACC_??? when no new mails
void *Param;
-} YAMN_MAILBROWSERPARAM,*PYAMN_MAILBROWSERPARAM;
+};
-typedef struct MailShowMsgWinParam
+struct YAMN_MAILSHOWPARAM
{
- HANDLE ThreadRunningEV;
CAccount *account;
HYAMNMAIL mail;
-} YAMN_MAILSHOWPARAM, *PYAMN_MAILSHOWPARAM;
-
-typedef struct NoNewMailParam
-{
-#define YAMN_NONEWMAILVERSION 1
- HANDLE ThreadRunningEV;
- CAccount *account;
- uint32_t flags;
- void *Param;
-} YAMN_NONEWMAILPARAM,*PYAMN_NONEWMAILPARAM;
+};
struct BadConnectionParam
{
- HANDLE ThreadRunningEV;
CAccount *account;
UINT_PTR errcode;
void *Param;