From 9c8e399b431a9b0995efd24752a47efbe6e84ade Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 24 Feb 2014 12:27:21 +0000 Subject: - added ME_FILEDLG_CANCELED & ME_FILEDLG_SUCCEEDED events to support async file selection dialog; - return value of MS_FILE_SENDFILE* services changed: now it returns a dialog handle; - code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@8253 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/SkypeClassic/src/skype.cpp | 35 ----------------------------------- 1 file changed, 35 deletions(-) (limited to 'protocols/SkypeClassic/src') diff --git a/protocols/SkypeClassic/src/skype.cpp b/protocols/SkypeClassic/src/skype.cpp index 1310b0bc60..2f464287cd 100644 --- a/protocols/SkypeClassic/src/skype.cpp +++ b/protocols/SkypeClassic/src/skype.cpp @@ -1949,41 +1949,6 @@ LONG APIENTRY WndProc(HWND hWndDlg, UINT message, UINT wParam, LONG lParam) if (sex) db_set_b(hContact, SKYPE_PROTONAME, "Gender", sex); } else db_unset(hContact, SKYPE_PROTONAME, "Gender"); } else - /* if (!strcmp(ptr, "AVATAR" )){ - LOG("WndProc", "AVATAR"); - if (!(hContact=find_contact(nick))) - SkypeSend("GET USER %s BUDDYSTATUS", nick); - else - { - TCHAR *unicode = NULL; - - if(utf8_decode((ptr+9), &Avatar)==-1) break; - - if( ServiceExists(MS_AV_SETAVATAR) ) - { - CallService(MS_AV_SETAVATAR,(WPARAM) hContact,(LPARAM) Avatar); - } - else - { - - if(db_set_ts(hContact, "ContactPhoto", "File", Avatar)) - { - #if defined( _UNICODE ) - char buff[TEXT_LEN]; - WideCharToMultiByte(code_page, 0, Avatar, -1, buff, TEXT_LEN, 0, 0); - buff[TEXT_LEN] = 0; - db_set_s(hContact, "ContactPhoto", "File", buff); - #endif - } - - } - - - } - free(buf); - break; - } - */ if (!strcmp(ptr, "MOOD_TEXT")){ LOG(("WndProc MOOD_TEXT")); -- cgit v1.2.3