syswideh.inc 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. {
  2. *********************************************************************
  3. $Id$
  4. Copyright (C) 2002 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;{$ifdef SYSUTILSINLINE}inline;{$endif}
  19. function WideLowerCase(const s : WideString) : WideString;{$ifdef SYSUTILSINLINE}inline;{$endif}
  20. function WideCompareStr(const s1, s2 : WideString) : PtrInt;{$ifdef SYSUTILSINLINE}inline;{$endif}
  21. function WideSameStr(const s1, s2 : WideString) : Boolean;{$ifdef SYSUTILSINLINE}inline;{$endif}
  22. function WideCompareText(const s1, s2 : WideString) : PtrInt;{$ifdef SYSUTILSINLINE}inline;{$endif}
  23. function WideSameText(const s1, s2 : WideString) : Boolean;{$ifdef SYSUTILSINLINE}inline;{$endif}
  24. Function WideFormat (Const Fmt : WideString; const Args : Array of const) : WideString;
  25. Function WideFormatBuf (Var Buffer; BufLen : Cardinal;
  26. Const Fmt; fmtLen : Cardinal;
  27. Const Args : Array of const) : Cardinal;
  28. Procedure WideFmtStr(Var Res: WideString; Const Fmt : WideString; Const args: Array of const);
  29. {
  30. $Log$
  31. Revision 1.6 2005-03-12 14:56:22 florian
  32. + added Ansi* routines to widestring manager
  33. * made them using OS calls on windows
  34. Revision 1.5 2005/03/06 18:28:23 florian
  35. + WideFormatBuf and WideFmtStr implemented
  36. Revision 1.4 2005/02/26 15:00:14 florian
  37. + WideSameStr
  38. Revision 1.3 2005/02/26 10:21:17 florian
  39. + implemented WideFormat
  40. + some Widestring stuff implemented
  41. * some Widestring stuff fixed
  42. Revision 1.2 2005/02/03 18:40:02 florian
  43. * compilation with 1.0.x fixed
  44. + infrastructure for WideCompareText implemented
  45. Revision 1.1 2005/02/01 20:22:50 florian
  46. * improved widestring infrastructure manager
  47. }