classes.pp 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. {
  2. This file is part of the Free Component Library (FCL)
  3. Copyright (c) 1999-2000 by Michael Van Canneyt and Florian Klaempfl
  4. Classes unit for linux
  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. {$IF FPC_FULLVERSION>=30301}
  13. {$modeswitch FUNCTIONREFERENCES}
  14. {$define FPC_HAS_REFERENCE_PROCEDURE}
  15. {$endif}
  16. { determine the type of the resource/form file }
  17. {$define Win16Res}
  18. unit Classes;
  19. {$INLINE ON}
  20. interface
  21. uses
  22. sysutils,
  23. types,
  24. typinfo,
  25. {$ifdef FPC_TESTGENERICS}
  26. fgl,
  27. {$endif}
  28. rtlconsts,
  29. sortbase;
  30. {$i classesh.inc}
  31. implementation
  32. uses
  33. BaseUnix,unix
  34. ;
  35. { OS - independent class implementations are in /inc directory. }
  36. {$i classes.inc}
  37. initialization
  38. CommonInit;
  39. finalization
  40. CommonCleanup;
  41. if ThreadsInited then
  42. DoneThreads;
  43. end.