diff options
author | Robert Pösel <robyer@seznam.cz> | 2014-07-15 15:35:50 +0000 |
---|---|---|
committer | Robert Pösel <robyer@seznam.cz> | 2014-07-15 15:35:50 +0000 |
commit | 31576722f7a8fd5c9719852242a2b4e9749830d9 (patch) | |
tree | e190a4e42b6b5cbe51d2f9407d4fe79962ee58a5 /protocols/FacebookRM/src/proto.h | |
parent | af9f7df6d22903be7f7a7c8a93d77355bbd7f958 (diff) |
Facebook: First phase of chat refactoring
- It loads list of users, their "roles" (myself, friend, user) with friend's names
- Fixed some memory leak
git-svn-id: http://svn.miranda-ng.org/main/trunk@9809 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/FacebookRM/src/proto.h')
-rw-r--r-- | protocols/FacebookRM/src/proto.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/protocols/FacebookRM/src/proto.h b/protocols/FacebookRM/src/proto.h index 7a1b208707..8fd911ed63 100644 --- a/protocols/FacebookRM/src/proto.h +++ b/protocols/FacebookRM/src/proto.h @@ -210,10 +210,12 @@ public: void RenameChat(const char *chat_id, const char *name); bool IsChatContact(const TCHAR *chat_id, const char *id); void AddChatContact(const TCHAR *chat_id, const char *id, const char *name); - void RemoveChatContact(const TCHAR *chat_id, const char *id); + void RemoveChatContact(const TCHAR *chat_id, const char *id, const char *name); void SetChatStatus(const char *chat_id, int status); char *GetChatUsers(const TCHAR *chat_id); void ReceiveMessages(std::vector<facebook_message*> messages, bool local_timestamp, bool check_duplicates = false); + void LoadChatInfo(facebook_chatroom* fbc); + void LoadParticipantsNames(facebook_chatroom *fbc); // Connection client facebook_client facy; // TODO: Refactor to "client" and make dynamic |