summaryrefslogtreecommitdiff
path: root/plugins/WinterSpeak/src/UserInformation.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/WinterSpeak/src/UserInformation.cpp')
-rw-r--r--plugins/WinterSpeak/src/UserInformation.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/WinterSpeak/src/UserInformation.cpp b/plugins/WinterSpeak/src/UserInformation.cpp
index 046c148542..ba081d2b95 100644
--- a/plugins/WinterSpeak/src/UserInformation.cpp
+++ b/plugins/WinterSpeak/src/UserInformation.cpp
@@ -20,7 +20,7 @@ UserInformation::~UserInformation()
}
//------------------------------------------------------------------------------
-bool UserInformation::updateStatus(HANDLE user, int status)
+bool UserInformation::updateStatus(HCONTACT user, int status)
{
bool ret = false;
@@ -38,13 +38,13 @@ bool UserInformation::updateStatus(HANDLE user, int status)
}
//------------------------------------------------------------------------------
-std::wstring UserInformation::statusString(HANDLE user)
+std::wstring UserInformation::statusString(HCONTACT user)
{
return m_status_strings[m_status_info[user]];
}
//------------------------------------------------------------------------------
-std::wstring UserInformation::statusModeString(HANDLE user)
+std::wstring UserInformation::statusModeString(HCONTACT user)
{
int status = CallService(MS_CLIST_GETSTATUSMODEDESCRIPTION, m_status_info[user], 0);
@@ -57,14 +57,14 @@ std::wstring UserInformation::statusModeString(HANDLE user)
}
//------------------------------------------------------------------------------
-void UserInformation::insertName(std::wstring &str, HANDLE user) const
+void UserInformation::insertName(std::wstring &str, HCONTACT user) const
{
// insert the user's name into the string
str.replace(str.find(L"%u"), 2, nameString(user));
}
//------------------------------------------------------------------------------
-std::wstring UserInformation::nameString(HANDLE user) const
+std::wstring UserInformation::nameString(HCONTACT user) const
{
//WCHAR *ret = reinterpret_cast<WCHAR *>(CallService(MS_CLIST_GETCONTACTDISPLAYNAME, reinterpret_cast<unsigned int>(user), 0));
char* ret = (char *)CallService(MS_CLIST_GETCONTACTDISPLAYNAME, WPARAM(user), 0);