classes.pp 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. {
  2. $Id$
  3. This file is part of the Free Component Library (FCL)
  4. Copyright (c) 1999-2000 by Michael Van Canneyt and Florian Klaempfl
  5. Classes unit for linux
  6. See the file COPYING.FPC, included in this distribution,
  7. for details about the copyright.
  8. This program is distributed in the hope that it will be useful,
  9. but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  11. **********************************************************************}
  12. {$mode objfpc}
  13. { Require threading }
  14. {$ifndef ver1_0}
  15. {$threading on}
  16. {$endif ver1_0}
  17. { determine the type of the resource/form file }
  18. {$define Win16Res}
  19. unit Classes;
  20. interface
  21. uses
  22. sysutils,
  23. typinfo;
  24. {$i classesh.inc}
  25. implementation
  26. uses
  27. {$ifdef ver1_0}
  28. linux
  29. {$else}
  30. BaseUnix,unix
  31. {$endif}
  32. ;
  33. { OS - independent class implementations are in /inc directory. }
  34. {$i classes.inc}
  35. initialization
  36. CommonInit;
  37. finalization
  38. CommonCleanup;
  39. if ThreadsInited then
  40. DoneThreads;
  41. end.
  42. {
  43. $Log$
  44. Revision 1.7 2003-09-20 15:10:30 marco
  45. * small fixes. fcl now compiles
  46. Revision 1.6 2002/10/14 19:45:54 peter
  47. * threading switch
  48. Revision 1.5 2002/09/07 15:15:27 peter
  49. * old logs removed and tabs fixed
  50. }