summaryrefslogtreecommitdiff
path: root/protocols/Skype/src/skype_proto.cpp
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2012-09-27 20:17:40 +0000
committerKirill Volinsky <mataes2007@gmail.com>2012-09-27 20:17:40 +0000
commitb03e423cdb55d973230e20842bfc0fd826718201 (patch)
tree798fd755efb65e1144701764d397e18f8d40aff4 /protocols/Skype/src/skype_proto.cpp
parent68d2b18623f74651c5fd5fbd34cf585653edc1c8 (diff)
added protocol icon
git-svn-id: http://svn.miranda-ng.org/main/trunk@1693 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Skype/src/skype_proto.cpp')
-rw-r--r--protocols/Skype/src/skype_proto.cpp11
1 files changed, 10 insertions, 1 deletions
diff --git a/protocols/Skype/src/skype_proto.cpp b/protocols/Skype/src/skype_proto.cpp
index 9f9918aa60..498239053b 100644
--- a/protocols/Skype/src/skype_proto.cpp
+++ b/protocols/Skype/src/skype_proto.cpp
@@ -74,7 +74,16 @@ DWORD_PTR __cdecl CSkypeProto:: GetCaps(int type, HANDLE hContact)
}
}
-HICON __cdecl CSkypeProto::GetIcon( int iconIndex ) { return 0; }
+HICON __cdecl CSkypeProto::GetIcon( int iconIndex )
+{
+ if (LOWORD(iconIndex) == PLI_PROTOCOL)
+ {
+ HICON ico = (HICON)CallService(MS_SKIN2_GETICON, 0, (LPARAM)"Skype_main");
+ return CopyIcon(ico);
+ } else
+ return 0;
+}
+
int __cdecl CSkypeProto::GetInfo( HANDLE hContact, int infoType ) { return 0; }
HANDLE __cdecl CSkypeProto::SearchBasic( const TCHAR* id ) { return 0; }