classes.pp 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. {
  2. This file is part of the Free Component Library (FCL)
  3. Copyright (c) 2010 by Sven Barth
  4. Classes unit for NativeNT
  5. See the file COPYING.FPC, included in this distribution,
  6. for details about the copyright.
  7. This program is distributed in the hope that it will be useful,
  8. but WITHOUT ANY WARRANTY; without even the implied warranty of
  9. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  10. **********************************************************************}
  11. {$mode objfpc}
  12. {$IF FPC_FULLVERSION>=30301}
  13. {$modeswitch FUNCTIONREFERENCES}
  14. {$define FPC_HAS_REFERENCE_PROCEDURE}
  15. {$endif}
  16. { determine the type of the resource/form file }
  17. {$define Win16Res}
  18. unit Classes;
  19. {$INLINE ON}
  20. interface
  21. uses
  22. sysutils,
  23. types,
  24. typinfo,
  25. sortbase,
  26. {$ifdef FPC_TESTGENERICS}
  27. fgl,
  28. {$endif}
  29. rtlconsts;
  30. {$i classesh.inc}
  31. implementation
  32. uses
  33. NDK
  34. ;
  35. { OS - independent class implementations are in /inc directory. }
  36. {$i classes.inc}
  37. initialization
  38. CommonInit;
  39. finalization
  40. CommonCleanup;
  41. end.