Skip to content

Commit

Permalink
fix renamed import export types
Browse files Browse the repository at this point in the history
  • Loading branch information
benibela committed Dec 22, 2023
1 parent 5c38de5 commit 90a0ff2
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions exportxml.pas
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ TXMLExportFrm = class(TVideLibriForm)
currentMode: integer;
importParser: TTreeParser;
importAccounts: array of string;
importFlags: array of TExportImportFlags;
importFlags: TImportExportFlagsArray;
procedure updateMixedHeader(col: integer);
procedure viewCurrentAccounts;
end;
Expand All @@ -47,7 +47,7 @@ TXMLExportFrm = class(TVideLibriForm)
XMLExportFrm: TXMLExportFrm;

implementation
uses strutils,bookWatchMain,libraryAccess, bbutils;
uses strutils,bookWatchMain,libraryAccess, bbutils,commoninterface;

const COLUMN_CURRENT = 1;
COLUMN_HISTORY = 2;
Expand Down Expand Up @@ -108,7 +108,7 @@ procedure TXMLExportFrm.Button1Click(Sender: TObject);
end;
end;

function rowToFlags(item: TTreeListItem): TExportImportFlags;
function rowToFlags(item: TTreeListItem): TImportExportFlags;
begin
result := [];
if item.RecordItemsText[COLUMN_CURRENT] = CHECKBOX_CHECKED then include(result, eifCurrent);;
Expand All @@ -121,8 +121,8 @@ procedure TXMLExportFrm.Button2Click(Sender: TObject);
var i: integer;
choosenAccounts: array of TCustomAccountAccess;
choosenAccountNames: array of string;
flags: TExportImportFlagsArray;
flag: TExportImportFlags;
flags: TImportExportFlagsArray;
flag: TImportExportFlags;
begin
choosenAccounts := nil;
flags := nil;
Expand Down

0 comments on commit 90a0ff2

Please sign in to comment.