classes.pp 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  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. { determine the type of the resource/form file }
  14. {$define Win16Res}
  15. unit Classes;
  16. interface
  17. uses
  18. sysutils,
  19. rtlconst,
  20. typinfo;
  21. {$i classesh.inc}
  22. implementation
  23. uses
  24. {$ifdef ver1_0}
  25. linux
  26. {$else}
  27. unix
  28. {$endif}
  29. ;
  30. { OS - independent class implementations are in /inc directory. }
  31. {$i classes.inc}
  32. initialization
  33. CommonInit;
  34. finalization
  35. CommonCleanup;
  36. if ThreadsInited then
  37. DoneThreads;
  38. end.
  39. {
  40. $Log$
  41. Revision 1.2 2004-01-10 20:15:21 michael
  42. + Some more fixes to rtlconst. Const strings moved from classes to rtlconst
  43. Revision 1.1 2003/10/06 21:01:06 peter
  44. * moved classes unit to rtl
  45. Revision 1.2 2002/09/07 15:15:27 peter
  46. * old logs removed and tabs fixed
  47. Revision 1.1 2002/07/30 16:03:29 marco
  48. * Added for OpenBSD. Plain copy of NetBSD
  49. }