classes.pp 2.0 KB

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