summaryrefslogtreecommitdiff
path: root/protocols/FacebookRM/src/entities.h
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/FacebookRM/src/entities.h')
-rw-r--r--protocols/FacebookRM/src/entities.h15
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;
+};