summaryrefslogtreecommitdiff
path: root/yamn/m_messages.h
diff options
context:
space:
mode:
authorwatcherhd <watcherhd@e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb>2011-11-17 12:37:21 +0000
committerwatcherhd <watcherhd@e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb>2011-11-17 12:37:21 +0000
commit3c0233134bc5a8e42e3a621f0a5eef2aaf487474 (patch)
tree30e49d3065aa387392028a54ef3c1ee7294b9e1e /yamn/m_messages.h
parent9139772a56e38f15e08f1a4a3215cfd402f85dde (diff)
adding from berlios: dbx_tree, lastseen-mod, nudge, yamn
git-svn-id: http://miranda-plugins.googlecode.com/svn/trunk@173 e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb
Diffstat (limited to 'yamn/m_messages.h')
-rw-r--r--yamn/m_messages.h41
1 files changed, 41 insertions, 0 deletions
diff --git a/yamn/m_messages.h b/yamn/m_messages.h
new file mode 100644
index 0000000..7fc0fbe
--- /dev/null
+++ b/yamn/m_messages.h
@@ -0,0 +1,41 @@
+#ifndef __MESSAGES_H
+#define __MESSAGES_H
+
+//#include "list.h"
+
+// structure for chained list of handles (window handles, account handles, whatever)
+struct WndHandles
+{
+ HANDLE Handle;
+
+ struct WndHandles *Next;
+};
+
+#define WM_YAMN WM_APP+0x2800 //(0xA800 in fact)
+enum
+{
+ WM_YAMN_CHANGEHOTKEY=WM_YAMN,
+ WM_YAMN_CHANGETIME,
+
+//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