diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2012-10-22 20:25:43 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2012-10-22 20:25:43 +0000 |
commit | 6059a59c2774daeb1747a9108ae2d8f1bd1d97ef (patch) | |
tree | 2c19ada67b7dd8d8c08e3119bd0b83bb008ff252 /protocols/Skype/src/skype_utils.cpp | |
parent | 1b3eb999850503df29c166127a9f17511976ee1a (diff) |
fixed users country info
git-svn-id: http://svn.miranda-ng.org/main/trunk@2053 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Skype/src/skype_utils.cpp')
-rw-r--r-- | protocols/Skype/src/skype_utils.cpp | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/protocols/Skype/src/skype_utils.cpp b/protocols/Skype/src/skype_utils.cpp index 15f421cb2d..88e92b3d19 100644 --- a/protocols/Skype/src/skype_utils.cpp +++ b/protocols/Skype/src/skype_utils.cpp @@ -1,8 +1,5 @@ #include "skype_proto.h" -int CSkypeProto::countriesCount;
-CountryListEntry* CSkypeProto::countryList; - void CSkypeProto::FakeAsync(void *param) { ::Sleep(100);
@@ -10,23 +7,6 @@ void CSkypeProto::FakeAsync(void *param) ::mir_free(param); } -int CSkypeProto::GetCountryIdByName(const char* countryName) -{ - for (int i = 0; i < CSkypeProto::countriesCount; i++) - { - const char* country = CSkypeProto::countryList[i].szName; - if (strcmp(CSkypeProto::countryList[i].szName, countryName) == 0) - return CSkypeProto::countryList[i].id; - } - - return 0; -} - -char* CSkypeProto::GetCountryNameById(int countryId) -{ - return (char*)::CallService(MS_UTILS_GETCOUNTRYBYNUMBER, (WPARAM)countryId, NULL); -} - wchar_t* CSkypeProto::GetAvatarFilePath(wchar_t* skypeName)
{
wchar_t* path = new wchar_t[MAX_PATH * 2];
|