summaryrefslogtreecommitdiff
path: root/protocols/Skype/src/skype_icons.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Skype/src/skype_icons.cpp')
-rw-r--r--protocols/Skype/src/skype_icons.cpp15
1 files changed, 14 insertions, 1 deletions
diff --git a/protocols/Skype/src/skype_icons.cpp b/protocols/Skype/src/skype_icons.cpp
index 005fff931a..6f46e7d319 100644
--- a/protocols/Skype/src/skype_icons.cpp
+++ b/protocols/Skype/src/skype_icons.cpp
@@ -2,7 +2,10 @@
_tag_iconList CSkypeProto::iconList[] =
{
- { LPGENT("Protocol icon"), "main", IDI_ICON },
+ { LPGENT("Protocol icon"), "main", IDI_ICON },
+ { LPGENT("Revoke authorization"), "authRevoke", IDI_AUTH_REVOKE },
+ { LPGENT("Request authorization"), "authAsk", IDI_AUTH_ASK },
+ { LPGENT("Grant authorization"), "authGrant", IDI_AUTH_GRANT },
};
void CSkypeProto::InitIcons()
@@ -31,6 +34,16 @@ void CSkypeProto::InitIcons()
}
}
+HANDLE GetIconHandle(const char* name)
+{
+ for(size_t i=0; i<SIZEOF(iconList); i++)
+ {
+ if(strcmp(iconList[i].Name, name) == 0)
+ return iconList[i].Handle;
+ }
+ return 0;
+}
+
void CSkypeProto::UninitIcons()
{
for (int i = 0; i < SIZEOF(iconList); i++)