From 285d0b93bc5f99c565dab66e86b8130f0b56d150 Mon Sep 17 00:00:00 2001 From: watcherhd Date: Tue, 26 Apr 2011 19:55:16 +0000 Subject: buddyexpectator: compilation fix, adding m_popup2.h to api folder git-svn-id: http://miranda-plugins.googlecode.com/svn/trunk@43 e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb --- buddyexpectator/BuddyExpectator.cpp | 18 +++++++++--------- buddyexpectator/common.h | 1 + 2 files changed, 10 insertions(+), 9 deletions(-) (limited to 'buddyexpectator') diff --git a/buddyexpectator/BuddyExpectator.cpp b/buddyexpectator/BuddyExpectator.cpp index bd0a9c5..5ec0037 100644 --- a/buddyexpectator/BuddyExpectator.cpp +++ b/buddyexpectator/BuddyExpectator.cpp @@ -67,7 +67,7 @@ PLUGININFOEX pluginInfo = { "Reacts to the return of contacts, or the the extended absence of contacts, with notifications and other actions", "Anar Ibragimoff, sje, Thief", "thief@miranda.im", - "© 2005 Anar Ibragimoff, © 2006 Scott Ellis, © 2007-2009 Alexander Turyak", + "� 2005 Anar Ibragimoff, � 2006 Scott Ellis, � 2007-2009 Alexander Turyak", "http://thief.miranda.im", 0, 0, @@ -282,8 +282,8 @@ bool isContactGoneFor(HANDLE hContact, int days) { char szInfo[200]; - POPUPDATAEX ppd = {0}; - ppd.cbSize = sizeof(POPUPDATAEX); + POPUPDATAT_V2 ppd = {0}; + ppd.cbSize = sizeof(POPUPDATAT_V2); ppd.lchContact = hContact; ppd.lchIcon = (HICON)CallService(MS_SKIN2_GETICON, 0, (LPARAM)"enabled_icon"); @@ -324,8 +324,8 @@ void ReturnNotify(HANDLE hContact, char *message) if (options.iShowPopUp > 0) { // Display PopUp - POPUPDATAEX ppd = {0}; - ppd.cbSize = sizeof(POPUPDATAEX); + POPUPDATAT_V2 ppd = {0}; + ppd.cbSize = sizeof(POPUPDATAT_V2); ppd.lchContact = hContact; ppd.lchIcon = hIcon; @@ -370,8 +370,8 @@ void GoneNotify(HANDLE hContact, char *message) if (options.iShowPopUp2 > 0) { // Display PopUp - POPUPDATAEX ppd = {0}; - ppd.cbSize = sizeof(POPUPDATAEX); + POPUPDATAT_V2 ppd = {0}; + ppd.cbSize = sizeof(POPUPDATAT_V2); ppd.lchContact = hContact; ppd.lchIcon = hIcon; @@ -623,8 +623,8 @@ int SettingChanged(WPARAM wParam, LPARAM lParam) if (DBGetContactSettingByte(hContact, MODULE_NAME, "MissYou", 0)) { // Display PopUp - POPUPDATAEX ppd = {0}; - ppd.cbSize = sizeof(POPUPDATAEX); + POPUPDATAT_V2 ppd = {0}; + ppd.cbSize = sizeof(POPUPDATAT_V2); ppd.lchContact = hContact; ppd.lchIcon = (HICON)CallService(MS_SKIN2_GETICON, 0, (LPARAM)"enabled_icon"); diff --git a/buddyexpectator/common.h b/buddyexpectator/common.h index 6c9b635..6398727 100644 --- a/buddyexpectator/common.h +++ b/buddyexpectator/common.h @@ -49,6 +49,7 @@ #include #include #include "m_popup.h" +#include "m_popup2.h" #include "m_updater.h" #include "m_cluiframes.h" -- cgit v1.2.3