diff options
author | Alexander Lantsev <aunsane@gmail.com> | 2012-12-28 20:34:31 +0000 |
---|---|---|
committer | Alexander Lantsev <aunsane@gmail.com> | 2012-12-28 20:34:31 +0000 |
commit | 578c3d4a75046cc06dfa247b437f04fc542c36a9 (patch) | |
tree | d6cc8b80c086fdf1b13f5469b66bbaf341abc9e5 /protocols/Skype/src/skype_icons.cpp | |
parent | 121f8a3e433af878f1168d28035ad4fd17b7aa0b (diff) |
- added password changing
git-svn-id: http://svn.miranda-ng.org/main/trunk@2875 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Skype/src/skype_icons.cpp')
-rw-r--r-- | protocols/Skype/src/skype_icons.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/protocols/Skype/src/skype_icons.cpp b/protocols/Skype/src/skype_icons.cpp index 3c20e742e7..9a739f57ae 100644 --- a/protocols/Skype/src/skype_icons.cpp +++ b/protocols/Skype/src/skype_icons.cpp @@ -1,6 +1,6 @@ #include "skype_proto.h"
-_tag_iconList CSkypeProto::iconList[] =
+_tag_iconList CSkypeProto::IconList[] =
{
{ LPGENT("Protocol icon"), "main", IDI_ICON },
{ LPGENT("Revoke authorization"), "authRevoke", IDI_AUTH_REVOKE },
@@ -24,30 +24,30 @@ void CSkypeProto::InitIcons() sid.ptszSection = szSectionName;
::mir_sntprintf(szSectionName, SIZEOF(szSectionName), _T("%s/%s"), LPGENT("Protocols"), LPGENT(MODULE));
- for (int i = 0; i < SIZEOF(iconList); i++)
+ for (int i = 0; i < SIZEOF(CSkypeProto::IconList); i++)
{
- ::mir_snprintf(szSettingName, SIZEOF(szSettingName), "%s_%s", MODULE, iconList[i].Name);
+ ::mir_snprintf(szSettingName, SIZEOF(szSettingName), "%s_%s", MODULE, CSkypeProto::IconList[i].Name);
- sid.ptszDescription = iconList[i].Description;
- sid.iDefaultIndex = -iconList[i].IconId;
- iconList[i].Handle = ::Skin_AddIcon(&sid);
+ sid.ptszDescription = CSkypeProto::IconList[i].Description;
+ sid.iDefaultIndex = -CSkypeProto::IconList[i].IconId;
+ CSkypeProto::IconList[i].Handle = ::Skin_AddIcon(&sid);
}
}
HANDLE CSkypeProto::GetIconHandle(const char* name)
{
- for (size_t i = 0; i < SIZEOF(CSkypeProto::iconList); i++)
+ for (size_t i = 0; i < SIZEOF(CSkypeProto::IconList); i++)
{
- if (::strcmp(CSkypeProto::iconList[i].Name, name) == 0)
- return CSkypeProto::iconList[i].Handle;
+ if (::strcmp(CSkypeProto::IconList[i].Name, name) == 0)
+ return CSkypeProto::IconList[i].Handle;
}
return 0;
}
void CSkypeProto::UninitIcons()
{
- for (size_t i = 0; i < SIZEOF(CSkypeProto::iconList); i++)
+ for (size_t i = 0; i < SIZEOF(CSkypeProto::IconList); i++)
{
- ::Skin_RemoveIcon(CSkypeProto::iconList[i].Name);
+ ::Skin_RemoveIcon(CSkypeProto::IconList[i].Name);
}
}
\ No newline at end of file |