summaryrefslogtreecommitdiff
path: root/protocols/SkypeWeb/src/skype_proto.h
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2015-03-19 22:01:53 +0000
committerAlexander Lantsev <aunsane@gmail.com>2015-03-19 22:01:53 +0000
commit347b63f23b40b403470d9636d691337cf8713e54 (patch)
tree91869e69b4b08b2355c1bcf7713b61127f91b3d7 /protocols/SkypeWeb/src/skype_proto.h
parent14834460074eebcee4a83917fbb806a95446aec3 (diff)
SkypeWeb:
- added own info reading - refactored contact info reading git-svn-id: http://svn.miranda-ng.org/main/trunk@12437 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/SkypeWeb/src/skype_proto.h')
-rw-r--r--protocols/SkypeWeb/src/skype_proto.h26
1 files changed, 24 insertions, 2 deletions
diff --git a/protocols/SkypeWeb/src/skype_proto.h b/protocols/SkypeWeb/src/skype_proto.h
index a94fa3ae6a..8e963de84e 100644
--- a/protocols/SkypeWeb/src/skype_proto.h
+++ b/protocols/SkypeWeb/src/skype_proto.h
@@ -118,6 +118,28 @@ private:
void OnLoginSecond(const NETLIBHTTPREQUEST *response);
+ // profile
+ void UpdateProfileFirstName(JSONNODE *root, MCONTACT hContact = NULL);
+ void UpdateProfileLastName(JSONNODE *root, MCONTACT hContact = NULL);
+ void UpdateProfileDisplayName(JSONNODE *root, MCONTACT hContact = NULL);
+ void UpdateProfileGender(JSONNODE *root, MCONTACT hContact = NULL);
+ void UpdateProfileBirthday(JSONNODE *root, MCONTACT hContact = NULL);
+ void UpdateProfileCountry(JSONNODE *node, MCONTACT hContact = NULL);
+ void UpdateProfileState(JSONNODE *node, MCONTACT hContact = NULL);
+ void UpdateProfileCity(JSONNODE *node, MCONTACT hContact = NULL);
+ void UpdateProfileLanguage(JSONNODE *root, MCONTACT hContact = NULL);
+ void UpdateProfileHomepage(JSONNODE *root, MCONTACT hContact = NULL);
+ void UpdateProfileAbout(JSONNODE *node, MCONTACT hContact = NULL);
+ void UpdateProfileEmails(JSONNODE *root, MCONTACT hContact = NULL);
+ void UpdateProfilePhoneMobile(JSONNODE *root, MCONTACT hContact = NULL);
+ void UpdateProfilePhoneHome(JSONNODE *root, MCONTACT hContact = NULL);
+ void UpdateProfilePhoneOffice(JSONNODE *root, MCONTACT hContact = NULL);
+ void UpdateProfileStatusMessage(JSONNODE *root, MCONTACT hContact = NULL);
+ void UpdateProfileXStatusMessage(JSONNODE *root, MCONTACT hContact = NULL);
+ void UpdateProfileAvatar(JSONNODE *root, MCONTACT hContact = NULL);
+
+ void LoadProfile(const NETLIBHTTPREQUEST *response);
+
// contacts
WORD GetContactStatus(MCONTACT hContact);
void SetContactStatus(MCONTACT hContact, WORD status);
@@ -129,8 +151,8 @@ private:
MCONTACT GetContactFromAuthEvent(MEVENT hEvent);
- void LoadProfiles(const NETLIBHTTPREQUEST *response);
- void LoadContacts(const NETLIBHTTPREQUEST *response);
+ void LoadContactsInfo(const NETLIBHTTPREQUEST *response);
+ void LoadContactList(const NETLIBHTTPREQUEST *response);
INT_PTR __cdecl OnRequestAuth(WPARAM hContact, LPARAM lParam);
INT_PTR __cdecl OnGrantAuth(WPARAM hContact, LPARAM);