diff options
author | Vadim Dashevskiy <watcherhd@gmail.com> | 2012-05-15 10:38:20 +0000 |
---|---|---|
committer | Vadim Dashevskiy <watcherhd@gmail.com> | 2012-05-15 10:38:20 +0000 |
commit | 48540940b6c28bb4378abfeb500ec45a625b37b6 (patch) | |
tree | 2ef294c0763e802f91d868bdef4229b6868527de /plugins/ExternalAPI/m_messages.h | |
parent | 5c350913f011e119127baeb32a6aedeb4f0d33bc (diff) |
initial commit
git-svn-id: http://svn.miranda-ng.org/main/trunk@2 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/ExternalAPI/m_messages.h')
-rw-r--r-- | plugins/ExternalAPI/m_messages.h | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/plugins/ExternalAPI/m_messages.h b/plugins/ExternalAPI/m_messages.h new file mode 100644 index 0000000000..7fc0fbed20 --- /dev/null +++ b/plugins/ExternalAPI/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
|