classes.pp 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  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. {$define UNICODE} //ce is unicode only, needed here for classes.inc
  12. {$mode objfpc}
  13. { determine the type of the resource/form file }
  14. {$define Win16Res}
  15. unit Classes;
  16. interface
  17. uses
  18. rtlconsts,
  19. sysutils,
  20. types,
  21. typinfo,
  22. windows;
  23. type
  24. TWndMethod = procedure(var msg : TMessage) of object;
  25. {$i classesh.inc}
  26. implementation
  27. uses
  28. sysconst;
  29. { OS - independent class implementations are in /inc directory. }
  30. {$i classes.inc}
  31. initialization
  32. CommonInit;
  33. finalization
  34. CommonCleanup;
  35. end.