syswide.inc 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. {
  2. *********************************************************************
  3. $Id$
  4. Copyright (C) 2002-2005 by Florian Klaempfl
  5. This program is free software; you can redistribute it and/or modify
  6. it under the terms of the GNU General Public License as published by
  7. the Free Software Foundation; either version 2 of the License, or
  8. (at your option) any later version.
  9. This program is distributed in the hope that it will be useful,
  10. but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. GNU General Public License for more details.
  13. You should have received a copy of the GNU General Public License
  14. along with this program; if not, write to the Free Software
  15. Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  16. *********************************************************************
  17. }
  18. function WideUpperCase(const s : WideString) : WideString;
  19. begin
  20. result:=widestringmanager.UpperWideStringProc(s);
  21. end;
  22. function WideLowerCase(const s : WideString) : WideString;
  23. begin
  24. result:=widestringmanager.LowerWideStringProc(s);
  25. end;
  26. function WideCompareStr(const s1, s2 : WideString) : PtrInt;
  27. begin
  28. result:=widestringmanager.CompareWideStringProc(s1,s2);
  29. end;
  30. function WideSameStr(const s1, s2 : WideString) : Boolean;
  31. begin
  32. result:=widestringmanager.SameWideStringProc(s1,s2);
  33. end;
  34. function WideCompareText(const s1, s2 : WideString) : PtrInt;
  35. begin
  36. result:=widestringmanager.CompareTextWideStringProc(s1,s2);
  37. end;
  38. {
  39. $Log$
  40. Revision 1.2 2005-02-03 18:40:02 florian
  41. * compilation with 1.0.x fixed
  42. + infrastructure for WideCompareText implemented
  43. Revision 1.1 2005/02/01 20:22:50 florian
  44. * improved widestring infrastructure manager
  45. }