fpc/rtl/objpas/sysutils/syswide.inc
florian f9d09611a8 * compilation with 1.0.x fixed
+ infrastructure for WideCompareText implemented
2005-02-03 18:40:02 +00:00

60 lines
1.8 KiB
PHP

{
*********************************************************************
$Id$
Copyright (C) 2002-2005 by Florian Klaempfl
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*********************************************************************
}
function WideUpperCase(const s : WideString) : WideString;
begin
result:=widestringmanager.UpperWideStringProc(s);
end;
function WideLowerCase(const s : WideString) : WideString;
begin
result:=widestringmanager.LowerWideStringProc(s);
end;
function WideCompareStr(const s1, s2 : WideString) : PtrInt;
begin
result:=widestringmanager.CompareWideStringProc(s1,s2);
end;
function WideSameStr(const s1, s2 : WideString) : Boolean;
begin
result:=widestringmanager.SameWideStringProc(s1,s2);
end;
function WideCompareText(const s1, s2 : WideString) : PtrInt;
begin
result:=widestringmanager.CompareTextWideStringProc(s1,s2);
end;
{
$Log$
Revision 1.2 2005-02-03 18:40:02 florian
* compilation with 1.0.x fixed
+ infrastructure for WideCompareText implemented
Revision 1.1 2005/02/01 20:22:50 florian
* improved widestring infrastructure manager
}