classes.pp 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  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. {$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. interface
  20. uses
  21. rtlconsts,
  22. sysutils,
  23. types,
  24. sortbase,
  25. {$ifdef FPC_TESTGENERICS}
  26. fgl,
  27. {$endif}
  28. typinfo,
  29. windows;
  30. type
  31. TWndMethod = procedure(var msg : TMessage) of object;
  32. {$i classesh.inc}
  33. implementation
  34. uses
  35. sysconst;
  36. { OS - independent class implementations are in /inc directory. }
  37. {$i classes.inc}
  38. initialization
  39. CommonInit;
  40. finalization
  41. CommonCleanup;
  42. end.