From 7a92c51ee750eac2b7e1c1fe33d020186fe8595a Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 11 Oct 2023 13:04:47 +0300 Subject: =?UTF-8?q?fixes=20#3726=20(YAMN:=20=D0=BF=D0=BE=20=D1=83=D0=BC?= =?UTF-8?q?=D0=BE=D0=BB=D1=87=D0=B0=D0=BD=D0=B8=D1=8E=20=D0=B2=D1=81=D0=BF?= =?UTF-8?q?=D0=BB=D1=8B=D0=B2=D0=B0=D1=8E=D1=89=D0=B8=D0=B5=20=D0=BE=D0=BA?= =?UTF-8?q?=D0=BD=D0=B0=20=D0=BE=D1=82=D0=BA=D0=BB=D1=8E=D1=87=D0=B5=D0=BD?= =?UTF-8?q?=D1=8B,=20=D0=BD=D0=BE=20=D0=BE=D0=BD=D0=B8=20=D0=B5=D1=81?= =?UTF-8?q?=D1=82=D1=8C)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/ExternalAPI/m_account.h | 1 + plugins/ExternalAPI/m_protoplugin.h | 11 +---------- 2 files changed, 2 insertions(+), 10 deletions(-) (limited to 'plugins/ExternalAPI') diff --git a/plugins/ExternalAPI/m_account.h b/plugins/ExternalAPI/m_account.h index ebd730be07..11458828ce 100644 --- a/plugins/ExternalAPI/m_account.h +++ b/plugins/ExternalAPI/m_account.h @@ -328,6 +328,7 @@ struct CAccount : public MZeroedObject CAccount *Next; + void CheckMail(); void RefreshContact(); }; diff --git a/plugins/ExternalAPI/m_protoplugin.h b/plugins/ExternalAPI/m_protoplugin.h index 633740b857..d651563882 100644 --- a/plugins/ExternalAPI/m_protoplugin.h +++ b/plugins/ExternalAPI/m_protoplugin.h @@ -20,18 +20,9 @@ struct CheckParam // IMPORTANT!!!: Although version #defined in your plugin is not the same, your plugin MUST signal this event // in any way. YAMN is waiting for this event. If you do not signal it, YAMN is blocked. HANDLE ThreadRunningEV; + // ActualAccount- the only parameter used in Check function and should contain all needed information I think :) CAccount *AccountParam; - - // I thought it, but this is needed, too -#define YAMN_NORMALCHECK 0 -#define YAMN_FORCECHECK 1 - int Flags; - - // YAMN writes here some informations that are needed to pass to mail browser function (or bad connection) - void *BrowserParam; - // Calling thread (protocol plugin) can write here its own parameters. Usefull when protocol calls its own check function. YAMN always sets this parameter to NULL - void *CustomParam; }; // structure is used to give parameters to DeleteMails function -- cgit v1.2.3