summaryrefslogtreecommitdiff
path: root/protocols/FacebookRM/src/entities.h
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2013-05-17 15:06:51 +0000
committerRobert Pösel <robyer@seznam.cz>2013-05-17 15:06:51 +0000
commit1c917ac3f485ffac7b4316d633a344fbafcedb78 (patch)
tree32a83a846c37fc3e3551624bf9ed1ac2e75f8165 /protocols/FacebookRM/src/entities.h
parentdf406e92b92925501b224a01962ef9e9dee84d3b (diff)
Facebook: Ability to open links on different server (mobile, touch,...).
git-svn-id: http://svn.miranda-ng.org/main/trunk@4702 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/FacebookRM/src/entities.h')
-rw-r--r--protocols/FacebookRM/src/entities.h12
1 files changed, 5 insertions, 7 deletions
diff --git a/protocols/FacebookRM/src/entities.h b/protocols/FacebookRM/src/entities.h
index 76fe5cf965..acb395d52a 100644
--- a/protocols/FacebookRM/src/entities.h
+++ b/protocols/FacebookRM/src/entities.h
@@ -108,7 +108,6 @@ struct facebook_newsfeed
}
};
-
struct send_chat
{
send_chat(const std::string &chat_id,const std::string &msg) : chat_id(chat_id), msg(msg) {}
@@ -116,7 +115,6 @@ struct send_chat
std::string msg;
};
-
struct send_direct
{
send_direct(HANDLE hContact,const std::string &msg, HANDLE msgid) : hContact(hContact), msg(msg), msgid(msgid) {}
@@ -132,9 +130,9 @@ struct send_typing
int status;
};
-struct send_messaging
+struct popup_data
{
- send_messaging(const std::string &user_id, const int type) : user_id(user_id), type(type) {}
- std::string user_id;
- int type;
-};
+ popup_data(FacebookProto *proto, std::string url) : proto(proto), url(url) {}
+ FacebookProto *proto;
+ std::string url;
+}; \ No newline at end of file