From 33953cc6a0fab6a91af293c6838f8a46dd7922da Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 10 Feb 2014 14:42:51 +0000 Subject: HCONTACT, part 3 git-svn-id: http://svn.miranda-ng.org/main/trunk@8081 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/WinterSpeak/src/UserInformation.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'plugins/WinterSpeak/src/UserInformation.h') diff --git a/plugins/WinterSpeak/src/UserInformation.h b/plugins/WinterSpeak/src/UserInformation.h index a9d972d96d..7ab11ecddc 100644 --- a/plugins/WinterSpeak/src/UserInformation.h +++ b/plugins/WinterSpeak/src/UserInformation.h @@ -5,7 +5,7 @@ class UserInformation { - public: +public: UserInformation(); ~UserInformation(); @@ -16,38 +16,38 @@ class UserInformation // Returns : true - the status changed // false - the status stayed the same //-------------------------------------------------------------------------- - bool updateStatus(HANDLE user, int status); + bool updateStatus(HCONTACT user, int status); //-------------------------------------------------------------------------- // Description : get a string containing the users current status string // Parameters : user - the current user // Returns : the string containing the users status //-------------------------------------------------------------------------- - std::wstring statusString(HANDLE user); + std::wstring statusString(HCONTACT user); //-------------------------------------------------------------------------- // Description : return the status mode of the user // Parameters : user - the current user // Returns : the string containing the users status mode //-------------------------------------------------------------------------- - std::wstring statusModeString(HANDLE user); + std::wstring statusModeString(HCONTACT user); //-------------------------------------------------------------------------- // Description : insert the name into the string at the %u location // Parameters : str - the string to have the username inserted into // user - the current user //-------------------------------------------------------------------------- - void insertName(std::wstring &str, HANDLE user) const; + void insertName(std::wstring &str, HCONTACT user) const; //-------------------------------------------------------------------------- // Description : get the name string for the user // Parameters : user - the current user // Returns : a string containing the user's name //-------------------------------------------------------------------------- - std::wstring nameString(HANDLE user) const; + std::wstring nameString(HCONTACT user) const; - private: - std::map m_status_info; +private: + std::map m_status_info; std::map m_status_strings; }; -- cgit v1.2.3