classes.pp 1.3 KB

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