summaryrefslogtreecommitdiff
path: root/protocols/Skype/src/skype_icons.cpp
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2012-10-23 05:17:35 +0000
committerKirill Volinsky <mataes2007@gmail.com>2012-10-23 05:17:35 +0000
commitb42fe046c66bcdfbce14bac30e2d9f10d5172541 (patch)
tree9cdd8d2173217db30ffcbe6666004ac3a295eebe /protocols/Skype/src/skype_icons.cpp
parent7e30d516e63cd31bfb40ba7b18db9a36cc0a9614 (diff)
timezones should be working. not compile, not test
git-svn-id: http://svn.miranda-ng.org/main/trunk@2057 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
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++)