summaryrefslogtreecommitdiff
path: root/protocols/FacebookRM/src/events.cpp
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2016-07-05 17:58:47 +0000
committerRobert Pösel <robyer@seznam.cz>2016-07-05 17:58:47 +0000
commitec473b50196a5d04bd0fbcf67f465b5703b5138a (patch)
treea0032b99de071f70fb2ba225f9275365de2c10a3 /protocols/FacebookRM/src/events.cpp
parent21811cedec44836942fc07977634c868d9045cf5 (diff)
Facebook: Prepare for showing reaction icons for notifications (needs support in Popup+ and YAPP)
git-svn-id: http://svn.miranda-ng.org/main/trunk@17061 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/FacebookRM/src/events.cpp')
-rw-r--r--protocols/FacebookRM/src/events.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/protocols/FacebookRM/src/events.cpp b/protocols/FacebookRM/src/events.cpp
index 0dc5ad458a..f52385f30b 100644
--- a/protocols/FacebookRM/src/events.cpp
+++ b/protocols/FacebookRM/src/events.cpp
@@ -22,7 +22,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "stdafx.h"
-HWND FacebookProto::NotifyEvent(TCHAR* title, TCHAR* info, MCONTACT contact, DWORD flags, std::string *url, std::string *notification_id)
+HWND FacebookProto::NotifyEvent(TCHAR* title, TCHAR* info, MCONTACT contact, DWORD flags, std::string *url, std::string *notification_id, const char *icon)
{
if (title == NULL || info == NULL)
return NULL;
@@ -103,6 +103,9 @@ HWND FacebookProto::NotifyEvent(TCHAR* title, TCHAR* info, MCONTACT contact, DWO
pd.ptszText = info;
pd.pszClassName = name;
pd.hContact = contact;
+ if (icon != NULL) {
+ // pd.hIcon = IcoLib_GetIconByHandle(GetIconHandle(icon)); // FIXME: Uncomment when implemented in Popup+ and YAPP correctly
+ }
if (url != NULL || notification_id != NULL) {
popup_data *data = new popup_data(this);