summaryrefslogtreecommitdiff
path: root/plugins/UserInfoEx/src/svc_timezone.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-12-22 17:31:01 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-12-22 17:31:01 +0000
commit9263c0341134cc0079cf78b64319cc81d035317b (patch)
treec609a41ee8d103c0765ae5148362738a602d6080 /plugins/UserInfoEx/src/svc_timezone.cpp
parentf98e2216f98a31dbb0f77b97249aaaee75b345ed (diff)
more cleaning for гштащуч
git-svn-id: http://svn.miranda-ng.org/main/trunk@7341 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/UserInfoEx/src/svc_timezone.cpp')
-rw-r--r--plugins/UserInfoEx/src/svc_timezone.cpp41
1 files changed, 22 insertions, 19 deletions
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);