summaryrefslogtreecommitdiff
path: root/protocols/Yahoo/src/icolib.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2016-06-06 10:37:18 +0000
committerGeorge Hazan <george.hazan@gmail.com>2016-06-06 10:37:18 +0000
commit176fb1d22df02c5791815a0764273c0b8da1d3d4 (patch)
tree12fabc1bc14714961a12cfa8393e30040333eb26 /protocols/Yahoo/src/icolib.cpp
parent441a5f30dd890a8a6db0c6931c23b42fb2d2f7ad (diff)
YAHOO: static functions removed from class
git-svn-id: http://svn.miranda-ng.org/main/trunk@16924 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Yahoo/src/icolib.cpp')
-rw-r--r--protocols/Yahoo/src/icolib.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/protocols/Yahoo/src/icolib.cpp b/protocols/Yahoo/src/icolib.cpp
index fc9144d14b..886ad3578a 100644
--- a/protocols/Yahoo/src/icolib.cpp
+++ b/protocols/Yahoo/src/icolib.cpp
@@ -28,19 +28,19 @@ static IconItem iconList[] =
{ LPGEN("Calendar"), "calendar", IDI_CALENDAR }
};
-void CYahooProto::IconsInit(void)
+void IconsInit(void)
{
Icon_Register(hInstance, "Protocols/YAHOO", iconList, _countof(iconList), "YAHOO");
}
-HICON CYahooProto::LoadIconEx(const char* name, bool big)
+HICON LoadIconEx(const char* name, bool big)
{
char szSettingName[100];
mir_snprintf(szSettingName, "YAHOO_%s", name);
return IcoLib_GetIcon(szSettingName, big);
}
-HANDLE CYahooProto::GetIconHandle(int iconId)
+HANDLE GetIconHandle(int iconId)
{
for (unsigned i = 0; i < _countof(iconList); i++)
if (iconList[i].defIconID == iconId)
@@ -49,7 +49,7 @@ HANDLE CYahooProto::GetIconHandle(int iconId)
return NULL;
}
-void CYahooProto::ReleaseIconEx(const char* name, bool big)
+void ReleaseIconEx(const char* name, bool big)
{
char szSettingName[100];
mir_snprintf(szSettingName, "YAHOO_%s", name);