/components/printers/design/printers4lazidetest/testapp.lpr

http://github.com/graemeg/lazarus · Unknown · 37 lines · 29 code · 8 blank · 0 comment · 0 complexity · 747c4481870796f369c0ecf4101186df MD5 · raw file

  1. { Copyright (C) 2006 Darius Blaszijk
  2. This source is free software; you can redistribute it and/or modify it under
  3. the terms of the GNU General Public License as published by the Free
  4. Software Foundation; either version 2 of the License, or (at your option)
  5. any later version.
  6. This code is distributed in the hope that it will be useful, but WITHOUT ANY
  7. WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
  8. FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
  9. details.
  10. A copy of the GNU General Public License is available on the World Wide Web
  11. at <http://www.gnu.org/copyleft/gpl.html>. You can also obtain it by writing
  12. to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
  13. MA 02111-1307, USA.
  14. }
  15. program testapp;
  16. {$mode objfpc}{$H+}
  17. uses
  18. {$IFDEF UNIX}{$IFDEF UseCThreads}
  19. cthreads,
  20. {$ENDIF}{$ENDIF}
  21. Interfaces, // this includes the LCL widgetset
  22. Forms
  23. { add your units here }, main, SourcePrinter, Printer4Lazarus,
  24. printers4lazide;
  25. begin
  26. Application.Initialize;
  27. Application.CreateForm(TForm1, Form1);
  28. Application.Run;
  29. end.