summaryrefslogtreecommitdiff
path: root/include/delphi/m_clistint.inc
diff options
context:
space:
mode:
authorAlexey Kulakov <panda75@bk.ru>2012-07-14 19:29:11 +0000
committerAlexey Kulakov <panda75@bk.ru>2012-07-14 19:29:11 +0000
commit60df08c2f6194702ec180c2d2adf20d3675edae1 (patch)
tree0d729034d2acd48427ce7a935c1b37ce2cef5ea4 /include/delphi/m_clistint.inc
parente3ffab889d900847fa6fb9807bc5f818da28c358 (diff)
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
Diffstat (limited to 'include/delphi/m_clistint.inc')
-rw-r--r--include/delphi/m_clistint.inc21
1 files changed, 10 insertions, 11 deletions
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