summaryrefslogtreecommitdiff
path: root/protocols/Skype/src/skype_proto.h
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2012-10-21 10:24:15 +0000
committerAlexander Lantsev <aunsane@gmail.com>2012-10-21 10:24:15 +0000
commit84fc6ba7d2399bfe5db16c044bace2642f9df8a6 (patch)
tree5db5b725fb3fbafe16b92f1895727bc77ddeea3c /protocols/Skype/src/skype_proto.h
parent68d9f580b716d6ba9103663f3fc1637f41e162fc (diff)
- added message receiving
git-svn-id: http://svn.miranda-ng.org/main/trunk@2011 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Skype/src/skype_proto.h')
-rw-r--r--protocols/Skype/src/skype_proto.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/protocols/Skype/src/skype_proto.h b/protocols/Skype/src/skype_proto.h
index d5ce7bc220..295f1fcbf7 100644
--- a/protocols/Skype/src/skype_proto.h
+++ b/protocols/Skype/src/skype_proto.h
@@ -119,6 +119,10 @@ protected:
bool IsOnline();
+ //
+ void OnOnMessageReceived(const char *sid, const char *text);
+ void OnConversationAdded(CConversation::Ref conversation);
+
// contacts
void UpdateContactAboutText(HANDLE hContact, CContact::Ref contact);
void UpdateContactAuthState(HANDLE hContact, CContact::Ref contact);
@@ -205,6 +209,11 @@ protected:
// database
HANDLE AddDataBaseEvent(HANDLE hContact, WORD type, DWORD time, DWORD flags, DWORD cbBlob, PBYTE pBlob);
+ void RaiseMessageReceivedEvent(
+ DWORD timestamp,
+ const char* sid,
+ const char* nick,
+ const char* message = "");
void RaiseAuthRequestEvent(
DWORD timestamp,
const char* sid,