summaryrefslogtreecommitdiff
path: root/protocols/FacebookRM/src/proto.h
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2013-11-17 23:23:53 +0000
committerRobert Pösel <robyer@seznam.cz>2013-11-17 23:23:53 +0000
commitb31c85fadafb41df147ff0c27baa04a23a48a27e (patch)
treed12d7cd770e1d193ed1ed683e36963cfb4abf7e0 /protocols/FacebookRM/src/proto.h
parent96d149d7437f2a8dafcb5fb9fd535f0b2af47c69 (diff)
Facebook: use TCHAR* instead of char* on many places (chat related)
git-svn-id: http://svn.miranda-ng.org/main/trunk@6932 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/FacebookRM/src/proto.h')
-rw-r--r--protocols/FacebookRM/src/proto.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/protocols/FacebookRM/src/proto.h b/protocols/FacebookRM/src/proto.h
index a6f56fa50c..3ab2c867c0 100644
--- a/protocols/FacebookRM/src/proto.h
+++ b/protocols/FacebookRM/src/proto.h
@@ -187,20 +187,20 @@ public:
// Contacts handling
bool IsMyContact(HANDLE, bool include_chat = false);
HANDLE ContactIDToHContact(std::string);
- HANDLE ChatIDToHContact(std::string);
+ HANDLE ChatIDToHContact(std::tstring);
HANDLE AddToContactList(facebook_user*, ContactType type, bool dont_check = false);
void SetAllContactStatuses(int status, bool reset_client = false);
HANDLE HContactFromAuthEvent(HANDLE hEvent);
// Chats handling
- void AddChat(const char *id, const char *name);
- void UpdateChat(const char *chat_id, const char *id, const char *name, const char *message, DWORD timestamp = 0);
+ 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);
void RenameChat(const char *chat_id, const char *name);
- 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);
+ 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 SetChatStatus(const char *chat_id, int status);
- char *GetChatUsers(const char *chat_id);
+ char *GetChatUsers(const TCHAR *chat_id);
// Connection client
facebook_client facy; // TODO: Refactor to "client" and make dynamic