classes.pp 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  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 BeOS
  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. interface
  21. uses
  22. sysutils,
  23. rtlconsts,
  24. types,
  25. typinfo,
  26. sortbase;
  27. {$i classesh.inc}
  28. implementation
  29. uses
  30. baseunix,unix;
  31. { OS - independent class implementations are in /inc directory. }
  32. {$i classes.inc}
  33. initialization
  34. CommonInit;
  35. finalization
  36. CommonCleanup;
  37. {$ifndef ver1_0}
  38. if ThreadsInited then
  39. DoneThreads;
  40. {$endif}
  41. end.