classes.pp 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  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. {$IF FPC_FULLVERSION>=30301}
  14. {$modeswitch FUNCTIONREFERENCES}
  15. {$define FPC_HAS_REFERENCE_PROCEDURE}
  16. {$endif}
  17. {$IFNDEF FPC_DOTTEDUNITS}
  18. unit Classes;
  19. {$ENDIF FPC_DOTTEDUNITS}
  20. interface
  21. {$IFDEF FPC_DOTTEDUNITS}
  22. uses
  23. System.SysUtils,
  24. System.RtlConsts,
  25. System.Types,
  26. System.SortBase,
  27. {$ifdef FPC_TESTGENERICS}
  28. System.FGL,
  29. {$endif}
  30. System.TypInfo;
  31. {$ELSE FPC_DOTTEDUNITS}
  32. uses
  33. sysutils,
  34. rtlconsts,
  35. types,
  36. sortbase,
  37. {$ifdef FPC_TESTGENERICS}
  38. fgl,
  39. {$endif}
  40. typinfo;
  41. {$ENDIF FPC_DOTTEDUNITS}
  42. {$i classesh.inc}
  43. implementation
  44. { OS - independent class implementations are in /inc directory. }
  45. {$i classes.inc}
  46. initialization
  47. CommonInit;
  48. finalization
  49. CommonCleanup;
  50. end.