diff options
author | MikalaiR <nikolay.romanovich@narod.ru> | 2015-05-03 14:47:25 +0000 |
---|---|---|
committer | MikalaiR <nikolay.romanovich@narod.ru> | 2015-05-03 14:47:25 +0000 |
commit | 93d2e2120e56bae6e62cf4297ea82c3dc0ab295a (patch) | |
tree | ae7987e7d3f6f930b699bd18534f63a3f615951e /protocols/SkypeWeb/src/skype_proto.h | |
parent | cfa1c925749b1659a5e5e230bc42460de5a25aeb (diff) |
SkypeWeb: Updating contact list & auth requests every 10 minutes.
git-svn-id: http://svn.miranda-ng.org/main/trunk@13396 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/SkypeWeb/src/skype_proto.h')
-rw-r--r-- | protocols/SkypeWeb/src/skype_proto.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/protocols/SkypeWeb/src/skype_proto.h b/protocols/SkypeWeb/src/skype_proto.h index 1c68f1a1b6..9fcb5c1f21 100644 --- a/protocols/SkypeWeb/src/skype_proto.h +++ b/protocols/SkypeWeb/src/skype_proto.h @@ -81,6 +81,11 @@ public: //search
void __cdecl SearchBasicThread(void* id);
+ ////////////////////////////////////////////
+ UINT_PTR m_timer;
+ static int CompareAccounts(const CSkypeProto *p1, const CSkypeProto *p2);
+ void CSkypeProto::ProcessTimer();
+
private:
char *password;
RequestQueue *requestQueue;
@@ -96,8 +101,6 @@ private: char *Server, *RegToken, *TokenSecret, *EndpointId, *SelfSkypeName;
- static int CompareAccounts(const CSkypeProto *p1, const CSkypeProto *p2);
-
static CSkypeProto* GetContactAccount(MCONTACT hContact);
int __cdecl OnAccountLoaded(WPARAM, LPARAM);
@@ -296,6 +299,9 @@ private: LPCTSTR ClearText(CMString &value, const TCHAR *message);
+ void CALLBACK SkypeUnsetTimer(void*);
+ void CALLBACK SkypeSetTimer(void*);
+
//services
INT_PTR __cdecl OnIncomingCallCLE (WPARAM wParam, LPARAM lParam);
INT_PTR __cdecl OnIncomingCallPP (WPARAM wParam, LPARAM lParam);
|