From 39badfe98c0f8a750101926f91b5b3122dfdeb22 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 16 Oct 2023 12:44:06 +0300 Subject: more code cleaning --- plugins/ExternalAPI/m_yamn.h | 80 -------------------------------------------- 1 file changed, 80 deletions(-) delete mode 100644 plugins/ExternalAPI/m_yamn.h (limited to 'plugins/ExternalAPI') diff --git a/plugins/ExternalAPI/m_yamn.h b/plugins/ExternalAPI/m_yamn.h deleted file mode 100644 index bed93e8543..0000000000 --- a/plugins/ExternalAPI/m_yamn.h +++ /dev/null @@ -1,80 +0,0 @@ -#ifndef __M_YAMN_H -#define __M_YAMN_H - -#include - -// -//================================== VARIABLES STRUCT ======================================== -// - -struct YAMN_VARIABLES -{ -#define YAMN_VARIABLESVERSION 3 - MWindowList MessageWnds; - MWindowList NewMailAccountWnd; - int Shutdown; -}; - -// -//================================== YAMN EVENTS ================================== -// - -//UninstallPlugin Event -//Sent when user wants to uninstall YAMN and all its plugins -#define ME_YAMN_UNINSTALLPLUGINS "YAMN/MirandaEvents/UninstallPlugins" - -//NewMail Event -//Notifies you about new mail -//no arguments now (Developers, send mail, which params would you like to have, but note there's problem that -//params are 32b numbers. When it is pointer to some data, these data should persist while every plugin read them and -//after that they can be removed from memory. So it is problem) -#define ME_YAMN_NEWMAIL "YAMN/MirandaEvents/NewMail" - -// -//================================== YAMN SERVICES ================================== -// - -//ForceCheck Service -//Check mail on accounts -//WPARAM- not used -//LPARAM- not used -#define MS_YAMN_FORCECHECK "YAMN/Service/ForceCheck" - -//Contact List Context Menu Click -//wParam=(WPARAM)hContact -//lParam=0 -// -//Event is fired when there is a double click on a CList contact, -//it is upto the caller to check for the protocol & status -//of the MCONTACT, it's not done for you anymore since it didn't make -//sense to store all this information in memory, etc. -#define MS_YAMN_CLISTCONTEXT "YAMN/Service/ClistContactContextMenu" - -//Contact List Context Menu Click for application -//wParam=(WPARAM)hContact -//lParam=0 -// -//Event is fired when there is a double click on a CList contact, -//it is upto the caller to check for the protocol & status -//of the MCONTACT, it's not done for you anymore since it didn't make -//sense to store all this information in memory, etc. -#define MS_YAMN_CLISTCONTEXTAPP "YAMN/Service/ClistContactContextMenuApp" - -//Contact List Double Click -//wParam=(WPARAM)hContact -//lParam=0 -// -//Event is fired when there is a double click on a CList contact, -//it is upto the caller to check for the protocol & status -//of the MCONTACT, it's not done for you anymore since it didn't make -//sense to store all this information in memory, etc. -#define MS_YAMN_CLISTDBLCLICK "YAMN/Service/ClistContactDoubleclicked" - -//NoNewMail Service -//runs no new mail procedure (shows popups e.g.) -//WPARAM- pointer to YAMN_NONEWMAILPARAM structure, data to no new mail procedure. You do not need to fill ThreadRunningEV event member. -//LPARAM- YAMN_NONEWMAILPARAM structure version param. Use YAMN_NONEWMAILVERSION definition. -//returns zero if failed, nonzero if succeed -#define MS_YAMN_NONEWMAILPROC "YAMN/Service/NoNewMailProc" - -#endif -- cgit v1.2.3