summaryrefslogtreecommitdiff
path: root/protocols/Skype/src/skype_proto.h
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2013-06-14 18:26:29 +0000
committerAlexander Lantsev <aunsane@gmail.com>2013-06-14 18:26:29 +0000
commit0043f79996b6bf582194fd45d42d86ca2816292f (patch)
tree083bb550630bc245210e8609e96e2bdec4a4bfc9 /protocols/Skype/src/skype_proto.h
parent19130f846c811022b5a765162f4a146f1362727d (diff)
Skype:
- fixed chat creating/removing - fixed chat inviting - fixed #367 git-svn-id: http://svn.miranda-ng.org/main/trunk@4945 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Skype/src/skype_proto.h')
-rw-r--r--protocols/Skype/src/skype_proto.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/protocols/Skype/src/skype_proto.h b/protocols/Skype/src/skype_proto.h
index c87cb73307..4c79e4355f 100644
--- a/protocols/Skype/src/skype_proto.h
+++ b/protocols/Skype/src/skype_proto.h
@@ -177,8 +177,6 @@ private:
CMessage *newMessage(int oid);
CTransfer *newTransfer(int oid);
- bool CreateConferenceWithConsumers(ConversationRef &conference, const SEStringList &identities);
-
void OnMessage(
const MessageRef & message,
const bool & changesInboxTimestamp,
@@ -265,13 +263,10 @@ protected:
void OnTransferChanged(CTransfer::Ref transfer, int prop);
// chat
- static wchar_t* Roles[];
-
bool IsChatRoom(HANDLE hContact);
HANDLE GetChatRoomByCid(const wchar_t *cid);
HANDLE AddChatRoom(CConversation::Ref conversation);
- wchar_t *GetChatUsers(const wchar_t *cid);
void UpdateChatUserStatus(CContact::Ref contact);
void UpdateChatUserNick(CContact::Ref contact);
@@ -284,8 +279,10 @@ protected:
void StartChat();
void StartChat(StringList &invitedContacts);
+ void InviteToChatRoom(HANDLE hContact);
- void LeaveChat(const wchar_t *cid);
+ ChatRoom *FindChatRoom(const wchar_t *cid);
+ void DeleteChatRoom(HANDLE hContact);
INT_PTR __cdecl OnJoinChat(WPARAM wParam, LPARAM);
INT_PTR __cdecl OnLeaveChat(WPARAM wParam, LPARAM);
@@ -377,6 +374,8 @@ protected:
static void CopyToClipboard(const wchar_t *text);
+ static void ReplaceSpecialChars(wchar_t *text, wchar_t replaceWith = L'_');
+
// languages
static std::map<std::wstring, std::wstring> languages;
@@ -428,7 +427,7 @@ protected:
virtual int __cdecl GrantAuth(WPARAM, LPARAM);
virtual int __cdecl RevokeAuth(WPARAM, LPARAM);
- static void EnableMenuItem(HANDLE hMenuItem, BOOL bEnable);
+ static void ShowMenuItem(HANDLE hMenuItem, BOOL show);
static INT_PTR MenuChooseService(WPARAM wParam, LPARAM lParam);