From 928e2dc79b46a455ef0c0096ddf40682e07b4a27 Mon Sep 17 00:00:00 2001 From: Tomas Bzatek Date: Sun, 12 Oct 2008 12:16:57 +0200 Subject: Implement VFS question and password callbacks --- UEngines.pas | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'UEngines.pas') diff --git a/UEngines.pas b/UEngines.pas index 5121947..8e8a0b8 100644 --- a/UEngines.pas +++ b/UEngines.pas @@ -83,7 +83,7 @@ type destructor Destroy; override; function GetListing(var List: TList; const AddDotFiles: boolean): integer; overload; virtual; abstract; // Returns errorcode function GetListing(var List: TList; const AddDotFiles: boolean; APath: string): integer; overload; virtual; abstract; // Returns errorcode - function ChangeDir(const NewPath: string; const ShowProgress: boolean = True): integer; virtual; abstract; // Returns errorcode + function ChangeDir(const NewPath: string): integer; virtual; abstract; // Returns errorcode function ExplicitChDir(const NewPath: string): integer; virtual; abstract; // Returns errorcode function GetFileSystemSize: Int64; overload; virtual; abstract; function GetFileSystemSize(const APath: string): Int64; overload; virtual; abstract; @@ -136,7 +136,7 @@ type destructor Destroy; override; function GetListing(var List: TList; const AddDotFiles: boolean): integer; override; function GetListing(var List: TList; const AddDotFiles: boolean; APath: string): integer; override; - function ChangeDir(const NewPath: string; const ShowProgress: boolean = True): integer; override; + function ChangeDir(const NewPath: string): integer; override; function ExplicitChDir(const NewPath: string): integer; override; function GetFileSystemSize: Int64; override; function GetFileSystemSize(const APath: string): Int64; override; @@ -360,7 +360,7 @@ begin Result := GetListing(List, AddDotFiles, FPath); end; -function TLocalTreeEngine.ChangeDir(const NewPath: string; const ShowProgress: boolean = True): integer; +function TLocalTreeEngine.ChangeDir(const NewPath: string): integer; var APath: string; Handle : PDIR; begin -- cgit v1.2.3