myBookShelf.lpr 639 B

1234567891011121314151617181920212223242526
  1. program myBookShelf;
  2. {$mode objfpc}{$H+}
  3. // Enable pthread support on Unix before any other unit uses threads.
  4. {$IFDEF UNIX}{$DEFINE UseCThreads}{$ENDIF}
  5. uses
  6. {$IFDEF UseCThreads}
  7. cthreads,
  8. {$ENDIF}
  9. Interfaces, // LCL widgetset (gtk2/qt5 decided by your env/flags)
  10. Forms,
  11. main, // your main form unit (TForm1, Form1)
  12. unitSettingsDialog, // settings dialog unit
  13. unitCoverWorker; // background PDF cover worker
  14. {$R *.res}
  15. begin
  16. RequireDerivedFormResource := True;
  17. Application.Scaled := True;
  18. Application.Initialize;
  19. Application.CreateForm(TForm1, Form1);
  20. Application.Run;
  21. end.