classes.pp 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. {
  2. This file is part of the Free Component Library (FCL)
  3. Copyright (c) 1999-2002 by the Free Pascal development team
  4. Classes unit for Nintendo DS
  5. Copyright (c) 2006 by Francesco Lombardi
  6. See the file COPYING.FPC, included in this distribution,
  7. for details about the copyright.
  8. This program is distributed in the hope that it will be useful,
  9. but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  11. **********************************************************************}
  12. {$mode objfpc}
  13. {$H+}
  14. {$modeswitch advancedrecords}
  15. {$IF FPC_FULLVERSION>=30301}
  16. {$modeswitch FUNCTIONREFERENCES}
  17. {$define FPC_HAS_REFERENCE_PROCEDURE}
  18. {$endif}
  19. {$IFNDEF FPC_DOTTEDUNITS}
  20. unit Classes;
  21. {$ENDIF FPC_DOTTEDUNITS}
  22. interface
  23. {$IFDEF FPC_DOTTEDUNITS}
  24. uses
  25. System.SysUtils,
  26. System.RtlConsts,
  27. System.Types,
  28. System.SortBase,
  29. {$ifdef FPC_TESTGENERICS}
  30. System.FGL,
  31. {$endif}
  32. System.TypInfo;
  33. {$ELSE FPC_DOTTEDUNITS}
  34. uses
  35. sysutils,
  36. rtlconsts,
  37. types,
  38. sortbase,
  39. {$ifdef FPC_TESTGENERICS}
  40. fgl,
  41. {$endif}
  42. typinfo;
  43. {$ENDIF FPC_DOTTEDUNITS}
  44. {$i classesh.inc}
  45. implementation
  46. { OS - independent class implementations are in /inc directory. }
  47. {$i classes.inc}
  48. initialization
  49. CommonInit;
  50. finalization
  51. CommonCleanup;
  52. end.