mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
ADD: Zip - GetBackgroundFlags function (issue #665)
This commit is contained in:
parent
ee8b06ae53
commit
4d85d6d474
2 changed files with 7 additions and 0 deletions
|
|
@ -27,6 +27,7 @@ exports
|
|||
DeleteFilesW,
|
||||
GetPackerCaps,
|
||||
ConfigurePacker,
|
||||
GetBackgroundFlags,
|
||||
CanYouHandleThisFileW,
|
||||
{ Extension API }
|
||||
ExtensionInitialize;
|
||||
|
|
|
|||
|
|
@ -71,6 +71,7 @@ procedure SetProcessDataProcW(hArcData : TArcHandle; pProcessDataProc : TProcess
|
|||
function PackFilesW(PackedFile: PWideChar; SubPath: PWideChar; SrcPath: PWideChar; AddList: PWideChar; Flags: Integer): Integer;dcpcall;
|
||||
function DeleteFilesW(PackedFile, DeleteList : PWideChar) : Integer;dcpcall;
|
||||
function GetPackerCaps : Integer;dcpcall;
|
||||
function GetBackgroundFlags: Integer; dcpcall;
|
||||
procedure ConfigurePacker (Parent: HWND; DllInstance: THandle);dcpcall;
|
||||
function CanYouHandleThisFileW(FileName: PWideChar): Boolean; dcpcall;
|
||||
{Extension API}
|
||||
|
|
@ -457,6 +458,11 @@ begin
|
|||
or PK_CAPS_ENCRYPT;
|
||||
end;
|
||||
|
||||
function GetBackgroundFlags: Integer; dcpcall;
|
||||
begin
|
||||
Result:= BACKGROUND_UNPACK or BACKGROUND_PACK;
|
||||
end;
|
||||
|
||||
procedure ConfigurePacker(Parent: HWND; DllInstance: THandle);dcpcall;
|
||||
begin
|
||||
CreateZipConfDlg;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue