From 60df08c2f6194702ec180c2d2adf20d3675edae1 Mon Sep 17 00:00:00 2001 From: Alexey Kulakov Date: Sat, 14 Jul 2012 19:29:11 +0000 Subject: API update Updater support removed History++ toolbar button fix git-svn-id: http://svn.miranda-ng.org/main/trunk@974 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- include/delphi/m_clistint.inc | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) (limited to 'include/delphi/m_clistint.inc') diff --git a/include/delphi/m_clistint.inc b/include/delphi/m_clistint.inc index 7a0dd226e3..4bc4b97e37 100644 --- a/include/delphi/m_clistint.inc +++ b/include/delphi/m_clistint.inc @@ -218,22 +218,13 @@ type end; type - PClcCacheEntryBase = pointer; - PClcCacheEntryBaseA = ^ClcCacheEntryBaseA; - ClcCacheEntryBaseA = record + PClcCacheEntryBase = ^ClcCacheEntryBase; + ClcCacheEntryBase = record hContact:THANDLE; name :TCHAR; group :TCHAR; isHidden:int; end; - PClcCacheEntryBaseW = ^ClcCacheEntryBaseW; - ClcCacheEntryBaseW = record - hContact:THANDLE; - name :TCHAR; - szName :PAnsiChar; - group :TCHAR; - isHidden:int; - end; type PCLIST_INTERFACE = ^CLIST_INTERFACE; @@ -479,35 +470,43 @@ var {$ELSE} function IsHContactGroup(h:THANDLE):bool; + {$IFDEF AllowInline}inline;{$ENDIF} begin result:=(h xor HCONTACT_ISGROUP)<(HCONTACT_ISGROUP xor HCONTACT_ISINFO); end; function IsHContactInfo(h:THANDLE):bool; + {$IFDEF AllowInline}inline;{$ENDIF} begin result:=(h and HCONTACT_ISINFO)=HCONTACT_ISINFO; end; function IsHContactContact(h:THANDLE):bool; + {$IFDEF AllowInline}inline;{$ENDIF} begin result:=(h and HCONTACT_ISGROUP)=0; end; function CLCDEFAULT_BKCOLOUR:dword; + {$IFDEF AllowInline}inline;{$ENDIF} begin result:=GetSysColor(COLOR_3DFACE); end; function CLCDEFAULT_TEXTCOLOUR:dword; + {$IFDEF AllowInline}inline;{$ENDIF} begin result:=GetSysColor(COLOR_WINDOWTEXT); end; function CLCDEFAULT_SELBKCOLOUR:dword; + {$IFDEF AllowInline}inline;{$ENDIF} begin result:=GetSysColor(COLOR_HIGHLIGHT); end; function CLCDEFAULT_SELTEXTCOLOUR:dword; + {$IFDEF AllowInline}inline;{$ENDIF} begin result:=GetSysColor(COLOR_HIGHLIGHTTEXT); end; function CLCDEFAULT_HOTTEXTCOLOUR:dword; + {$IFDEF AllowInline}inline;{$ENDIF} begin { if IsWinVer98Plus then -- cgit v1.2.3