classes.pp 996 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  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 OpenBSD
  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. { determine the type of the resource/form file }
  13. {$define Win16Res}
  14. unit Classes;
  15. interface
  16. uses
  17. sysutils,
  18. rtlconsts,
  19. types,
  20. {$ifdef FPC_TESTGENERICS}
  21. fgl,
  22. {$endif}
  23. typinfo;
  24. {$i classesh.inc}
  25. implementation
  26. uses
  27. baseunix,unix,Systhrds
  28. ;
  29. { OS - independent class implementations are in /inc directory. }
  30. {$i classes.inc}
  31. initialization
  32. CommonInit;
  33. finalization
  34. CommonCleanup;
  35. if ThreadsInited then
  36. DoneThreads;
  37. end.