classes.pp 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  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. typinfo;
  20. {$i classesh.inc}
  21. implementation
  22. uses
  23. {$ifdef ver1_0}
  24. linux
  25. {$else}
  26. unix
  27. {$endif}
  28. ;
  29. { OS - independent class implementations are in /inc directory. }
  30. {$i classes.inc}
  31. initialization
  32. CommonInit;
  33. finalization
  34. CommonCleanup;
  35. if ThreadsInited then
  36. DoneThreads;
  37. end.
  38. {
  39. $Log$
  40. Revision 1.1 2001-09-05 14:30:04 marco
  41. * NetBSD fcl makefile fixes. Plain copy from FreeBSD
  42. Revision 1.4 2001/04/08 11:26:03 peter
  43. * update so it can be compiled by both 1.0.x and 1.1
  44. Revision 1.3 2001/01/21 20:45:09 marco
  45. * Rename fest II FCL version.
  46. Revision 1.2 2000/10/26 22:30:21 peter
  47. * freebsd update
  48. * classes.rst
  49. Revision 1.1.2.1 2000/10/17 13:47:43 marco
  50. * Copy of fcl/linux dir with adapted makefiles to ease FreeBSD 1.0.2
  51. packaging
  52. Revision 1.1 2000/07/13 06:31:32 michael
  53. + Initial import
  54. Revision 1.19 2000/07/01 09:49:02 peter
  55. * fixed go32v2,win32 build
  56. Revision 1.18 2000/06/29 16:32:06 sg
  57. * Changes in initialisation/finalisation for streaming support
  58. Revision 1.17 2000/06/27 17:17:34 lazarus
  59. Added code for registerclass, GetClass and RegisterClasses
  60. Shane
  61. Revision 1.16 2000/06/27 15:55:19 lazarus
  62. Added TThreadlist code. Shane
  63. Revision 1.15 2000/01/07 01:24:34 peter
  64. * updated copyright to 2000
  65. Revision 1.14 2000/01/07 00:01:33 peter
  66. * uses typinfo moved to interface
  67. Revision 1.13 2000/01/06 01:20:33 peter
  68. * moved out of packages/ back to topdir
  69. Revision 1.2 2000/01/04 18:07:58 michael
  70. + Added typinfo unit
  71. Revision 1.1 2000/01/03 19:33:09 peter
  72. * moved to packages dir
  73. Revision 1.11 1999/05/30 10:46:41 peter
  74. * start of tthread for linux,win32
  75. }