classes.pp 1.1 KB

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