summaryrefslogtreecommitdiff
path: root/protocols/FacebookRM/src/entities.h
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2013-05-20 13:26:29 +0000
committerRobert Pösel <robyer@seznam.cz>2013-05-20 13:26:29 +0000
commitb330de2b0bcf4d09a417c0ef154c3419b6930316 (patch)
tree962eb53ad945a1a26204f4f2d738bb94354d3d2b /protocols/FacebookRM/src/entities.h
parent7e065653a2ffe78094357f6838a5c15ac0fda885 (diff)
Facebook: Marking notifications as read with right click on popup.
git-svn-id: http://svn.miranda-ng.org/main/trunk@4760 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/FacebookRM/src/entities.h')
-rw-r--r--protocols/FacebookRM/src/entities.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/protocols/FacebookRM/src/entities.h b/protocols/FacebookRM/src/entities.h
index acb395d52a..38869e326c 100644
--- a/protocols/FacebookRM/src/entities.h
+++ b/protocols/FacebookRM/src/entities.h
@@ -88,10 +88,11 @@ struct facebook_notification
std::string user_id;
std::string text;
std::string link;
+ std::string id;
facebook_notification()
{
- this->user_id = this->text = this->link = "";
+ this->user_id = this->text = this->link = this->id = "";
}
};
@@ -132,7 +133,9 @@ struct send_typing
struct popup_data
{
+ popup_data(FacebookProto *proto) : proto(proto) {}
popup_data(FacebookProto *proto, std::string url) : proto(proto), url(url) {}
FacebookProto *proto;
std::string url;
+ std::string notification_id;
}; \ No newline at end of file