classes.pp 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  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. {$h+}
  13. {$IF FPC_FULLVERSION>=30301}
  14. {$modeswitch FUNCTIONREFERENCES}
  15. {$define FPC_HAS_REFERENCE_PROCEDURE}
  16. {$endif}
  17. { determine the type of the resource/form file }
  18. {$define Win16Res}
  19. unit Classes;
  20. {$INLINE ON}
  21. interface
  22. uses
  23. sysutils,
  24. types,
  25. typinfo,
  26. {$ifdef FPC_TESTGENERICS}
  27. fgl,
  28. {$endif}
  29. rtlconsts,
  30. sortbase;
  31. {$i classesh.inc}
  32. implementation
  33. uses
  34. BaseUnix,unix
  35. ;
  36. { OS - independent class implementations are in /inc directory. }
  37. {$i classes.inc}
  38. initialization
  39. CommonInit;
  40. finalization
  41. CommonCleanup;
  42. if ThreadsInited then
  43. DoneThreads;
  44. end.