summaryrefslogtreecommitdiff
path: root/protocols/SkypeWeb/src/skype_proto.h
diff options
context:
space:
mode:
authorMikalaiR <nikolay.romanovich@narod.ru>2015-05-05 17:30:30 +0000
committerMikalaiR <nikolay.romanovich@narod.ru>2015-05-05 17:30:30 +0000
commitb39fed5ae59f261d614fc0a69ebec0c590fcbba2 (patch)
treeb25cb5e23c4bed8a0f466f9aaaa1b3d628eafed3 /protocols/SkypeWeb/src/skype_proto.h
parent9d901160ae14fe289171a24f30e31354e24b63ce (diff)
SkypeWeb:
Writing calls to db rework. Attempt change the icon events (it not work). git-svn-id: http://svn.miranda-ng.org/main/trunk@13446 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/SkypeWeb/src/skype_proto.h')
-rw-r--r--protocols/SkypeWeb/src/skype_proto.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/protocols/SkypeWeb/src/skype_proto.h b/protocols/SkypeWeb/src/skype_proto.h
index d7f6fe5aba..9847fdcc5a 100644
--- a/protocols/SkypeWeb/src/skype_proto.h
+++ b/protocols/SkypeWeb/src/skype_proto.h
@@ -88,6 +88,8 @@ public:
UINT_PTR m_timer;
static int CompareAccounts(const CSkypeProto *p1, const CSkypeProto *p2);
void CSkypeProto::ProcessTimer();
+ static INT_PTR EventGetIcon (WPARAM wParam, LPARAM lParam);
+ static INT_PTR GetCallEventText(WPARAM, LPARAM lParam);
private:
char *password;
@@ -223,7 +225,7 @@ private:
MEVENT GetMessageFromDb(MCONTACT hContact, const char *messageId, LONGLONG timestamp = 0);
MEVENT AddMessageToDb(MCONTACT hContact, DWORD timestamp, DWORD flags, const char *messageId, char *content, int emoteOffset = 0);
- MEVENT AddCallToDb(MCONTACT hContact, DWORD timestamp, DWORD flags, const char *callId);
+ MEVENT AddCallToDb(MCONTACT hContact, DWORD timestamp, DWORD flags, const char *callId, const char *gp);
int OnReceiveMessage(const char *messageId, const char *url, time_t timestamp, char *content, int emoteOffset = 0, bool isRead = false);
int SaveMessageToDb(MCONTACT hContact, PROTORECVEVENT *pre);
@@ -313,6 +315,9 @@ private:
void CALLBACK SkypeUnsetTimer(void*);
void CALLBACK SkypeSetTimer(void*);
+ //events
+ void CSkypeProto::InitDBEvents();
+
//services
INT_PTR __cdecl OnIncomingCallCLE (WPARAM wParam, LPARAM lParam);
INT_PTR __cdecl OnIncomingCallPP (WPARAM wParam, LPARAM lParam);