diff options
author | Alexander Lantsev <aunsane@gmail.com> | 2012-10-28 07:28:44 +0000 |
---|---|---|
committer | Alexander Lantsev <aunsane@gmail.com> | 2012-10-28 07:28:44 +0000 |
commit | b20547300df739d3df7d22fd78895427f4720e1d (patch) | |
tree | cec3b2e294b1de158f157cedcb08349714ce51a5 /protocols/Skype/src/skype_utils.cpp | |
parent | 864c0325be58dc597972a879af53004b17873946 (diff) |
- added services to extended avatar support
git-svn-id: http://svn.miranda-ng.org/main/trunk@2097 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Skype/src/skype_utils.cpp')
-rw-r--r-- | protocols/Skype/src/skype_utils.cpp | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/protocols/Skype/src/skype_utils.cpp b/protocols/Skype/src/skype_utils.cpp index fbe5647248..a7b397b826 100644 --- a/protocols/Skype/src/skype_utils.cpp +++ b/protocols/Skype/src/skype_utils.cpp @@ -231,7 +231,22 @@ void CSkypeProto::FakeAsync(void *param) ::mir_free(param); } -wchar_t* CSkypeProto::GetAvatarFilePath(wchar_t* skypeName)
+wchar_t* CSkypeProto::GetOwnAvatarFilePath()
+{
+ /*DBVARIANT dbvFile = {DBVT_DELETED};
+
+ if (!getSettingStringT(NULL, "AvatarFile", &dbvFile))
+ {
+ TCHAR tmp[MAX_PATH * 2];
+ CallService(MS_UTILS_PATHTOABSOLUTET, (WPARAM)dbvFile.ptszVal, (LPARAM)tmp);
+ ICQFreeVariant(&dbvFile);
+
+ return null_strdup(tmp);
+ }*/
+ return NULL;
+} + +wchar_t* CSkypeProto::GetContactAvatarFilePath(wchar_t* skypeName)
{
wchar_t* path = new wchar_t[MAX_PATH * 2];
|