From 6f703dbe7162e00a84130beeb4dd40200ef155c4 Mon Sep 17 00:00:00 2001 From: Alexander Lantsev Date: Sat, 27 Oct 2012 13:48:53 +0000 Subject: - added own info loading and updating git-svn-id: http://svn.miranda-ng.org/main/trunk@2092 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Skype/src/skype_proto.h | 28 +++++++++++++++++++++++++--- 1 file changed, 25 insertions(+), 3 deletions(-) (limited to 'protocols/Skype/src/skype_proto.h') diff --git a/protocols/Skype/src/skype_proto.h b/protocols/Skype/src/skype_proto.h index 064e6f3d93..36e1b6f78a 100644 --- a/protocols/Skype/src/skype_proto.h +++ b/protocols/Skype/src/skype_proto.h @@ -127,6 +127,8 @@ protected: bool IsOnline(); + static LanguagesListEntry languages[]; + // messages void OnOnMessageReceived(const char *sid, const char *text); void OnConversationAdded(CConversation::Ref conversation); @@ -172,11 +174,31 @@ protected: void __cdecl SearchByNamesAsync(void*); void __cdecl SearchByEmailAsync(void*); + // profile + void UpdateOwnAvatar(); + void UpdateOwnBirthday(); + void UpdateOwnCity(); + void UpdateOwnCountry(); + void UpdateOwnEmails(); + void UpdateOwnGender(); + void UpdateOwnHomepage(); + void UpdateOwnLanguages(); + void UpdateOwnMobilePhone(); + void UpdateOwnNickName(); + void UpdateOwnPhone(); + void UpdateOwnOfficePhone(); + void UpdateOwnState(); + void UpdateOwnStatusMessage(); + void UpdateOwnTimezone(); + void UpdateOwnProfile(); + + void OnAccountChanged(int prop); + + void __cdecl LoadOwnInfo(void*); + // utils static void FakeAsync(void*); - static char* GetCountryNameById(int countryId); - static int GetCountryIdByName(const char* countryName); - + wchar_t* GetAvatarFilePath(wchar_t* skypeName); int SkypeToMirandaLoginError(CAccount::LOGOUTREASON logoutReason); -- cgit v1.2.3