summaryrefslogtreecommitdiff
path: root/protocols/YAMN/src/messages.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2023-10-16 17:17:31 +0300
committerGeorge Hazan <george.hazan@gmail.com>2023-10-16 17:17:31 +0300
commitdf4c18c10e0fe094eda65187e97b77b9af10ca3d (patch)
tree786565406174e9191dfd0d8a359998e3159348a3 /protocols/YAMN/src/messages.h
parentd09fdfb17e8b8b2d84ae0b1b16cf8da5c6a4a505 (diff)
code cleaning
Diffstat (limited to 'protocols/YAMN/src/messages.h')
-rw-r--r--protocols/YAMN/src/messages.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/protocols/YAMN/src/messages.h b/protocols/YAMN/src/messages.h
new file mode 100644
index 0000000000..13ca9de80d
--- /dev/null
+++ b/protocols/YAMN/src/messages.h
@@ -0,0 +1,31 @@
+#ifndef __MESSAGES_H
+#define __MESSAGES_H
+
+#define WM_YAMN WM_APP+0x2800 // (0xA800 in fact)
+
+enum
+{
+ WM_YAMN_CHANGETIME = WM_YAMN,
+
+ //ChangeStatus message
+ //WPARAM- (HACCOUNT) Account whose status is changed
+ //LPARAM- new status of account
+ WM_YAMN_CHANGESTATUS,
+
+ //StopAccount message
+ //WPARAM- (HACCOUNT) Account, which should stop its work and finish immidiatelly
+ WM_YAMN_STOPACCOUNT,
+
+ //Account content changed
+ WM_YAMN_CHANGECONTENT,
+
+ WM_YAMN_UPDATEMAILS,
+
+ WM_YAMN_NOTIFYICON,
+
+ WM_YAMN_CHANGESTATUSOPTION,
+
+ WM_YAMN_SHOWSELECTED,
+};
+
+#endif