program ewsdr;

{$IFDEF FPC}
  {$MODE Delphi}
{$ENDIF}

// Без этого на Windows запускается консольное окно
{$IFDEF WINDOWS}
  {$APPTYPE GUI}
{$ENDIF}

uses
  {$IFDEF UNIX}
  cthreads,
  {$ENDIF}
  Interfaces,  // LCL platform
  WindowsDPI,
  Forms, LazOpenGLContext,
  MainForm, AudioOutput, DeviceForm, FlatButton, FreqDisplay, VfoOverlay,
  WDSP, WDSPEngine, WebPageHtml, WebServer, WebUtils, WinFirewall, WsClient,
  Settings, RadioController;

{$R *.res}

begin
  EnableProcessDpiAwareness;
  RequireDerivedFormResource := True;
  Application.Title:='EWSDR';
  Application.Scaled:=True;
  Application.Initialize;
  Application.CreateForm(TMainForm, MainForm.MainForm);
  Application.Run;
end.
