summaryrefslogtreecommitdiff
path: root/protocols/SkypeWeb/src/skype_proto.h
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/SkypeWeb/src/skype_proto.h')
-rw-r--r--protocols/SkypeWeb/src/skype_proto.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/protocols/SkypeWeb/src/skype_proto.h b/protocols/SkypeWeb/src/skype_proto.h
index f312fc38e5..5d86f4ce92 100644
--- a/protocols/SkypeWeb/src/skype_proto.h
+++ b/protocols/SkypeWeb/src/skype_proto.h
@@ -125,7 +125,7 @@ private:
void OnLoginSecond(const NETLIBHTTPREQUEST *response);
void OnGetRegInfo(const NETLIBHTTPREQUEST *response);
void OnSetStatus(const NETLIBHTTPREQUEST *response);
-
+ void OnGetEndpoint(const NETLIBHTTPREQUEST *response);
// profile
void UpdateProfileFirstName(JSONNODE *root, MCONTACT hContact = NULL);
void UpdateProfileLastName(JSONNODE *root, MCONTACT hContact = NULL);
@@ -174,15 +174,22 @@ private:
//polling
void __cdecl ParsePollData(JSONNODE *data);
void __cdecl PollingThread(void*);
+ void CSkypeProto::ProcessEndpointPresenceRes(JSONNODE *node);
void CSkypeProto::ProcessUserPresenceRes(JSONNODE *node);
+ void CSkypeProto::ProcessNewMessageRes(JSONNODE *node);
// utils
+ time_t __stdcall IsoToUnixTime(const TCHAR *stamp);
+ char *GetStringChunk(const char *haystack, size_t len, const char *start, const char *end);
+ bool IsMe(const char *skypeName);
+ int SkypeToMirandaStatus(const char *status);
char *MirandaToSkypeStatus(int status);
static void ShowNotification(const TCHAR *message, int flags = 0, MCONTACT hContact = NULL);
static void ShowNotification(const TCHAR *caption, const TCHAR *message, int flags = 0, MCONTACT hContact = NULL);
void SetServerStatus(int iNewStatus);
static bool IsFileExists(std::tstring path);
char *ContactUrlToName(const char *url);
-
+ char *SelfUrlToName(const char *url);
+ char *GetServerFromUrl(const char *url);
template<INT_PTR(__cdecl CSkypeProto::*Service)(WPARAM, LPARAM)>
static INT_PTR __cdecl GlobalService(WPARAM wParam, LPARAM lParam)
{