From 9263c0341134cc0079cf78b64319cc81d035317b Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 22 Dec 2013 17:31:01 +0000 Subject: =?UTF-8?q?more=20cleaning=20for=20=D0=B3=D1=88=D1=82=D0=B0=D1=89?= =?UTF-8?q?=D1=83=D1=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://svn.miranda-ng.org/main/trunk@7341 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/UserInfoEx/src/svc_timezone.cpp | 41 ++++++++++++++++++--------------- 1 file changed, 22 insertions(+), 19 deletions(-) (limited to 'plugins/UserInfoEx/src/svc_timezone.cpp') diff --git a/plugins/UserInfoEx/src/svc_timezone.cpp b/plugins/UserInfoEx/src/svc_timezone.cpp index fc8bc336e2..37f0a89d11 100644 --- a/plugins/UserInfoEx/src/svc_timezone.cpp +++ b/plugins/UserInfoEx/src/svc_timezone.cpp @@ -26,16 +26,17 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ***********************************************************************************************************/ /** - * This service function provides a TIME_ZONE_INFORMATION structure - * for the desired contact, in case the contact's timezone can be determined. -.* parsed to new core tzi interface if present. - * - * @param wParam - HANDLE of the contact, to retrieve timezone information from. - * @param lParam - pointer to a TIME_ZONE_INFORMATION to fill. - * - * @retval 0 - success - * @retval 1 - failure - **/ +* This service function provides a TIME_ZONE_INFORMATION structure +* for the desired contact, in case the contact's timezone can be determined. +* parsed to new core tzi interface if present. +* +* @param wParam - HANDLE of the contact, to retrieve timezone information from. +* @param lParam - pointer to a TIME_ZONE_INFORMATION to fill. +* +* @retval 0 - success +* @retval 1 - failure +**/ + INT_PTR GetContactTimeZoneInformation(WPARAM wParam,LPARAM lParam) { //use new core tz interface @@ -45,13 +46,14 @@ INT_PTR GetContactTimeZoneInformation(WPARAM wParam,LPARAM lParam) } /** - * This function returns the contact's local time. - * - * @param wParam - HANDLE of the contact, to retrieve timezone information from. - * @param lParam - pointer to a systemtime structure - * - * @return TRUE or FALSE - **/ +* This function returns the contact's local time. +* +* @param wParam - HANDLE of the contact, to retrieve timezone information from. +* @param lParam - pointer to a systemtime structure +* +* @return TRUE or FALSE +**/ + INT_PTR GetContactLocalTime(WPARAM wParam, LPARAM lParam) { //use new core tz interface @@ -64,8 +66,9 @@ INT_PTR GetContactLocalTime(WPARAM wParam, LPARAM lParam) ***********************************************************************************************************/ /** - * This function initially loads the module uppon startup. - **/ +* This function initially loads the module upon startup. +**/ + void SvcTimezoneLoadModule() { CreateServiceFunction(MS_USERINFO_TIMEZONEINFO, GetContactTimeZoneInformation); -- cgit v1.2.3