From 4f7cb79f7c8d1b46260f135e3ab7ba615cf8ea29 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 6 Oct 2023 14:03:42 +0300 Subject: =?UTF-8?q?fixes=20#3704=20(YAMN:=20=D0=9C=D0=B8=D1=80=D0=B0=D0=BD?= =?UTF-8?q?=D0=B4=D0=B0=20=D0=B7=D0=B0=D0=B2=D0=B8=D1=81=D0=B0=D0=B5=D1=82?= =?UTF-8?q?=20=D0=B5=D1=81=D0=BB=D0=B8=20=D0=B8=D0=B7=D0=BC=D0=B5=D0=BD?= =?UTF-8?q?=D0=B8=D1=82=D1=8C=20=D0=BD=D0=B0=D1=81=D1=82=D1=80=D0=BE=D0=B9?= =?UTF-8?q?=D0=BA=D0=B8=20YAMN=20=D0=B2=D0=BE=20=D0=B2=D1=80=D0=B5=D0=BC?= =?UTF-8?q?=D1=8F=20=D0=BF=D1=80=D0=B8=D0=BB=D1=91=D1=82=D0=B0=20=D0=BF?= =?UTF-8?q?=D0=B8=D1=81=D1=8C=D0=BC=D0=B0)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- protocols/YAMN/src/browser/browser.h | 23 ++++++----------------- 1 file changed, 6 insertions(+), 17 deletions(-) (limited to 'protocols/YAMN/src/browser/browser.h') 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; -- cgit v1.2.3