From ffa0fa4f142eb6ee5f919a96b10f36363c511b16 Mon Sep 17 00:00:00 2001 From: sje Date: Tue, 10 Jul 2007 14:23:37 +0000 Subject: implemented zaps git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@269 4f64403b-2f21-0410-a795-97e2b3489a10 --- MySpace/notifications.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'MySpace/notifications.cpp') diff --git a/MySpace/notifications.cpp b/MySpace/notifications.cpp index 25b732b..d29db18 100644 --- a/MySpace/notifications.cpp +++ b/MySpace/notifications.cpp @@ -81,8 +81,8 @@ void NotifyMail() { if(ServiceExists(MS_POPUP_ADDPOPUPCLASS)) { POPUPDATACLASS d = {sizeof(d), popup_class_name}; - d.pwszTitle = (wchar_t *)wproto; - d.pwszText = (wchar_t *)TranslateT("You have unread mail"); + d.ptszTitle = wproto; + d.ptszText = TranslateT("You have unread mail"); d.PluginData = (void *)pd; CallService(MS_POPUP_ADDPOPUPCLASS, 0, (LPARAM)&d); } else { @@ -121,8 +121,8 @@ void NotifyBlogComment() { if(ServiceExists(MS_POPUP_ADDPOPUPCLASS)) { POPUPDATACLASS d = {sizeof(d), popup_class_name}; - d.pwszTitle = (wchar_t *)wproto; - d.pwszText = (wchar_t *)TranslateT("You have unread blog comments"); + d.ptszTitle = wproto; + d.ptszText = TranslateT("You have unread blog comments"); d.PluginData = (void *)pd; CallService(MS_POPUP_ADDPOPUPCLASS, 0, (LPARAM)&d); } else { @@ -162,8 +162,8 @@ void NotifyProfileComment() { if(ServiceExists(MS_POPUP_ADDPOPUPCLASS)) { POPUPDATACLASS d = {sizeof(d), popup_class_name}; - d.pwszTitle = (wchar_t *)wproto; - d.pwszText = (wchar_t *)TranslateT("You have unread profile comments"); + d.ptszTitle = wproto; + d.ptszText = TranslateT("You have unread profile comments"); d.PluginData = (void *)pd; CallService(MS_POPUP_ADDPOPUPCLASS, 0, (LPARAM)&d); } else { @@ -200,8 +200,8 @@ void NotifyFriendRequest() { if(ServiceExists(MS_POPUP_ADDPOPUPCLASS)) { POPUPDATACLASS d = {sizeof(d), popup_class_name}; - d.pwszTitle = (wchar_t *)wproto; - d.pwszText = (wchar_t *)TranslateT("You have new friend requests"); + d.ptszTitle = wproto; + d.ptszText = TranslateT("You have new friend requests"); d.PluginData = (void *)pd; CallService(MS_POPUP_ADDPOPUPCLASS, 0, (LPARAM)&d); } else { -- cgit v1.2.3