summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2023-10-11 13:04:47 +0300
committerGeorge Hazan <george.hazan@gmail.com>2023-10-11 13:04:47 +0300
commit7a92c51ee750eac2b7e1c1fe33d020186fe8595a (patch)
tree667deffc65781516088e673d0cfd9c078a3846ed /plugins
parent4889027a05b899594bf895fe70b6281442beb57b (diff)
fixes #3726 (YAMN: по умолчанию всплывающие окна отключены, но они есть)
Diffstat (limited to 'plugins')
-rw-r--r--plugins/ExternalAPI/m_account.h1
-rw-r--r--plugins/ExternalAPI/m_protoplugin.h11
2 files changed, 2 insertions, 10 deletions
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