summaryrefslogtreecommitdiff
path: root/protocols/FacebookRM/src/proto.h
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-01-10 22:47:42 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-01-10 22:47:42 +0300
commit4e69c635f238cc951265e036ef74cef75b9a65c8 (patch)
tree4a8af2c5d841a0551b0c034339fc44ad202eca28 /protocols/FacebookRM/src/proto.h
parent8cad7d3baec2de5e117f115f89482b47ad124a18 (diff)
Facebook: added custom reactions' icons to popups
Diffstat (limited to 'protocols/FacebookRM/src/proto.h')
-rw-r--r--protocols/FacebookRM/src/proto.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/protocols/FacebookRM/src/proto.h b/protocols/FacebookRM/src/proto.h
index 7a004640e8..d5e3617546 100644
--- a/protocols/FacebookRM/src/proto.h
+++ b/protocols/FacebookRM/src/proto.h
@@ -45,6 +45,8 @@ class FacebookProto : public PROTO<FacebookProto>
int ParseUnreadThreads(std::string*, std::vector< std::string >*);
int ParseUserInfo(std::string* data, facebook_user* fbu);
+ const char* ParseIcon(const std::string &url);
+
public:
FacebookProto(const char *proto_name, const wchar_t *username);
~FacebookProto();
@@ -276,6 +278,9 @@ public:
std::string last_status_msg_;
std::vector<MCONTACT> avatar_queue;
+ mir_cs csReactions;
+ std::map<std::string, std::string> reactions;
+
// Information providing
HWND NotifyEvent(wchar_t* title, wchar_t* text, MCONTACT contact, EventType type, std::string *url = nullptr, std::string *notification_id = nullptr, const char *icon = nullptr);
void ShowNotifications();