summaryrefslogtreecommitdiff
path: root/protocols/YAMN/src/yamn.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2023-10-16 12:44:06 +0300
committerGeorge Hazan <george.hazan@gmail.com>2023-10-16 12:44:06 +0300
commit39badfe98c0f8a750101926f91b5b3122dfdeb22 (patch)
treeaeb661335b0a5b24decaaa7a5f5513c82bd4fe43 /protocols/YAMN/src/yamn.h
parent5bf3fd51f1dcdd275d38f35d7aebe7bd063eb3db (diff)
more code cleaning
Diffstat (limited to 'protocols/YAMN/src/yamn.h')
-rw-r--r--protocols/YAMN/src/yamn.h53
1 files changed, 53 insertions, 0 deletions
diff --git a/protocols/YAMN/src/yamn.h b/protocols/YAMN/src/yamn.h
new file mode 100644
index 0000000000..8d47fb1606
--- /dev/null
+++ b/protocols/YAMN/src/yamn.h
@@ -0,0 +1,53 @@
+#ifndef __M_YAMN_H
+#define __M_YAMN_H
+
+#include <windows.h>
+
+//
+//================================== 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