diff options
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];
|