classes.pp 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  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. baseunix,unix,Systhrds
  25. ;
  26. { OS - independent class implementations are in /inc directory. }
  27. {$i classes.inc}
  28. initialization
  29. CommonInit;
  30. finalization
  31. CommonCleanup;
  32. if ThreadsInited then
  33. DoneThreads;
  34. end.
  35. {
  36. $Log$
  37. Revision 1.2 2004-01-10 20:15:21 michael
  38. + Some more fixes to rtlconst. Const strings moved from classes to rtlconst
  39. Revision 1.1 2004/01/04 20:05:38 jonas
  40. * first working version of the Darwin/Mac OS X (for PowerPC) RTL
  41. Several non-essential units are still missing, but make cycle works
  42. Revision 1.4 2003/12/22 16:16:33 marco
  43. * small 1.0 compat fix
  44. Revision 1.3 2003/11/17 10:05:51 marco
  45. * threads for FreeBSD. Not working tho
  46. Revision 1.2 2003/10/09 10:55:20 marco
  47. * fix for moving classes to rtl while cycling with 1.0 start
  48. Revision 1.1 2003/10/06 21:01:06 peter
  49. * moved classes unit to rtl
  50. Revision 1.1 2003/10/06 20:33:58 peter
  51. * classes moved to rtl for 1.1
  52. * classes .inc and classes.pp files moved to fcl/classes for
  53. backwards 1.0.x compatiblity to have it in the fcl
  54. Revision 1.6 2003/09/20 12:38:29 marco
  55. * FCL now compiles for FreeBSD with new 1.1. Now Linux.
  56. Revision 1.5 2002/09/07 15:15:24 peter
  57. * old logs removed and tabs fixed
  58. }