/examples/imgviewer/imgview.lpr

http://github.com/graemeg/lazarus · Unknown · 36 lines · 32 code · 4 blank · 0 comment · 0 complexity · b3964b4e111708484dcbe6e970a3a8fc MD5 · raw file

  1. {
  2. ***************************************************************************
  3. * *
  4. * This source is free software; you can redistribute it and/or modify *
  5. * it under the terms of the GNU General Public License as published by *
  6. * the Free Software Foundation; either version 2 of the License, or *
  7. * (at your option) any later version. *
  8. * *
  9. * This code is distributed in the hope that it will be useful, but *
  10. * WITHOUT ANY WARRANTY; without even the implied warranty of *
  11. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
  12. * General Public License for more details. *
  13. * *
  14. * A copy of the GNU General Public License is available on the World *
  15. * Wide Web at <http://www.gnu.org/copyleft/gpl.html>. You can also *
  16. * obtain it by writing to the Free Software Foundation, *
  17. * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
  18. * *
  19. ***************************************************************************
  20. }
  21. program imgview;
  22. {$librarypath /opt/gnome/lib}
  23. {$mode objfpc}{$H+}
  24. uses
  25. Interfaces,
  26. Forms, frmmain;
  27. {$R *.res}
  28. begin
  29. Application.Initialize;
  30. Application.CreateForm(TMainForm, MainForm);
  31. Application.Run;
  32. end.