classes.pp 1010 B

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