diff options
author | Alexander Lantsev <aunsane@gmail.com> | 2012-10-21 13:08:51 +0000 |
---|---|---|
committer | Alexander Lantsev <aunsane@gmail.com> | 2012-10-21 13:08:51 +0000 |
commit | a2149ab3eaefef81d2bfc92f73981128ca8af21e (patch) | |
tree | 4d2121b91b363fe9965cac0a7fd9d526307dd0b3 /protocols/Skype/src/skype_proto.h | |
parent | 0c9c36e0c60d45e3da803c83733fc1bf47a3f255 (diff) |
- added message sending
git-svn-id: http://svn.miranda-ng.org/main/trunk@2016 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Skype/src/skype_proto.h')
-rw-r--r-- | protocols/Skype/src/skype_proto.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/protocols/Skype/src/skype_proto.h b/protocols/Skype/src/skype_proto.h index 9edd4283c6..62a6863a30 100644 --- a/protocols/Skype/src/skype_proto.h +++ b/protocols/Skype/src/skype_proto.h @@ -119,10 +119,12 @@ protected: bool IsOnline();
- //
+ // messages
void OnOnMessageReceived(const char *sid, const char *text);
void OnConversationAdded(CConversation::Ref conversation);
+ void __cdecl SendMessageAsync(void*);
+
// contacts
void UpdateContactAboutText(HANDLE hContact, CContact::Ref contact);
void UpdateContactAuthState(HANDLE hContact, CContact::Ref contact);
@@ -165,6 +167,7 @@ protected: void __cdecl SearchByEmailAsync(void*);
// utils
+ static void FakeAsync(void*);
static char* GetCountryNameById(int countryId);
static int GetCountryIdByName(const char* countryName);
@@ -186,6 +189,7 @@ protected: int SendBroadcast(int type, int result, HANDLE hProcess, LPARAM lParam);
int SendBroadcast(HANDLE hContact, int type, int result, HANDLE hProcess, LPARAM lParam);
+ DWORD SendBroadcastAsync(HANDLE hContact, int type, int hResult, HANDLE hProcess, LPARAM lParam, size_t paramSize = 0);
void ForkThread(SkypeThreadFunc, void*);
HANDLE ForkThreadEx(SkypeThreadFunc, void*, UINT* threadID = NULL);
|