diff options
author | sje <sje@4f64403b-2f21-0410-a795-97e2b3489a10> | 2007-07-20 05:40:29 +0000 |
---|---|---|
committer | sje <sje@4f64403b-2f21-0410-a795-97e2b3489a10> | 2007-07-20 05:40:29 +0000 |
commit | d73e2c675deac8d5fbf67767ac4bb26fe9d054db (patch) | |
tree | ecdd94cb7ba666ca80c57c6bf9ea2357479b129f | |
parent | 593c60e7121208481948fc2f5a878d11a6651e4e (diff) |
put hcontact into popup class data
git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@292 4f64403b-2f21-0410-a795-97e2b3489a10
-rw-r--r-- | message_notify/MessageNotify.mdsp | 8 | ||||
-rw-r--r-- | message_notify/messagenotify.cpp | 2 | ||||
-rw-r--r-- | message_notify/popups.cpp | 2 |
3 files changed, 7 insertions, 5 deletions
diff --git a/message_notify/MessageNotify.mdsp b/message_notify/MessageNotify.mdsp index 9416d50..678bb6d 100644 --- a/message_notify/MessageNotify.mdsp +++ b/message_notify/MessageNotify.mdsp @@ -96,9 +96,9 @@ extraResourceOptions= [Other]
1=..\..\include\m_database.h
[History]
-popups.cpp,3181
+popups.cpp,6357
mywindowlist.cpp,0
-options.cpp,5169
+options.cpp,5097
common.h,643
-..\..\include\m_database.h,16843
-messagenotify.cpp,9161
+..\..\include\m_database.h,16842
+messagenotify.cpp,1542
diff --git a/message_notify/messagenotify.cpp b/message_notify/messagenotify.cpp index 640a127..4e1480d 100644 --- a/message_notify/messagenotify.cpp +++ b/message_notify/messagenotify.cpp @@ -27,7 +27,7 @@ DWORD focusTimerId = 0; PLUGININFOEX pluginInfo={
sizeof(PLUGININFOEX),
"Message Notify",
- PLUGIN_MAKE_VERSION(0,3,0,0),
+ PLUGIN_MAKE_VERSION(0,3,0,1),
"Show a popup when a message is received",
"Scott Ellis",
"mail@scottellis.com.au",
diff --git a/message_notify/popups.cpp b/message_notify/popups.cpp index 24c983b..a82cd0d 100644 --- a/message_notify/popups.cpp +++ b/message_notify/popups.cpp @@ -139,6 +139,7 @@ void ShowPopup( HANDLE hContact, const char* line1, const char* line2, int flags POPUPDATACLASS d = {sizeof(d), "messagenotify"};
d.pszTitle = line1;
d.pszText = line2;
+ d.hContact = hContact;
d.PluginData = (void *)hContact;
CallService(MS_POPUP_ADDPOPUPCLASS, 0, (LPARAM)&d);
} else {
@@ -191,6 +192,7 @@ void ShowPopupW( HANDLE hContact, const wchar_t* line1, const wchar_t* line2, in POPUPDATACLASS d = {sizeof(d), "messagenotify"};
d.pwszTitle = line1;
d.pwszText = line2;
+ d.hContact = hContact;
d.PluginData = (void *)hContact;
CallService(MS_POPUP_ADDPOPUPCLASS, 0, (LPARAM)&d);
} else {
|