| 35 | 
   | 
  | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 36 | 
   | 
 implementation | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 37 | 
   | 
 {$R *.dfm} | 
 
 
 
 
 
 
 
 
 
 
 
 | 38 | 
 < | 
 uses Main, Functions, Data, OniDataClass, FolderBrowser, Exporters; | 
 
 
 
 
 
 
 
 
 
 | 38 | 
 > | 
 uses Main, Functions, Data, ConnectionManager, FolderBrowser, Exporters; | 
 
 
 
 
 
 
 
 
 
 
 
 | 39 | 
   | 
  | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 40 | 
   | 
  | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 41 | 
   | 
 procedure TForm_Extractor.FormCreate(Sender: TObject); | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 104 | 
   | 
   begin | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 105 | 
   | 
     if (selonly and filelist.Selected[i]) or not selonly then | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 106 | 
   | 
     begin | 
 
 
 
 
 
 
 
 
 
 
 
 | 107 | 
 < | 
       fileid := Connection.ExtractFileID(filelist.Items.Strings[i]); | 
 
 
 
 
 
 
 
 
 
 | 107 | 
 > | 
       fileid := ConManager.Connection[ConnectionID].ExtractFileIDOfName(filelist.Items.Strings[i]); | 
 
 
 
 
 
 
 
 
 
 
 
 | 108 | 
   | 
       filename := GetWinFilename(filelist.Items.Strings[i]); | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 109 | 
   | 
       if check_dat.Checked then | 
 
 
 
 
 
 
 
 
 
 
 
 | 110 | 
 < | 
         ExportDatFile(Connection, fileid, path + filename); | 
 
 
 
 
 
 
 
 
 
 | 110 | 
 > | 
         ExportDatFile(ConnectionID, fileid, path + filename); | 
 
 
 
 
 
 
 
 
 
 
 
 | 111 | 
   | 
       if check_raw.Checked then | 
 
 
 
 
 
 
 
 
 
 
 
 | 112 | 
 < | 
         ExportRawFiles(Connection, fileid, path + filename); | 
 
 
 
 
 
 
 
 
 
 | 112 | 
 > | 
         ExportRawFiles(ConnectionID, fileid, path + filename); | 
 
 
 
 
 
 
 
 
 
 
 
 | 113 | 
   | 
       if check_convert.Checked then | 
 
 
 
 
 
 
 
 
 
 
 
 | 114 | 
 < | 
         ExportConverted(Connection, fileid, path + filename); | 
 
 
 
 
 
 
 
 
 
 | 114 | 
 > | 
         ExportConverted(ConnectionID, fileid, path + filename); | 
 
 
 
 
 
 
 
 
 
 
 
 | 115 | 
   | 
       Inc(done); | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 116 | 
   | 
     end; | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 117 | 
   | 
     if ((done mod 10) = 0) and (done >= 50) then |