summaryrefslogtreecommitdiff
path: root/protocols/FacebookRM/src/entities.h
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2013-07-31 08:59:00 +0000
committerRobert Pösel <robyer@seznam.cz>2013-07-31 08:59:00 +0000
commit3de73f4e34db0c8119f9424558ba724a2b793506 (patch)
treed6f957b385cb66271b9e94e5dc40e3beb97a1094 /protocols/FacebookRM/src/entities.h
parentad9fda4db13269823d9ef3333f6c8e03898610f7 (diff)
Facebook: Many fixes for "Post status" window and function
git-svn-id: http://svn.miranda-ng.org/main/trunk@5534 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/FacebookRM/src/entities.h')
-rw-r--r--protocols/FacebookRM/src/entities.h15
1 files changed, 13 insertions, 2 deletions
diff --git a/protocols/FacebookRM/src/entities.h b/protocols/FacebookRM/src/entities.h
index d1f1a48dcc..20008b2f21 100644
--- a/protocols/FacebookRM/src/entities.h
+++ b/protocols/FacebookRM/src/entities.h
@@ -147,17 +147,26 @@ struct popup_data
struct status_data
{
+ status_data() {
+ this->user_id = this->text = this->url = this->place = this->privacy = "";
+ this->isPage = false;
+ }
std::string user_id;
std::string text;
std::string url;
std::string place;
std::string privacy;
bool isPage;
+ std::vector<facebook_user*> users;
};
struct wall_data
{
- wall_data() {}
+ wall_data() {
+ this->user_id = "";
+ this->title = NULL;
+ this->isPage = false;
+ }
wall_data(std::string user_id, TCHAR *title, bool isPage = false) : user_id(user_id), title(title), isPage(isPage) {}
std::string user_id;
TCHAR *title;
@@ -166,7 +175,9 @@ struct wall_data
struct post_status_data {
post_status_data(FacebookProto *proto) : proto(proto) {}
- post_status_data(FacebookProto *proto, wall_data *wall) : proto(proto) { walls.push_back(wall); }
+ post_status_data(FacebookProto *proto, wall_data *wall) : proto(proto) {
+ this->walls.push_back(wall);
+ }
FacebookProto *proto;
std::vector<wall_data*> walls;
};