diff options
author | George Hazan <george.hazan@gmail.com> | 2015-05-25 18:09:42 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-05-25 18:09:42 +0000 |
commit | 99bea7a69e782c02d371f94a2988d49d0825fd7e (patch) | |
tree | 17331d8d614c1fe1751a351030a790bbfa5eae29 /protocols/FacebookRM/src/proto.h | |
parent | fae17e42b5d32ff133426893ca115310d499ab64 (diff) |
FB json parsing rewritten for new headers
git-svn-id: http://svn.miranda-ng.org/main/trunk@13832 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/FacebookRM/src/proto.h')
-rw-r--r-- | protocols/FacebookRM/src/proto.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/protocols/FacebookRM/src/proto.h b/protocols/FacebookRM/src/proto.h index 59b5ce751c..f4b4d208de 100644 --- a/protocols/FacebookRM/src/proto.h +++ b/protocols/FacebookRM/src/proto.h @@ -191,7 +191,7 @@ public: // Contacts handling bool IsMyContact(MCONTACT, bool include_chat = false); MCONTACT ContactIDToHContact(const std::string&); - MCONTACT ChatIDToHContact(const std::tstring&); + MCONTACT ChatIDToHContact(const std::string&); std::string ThreadIDToContactID(const std::string&); void LoadContactInfo(facebook_user* fbu); MCONTACT AddToContactList(facebook_user*, ContactType type, bool force_add = false, bool add_temporarily = false); @@ -201,13 +201,13 @@ public: void StopTyping(MCONTACT hContact); // Chats handling - void AddChat(const TCHAR *id, const TCHAR *name); - void UpdateChat(const TCHAR *chat_id, const char *id, const char *name, const char *message, DWORD timestamp = 0, bool is_old = false); + void AddChat(const char *chat_id, const TCHAR *name); + void UpdateChat(const char *chat_id, const char *id, const char *name, const char *message, DWORD timestamp = 0, bool is_old = false); 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, const char *name); - char *GetChatUsers(const TCHAR *chat_id); + bool IsChatContact(const char *chat_id, const char *id); + void AddChatContact(const char *chat_id, const char *id, const char *name); + void RemoveChatContact(const char *chat_id, const char *id, const char *name); + char *GetChatUsers(const char *chat_id); void ReceiveMessages(std::vector<facebook_message*> messages, bool check_duplicates = false); void LoadChatInfo(facebook_chatroom* fbc); void LoadParticipantsNames(facebook_chatroom *fbc); |