classes.pp 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. {
  2. This file is part of the Free Component Library (FCL)
  3. Copyright (c) 1998 by Michael Van Canneyt and Florian Klaempfl
  4. Classes unit for wince
  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. {$H+}
  13. {$IF FPC_FULLVERSION>=30301}
  14. {$modeswitch FUNCTIONREFERENCES}
  15. {$define FPC_HAS_REFERENCE_PROCEDURE}
  16. {$endif}
  17. { determine the type of the resource/form file }
  18. {$define Win16Res}
  19. unit Classes;
  20. interface
  21. uses
  22. rtlconsts,
  23. sysutils,
  24. types,
  25. sortbase,
  26. {$ifdef FPC_TESTGENERICS}
  27. fgl,
  28. {$endif}
  29. typinfo,
  30. windows;
  31. type
  32. TWndMethod = procedure(var msg : TMessage) of object;
  33. {$i classesh.inc}
  34. implementation
  35. uses
  36. sysconst;
  37. { OS - independent class implementations are in /inc directory. }
  38. {$i classes.inc}
  39. initialization
  40. CommonInit;
  41. finalization
  42. CommonCleanup;
  43. end.