summaryrefslogtreecommitdiff
path: root/plugins/YAPP/src/message_pump.h
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2013-03-14 08:11:57 +0000
committerKirill Volinsky <mataes2007@gmail.com>2013-03-14 08:11:57 +0000
commit809aa14dd2119e7b0de93846eb38bbb83073dad6 (patch)
tree54c400100970481180dcc6908961b2f64dd03155 /plugins/YAPP/src/message_pump.h
parent7e5f2445f906ade2533fc3a4b6d14b8da52ec522 (diff)
removed not used headers
m_yapp.h moved to ExtAPI git-svn-id: http://svn.miranda-ng.org/main/trunk@4013 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/YAPP/src/message_pump.h')
-rw-r--r--plugins/YAPP/src/message_pump.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/plugins/YAPP/src/message_pump.h b/plugins/YAPP/src/message_pump.h
index 70671b157a..6acb371080 100644
--- a/plugins/YAPP/src/message_pump.h
+++ b/plugins/YAPP/src/message_pump.h
@@ -11,6 +11,31 @@ void PostMPMessage(UINT msg, WPARAM, LPARAM);
#define MUM_NMREMOVE (WM_USER + 0x014)
#define MUM_NMAVATAR (WM_USER + 0x015)
+struct PopupData
+{
+ int cbSize;
+ int flags; // OR of PDF_* flags below
+ HANDLE hContact;
+ HICON hIcon;
+ union {
+ char *pszTitle;
+ TCHAR *ptzTitle;
+ wchar_t *pwzTitle;
+ };
+ union {
+ char *pszText;
+ TCHAR *ptzText;
+ wchar_t *pwzText;
+ };
+ COLORREF colorBack; // if colorBack and colorText are equal, defaults will be used
+ COLORREF colorText;
+ WNDPROC windowProc; // optional custom window procedure
+ int timeout; // -1 == infinite, 0 == default, otherwise timeout in seconds
+ void *opaque;
+
+ void SetIcon(HICON);
+};
+
// given a popup data pointer, and a handle to an event, this function
// will post a message to the message queue which will set the hwnd value
// and then set the event...so create an event, call this function and then wait on the event