mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
UPD: Sample plugin
This commit is contained in:
parent
49576ac7ee
commit
3f588131d4
1 changed files with 13 additions and 0 deletions
|
|
@ -64,6 +64,17 @@ begin
|
|||
Result:= 0;
|
||||
end;
|
||||
|
||||
function FsMkDir(RemoteDir:pchar):bool; dcpcall;
|
||||
begin
|
||||
Result:= true;
|
||||
end;
|
||||
|
||||
function FsPutFile(LocalName,RemoteName:pchar;CopyFlags:integer):integer; dcpcall;
|
||||
begin
|
||||
gRequestProc(gPluginNr, RT_MsgOK, LocalName,RemoteName, nil, 0);
|
||||
Result:= FS_FILE_OK;
|
||||
end;
|
||||
|
||||
function FsRenMovFile(OldName,NewName:pchar;Move,OverWrite:bool;
|
||||
RemoteInfo:pRemoteInfo):integer; dcpcall;
|
||||
begin
|
||||
|
|
@ -118,6 +129,8 @@ exports
|
|||
FsFindNext,
|
||||
FsFindClose,
|
||||
// optional
|
||||
FsMkDir,
|
||||
FsPutFile,
|
||||
FsRenMovFile,
|
||||
FsExecuteFile,
|
||||
FsExtractCustomIcon,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue