2
0

classes.pp 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  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. {$IFNDEF FPC_DOTTEDUNITS}
  20. unit Classes;
  21. {$ENDIF FPC_DOTTEDUNITS}
  22. interface
  23. {$IFDEF FPC_DOTTEDUNITS}
  24. uses
  25. System.SysUtils,
  26. System.RtlConsts,
  27. System.Types,
  28. System.TypInfo,
  29. System.SortBase;
  30. {$ELSE FPC_DOTTEDUNITS}
  31. uses
  32. sysutils,
  33. rtlconsts,
  34. types,
  35. typinfo,
  36. sortbase;
  37. {$ENDIF FPC_DOTTEDUNITS}
  38. {$i classesh.inc}
  39. implementation
  40. {$IFDEF FPC_DOTTEDUNITS}
  41. uses
  42. UnixApi.Base,UnixApi.Unix;
  43. {$ELSE FPC_DOTTEDUNITS}
  44. uses
  45. baseunix,unix;
  46. {$ENDIF FPC_DOTTEDUNITS}
  47. { OS - independent class implementations are in /inc directory. }
  48. {$i classes.inc}
  49. initialization
  50. CommonInit;
  51. finalization
  52. CommonCleanup;
  53. {$ifndef ver1_0}
  54. if ThreadsInited then
  55. DoneThreads;
  56. {$endif}
  57. end.