classes.pp 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  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. types,
  20. typinfo,
  21. rtlconst;
  22. {$i classesh.inc}
  23. implementation
  24. uses
  25. BaseUnix,unix
  26. ;
  27. { OS - independent class implementations are in /inc directory. }
  28. {$i classes.inc}
  29. initialization
  30. CommonInit;
  31. finalization
  32. CommonCleanup;
  33. {$ifndef VER1_0}
  34. if ThreadsInited then
  35. DoneThreads;
  36. {$endif}
  37. end.
  38. {
  39. $Log$
  40. Revision 1.1 2005-02-06 12:16:52 peter
  41. * bsd thread updates
  42. Revision 1.8 2005/02/06 11:20:52 peter
  43. * threading in system unit
  44. * removed systhrds unit
  45. Revision 1.7 2004/12/23 15:08:58 marco
  46. * 2nd synchronize attempt. cthreads<->systhrds difference was not ok, but
  47. only showed on make install should be fixed now.
  48. Revision 1.6 2004/12/23 09:42:42 marco
  49. * first tthread.synchronize support (merged neli's patches)
  50. Revision 1.5 2004/01/22 17:11:23 peter
  51. * classes uses types to import TPoint and TRect
  52. Revision 1.4 2004/01/10 19:35:52 michael
  53. + Moved all resource strings to rtlconst/sysconst
  54. Revision 1.3 2003/11/19 15:51:54 peter
  55. * tthread disabled for 1.0.x
  56. Revision 1.2 2003/11/10 16:54:28 marco
  57. * new oldlinux unit. 1_0 defines killed in some former FCL parts.
  58. Revision 1.1 2003/10/06 21:01:06 peter
  59. * moved classes unit to rtl
  60. Revision 1.7 2003/09/20 15:10:30 marco
  61. * small fixes. fcl now compiles
  62. Revision 1.6 2002/10/14 19:45:54 peter
  63. * threading switch
  64. Revision 1.5 2002/09/07 15:15:27 peter
  65. * old logs removed and tabs fixed
  66. }