diff options
Diffstat (limited to 'plugins/ExternalAPI')
-rw-r--r-- | plugins/ExternalAPI/m_account.h | 1 | ||||
-rw-r--r-- | plugins/ExternalAPI/m_protoplugin.h | 11 |
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
|