diff options
author | George Hazan <george.hazan@gmail.com> | 2015-06-19 18:18:13 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-06-19 18:18:13 +0000 |
commit | bf37d6655a27cc3ea5af5412c9717596c9d1c30f (patch) | |
tree | 9a537b8cd5cd85b27b5a296f77a972a0ae0c3863 /include/delphi/m_timezones.inc | |
parent | d55f17dea8734cfb458fd8fcbac684d141b181af (diff) |
timezone api migrated to mir_core
git-svn-id: http://svn.miranda-ng.org/main/trunk@14266 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'include/delphi/m_timezones.inc')
-rw-r--r-- | include/delphi/m_timezones.inc | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/include/delphi/m_timezones.inc b/include/delphi/m_timezones.inc index 9ac1c775d0..95e99f7413 100644 --- a/include/delphi/m_timezones.inc +++ b/include/delphi/m_timezones.inc @@ -38,43 +38,4 @@ const type
mir_time = int_ptr;
-type
- TTIME_API = record
- cbSize:size_t;
-
- createByName :function (tszName:TChar; dwFlags:dword):THANDLE; cdecl;
- createByContact:function (hContact:TMCONTACT; szModule:PAnsiChar; dwFlags:dword):THANDLE;
- storeByContact :procedure(hContact:TMCONTACT; szModule:PAnsiChar; hTZ:THANDLE); cdecl;
-
- printDateTime:function(hTZ:THANDLE; szFormat:TChar; szDest:TChar;
- cbDest:int; dwFlags:dword):int; cdecl;
- printTimeStamp:function(hTZ:THANDLE; ts:mir_time; szFormat:TChar; szDest:TChar;
- cbDest:int; dwFlags:dword):int; cdecl;
-
- prepareList :function (hContact:TMCONTACT; szModule:PAnsiChar; hWnd:HWND; dwFlags:dword):int; cdecl;
- selectListItem :function (hContact:TMCONTACT; szModule:PAnsiChar; hWnd:HWND; dwFlags:dword):int; cdecl;
- storeListResults:procedure(hContact:TMCONTACT; szModule:PAnsiChar; hWnd:HWND; dwFlags:dword); cdecl;
-
- getTimeZoneTime:function(hTZ:THANDLE; var st:SYSTEMTIME):int; cdecl;
- timeStampToTimeZoneTimeStamp:function(hTZ:THANDLE; ts:mir_time):time_t; cdecl;
-
- getTzi :function(hTZ:THANDLE):PTimeZoneInformation; cdecl;
- getTzName :function(hTZ:THANDLE):TChar; cdecl;
- getTzDescription:function(TZName:TChar):TChar; cdecl;
- end;
-
-// every protocol should declare this variable to use the Time API
-//extern TIME_API tmi;
-
-{
-a service to obtain the Time API
-
-wParam = 0;
-lParam = (LPARAM)(TIME_API*).
-
-returns TRUE if all is Ok, and FALSE otherwise
-}
-const
- MS_SYSTEM_GET_TMI:PAnsiChar = 'Miranda/System/GetTimeApi';
-
{$ENDIF}
|