diff options
author | Robert Pösel <robyer@seznam.cz> | 2013-07-28 12:37:37 +0000 |
---|---|---|
committer | Robert Pösel <robyer@seznam.cz> | 2013-07-28 12:37:37 +0000 |
commit | 66cb0e5b93b88b84599c1c32f46a3ff847517c57 (patch) | |
tree | 848cb290bdc68a037cb500f66d9fafc83c66c91c /protocols/FacebookRM/src/entities.h | |
parent | 2e2d9de08e3eb747f88cd3a9aeb750a3c34078a7 (diff) |
Facebook: Post status improvements (part 2) - ability to post statuses to other contact's wall
git-svn-id: http://svn.miranda-ng.org/main/trunk@5509 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/FacebookRM/src/entities.h')
-rw-r--r-- | protocols/FacebookRM/src/entities.h | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/protocols/FacebookRM/src/entities.h b/protocols/FacebookRM/src/entities.h index 11f7d262a3..93eef6ea70 100644 --- a/protocols/FacebookRM/src/entities.h +++ b/protocols/FacebookRM/src/entities.h @@ -147,4 +147,17 @@ struct status_data std::string url;
std::string place;
std::string privacy;
-};
\ No newline at end of file +};
+
+struct wall_data
+{
+ std::string user_id;
+ std::string title;
+};
+
+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); }
+ FacebookProto *proto;
+ std::vector<wall_data*> walls;
+};
|