diff options
| author | Tomas Bzatek <tbzatek@users.sourceforge.net> | 2009-10-24 17:09:47 +0200 |
|---|---|---|
| committer | Tomas Bzatek <tbzatek@users.sourceforge.net> | 2009-10-24 17:09:47 +0200 |
| commit | 307e8d7e95798d0c113a3db0f6a3a4b063f8c054 (patch) | |
| tree | 8105e63042dff6a5d8008135e1ff74a5256c03a4 /vfs/UVFSCore.pas | |
| parent | a55a55d43d949b2b33aa0337aa2695d838e6a875 (diff) | |
| download | tuxcmd-307e8d7e95798d0c113a3db0f6a3a4b063f8c054.tar.xz | |
Rename VFSCopyOut and VFSCopyIn functions
Diffstat (limited to 'vfs/UVFSCore.pas')
| -rw-r--r-- | vfs/UVFSCore.pas | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/vfs/UVFSCore.pas b/vfs/UVFSCore.pas index a0ada8f..7b4a110 100644 --- a/vfs/UVFSCore.pas +++ b/vfs/UVFSCore.pas @@ -59,8 +59,8 @@ type FVFSCloseFile: TVFSCloseFile; FVFSFileSeek: TVFSFileSeek; FVFSSetBlockSize: TVFSSetBlockSize; - FVFSCopyOut: TVFSCopyOut; - FVFSCopyIn: TVFSCopyIn; + FVFSCopyToLocal: TVFSCopyToLocal; + FVFSCopyFromLocal: TVFSCopyFromLocal; FVFSIsOnSameFS: TVFSIsOnSameFS; FVFSTwoSameFiles: TVFSTwoSameFiles; FVFSGetArchiveExts: TVFSGetArchiveExts; @@ -226,8 +226,8 @@ begin @FVFSChangeTimes := dlsym(ModuleHandle, 'VFSChangeTimes'); @FVFSGetDirSize := dlsym(ModuleHandle, 'VFSGetDirSize'); @FVFSBreakGetDirSize := dlsym(ModuleHandle, 'VFSBreakGetDirSize'); - @FVFSCopyOut := dlsym(ModuleHandle, 'VFSCopyOut'); - @FVFSCopyIn := dlsym(ModuleHandle, 'VFSCopyIn'); + @FVFSCopyToLocal := dlsym(ModuleHandle, 'VFSCopyToLocal'); + @FVFSCopyFromLocal := dlsym(ModuleHandle, 'VFSCopyFromLocal'); @FVFSOpenFile := dlsym(ModuleHandle, 'VFSOpenFile'); @FVFSReadFile := dlsym(ModuleHandle, 'VFSReadFile'); @FVFSWriteFile := dlsym(ModuleHandle, 'VFSWriteFile'); @@ -960,13 +960,13 @@ var Res: TVFSResult; begin Result := False; try - if @FSourcePlugin.FVFSCopyOut <> nil then begin + if @FSourcePlugin.FVFSCopyToLocal <> nil then begin // DebugMsg(['0 $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$']); // DebugMsg([' Pointer(FGlobs) = 0x', IntToHex(Int64(FGlobs), 16), ', Pointer(@NewVFSCopyCallBackFunc) = 0x', IntToHex(Int64(@NewVFSCopyCallBackFunc), 16), ', Pointer(Self) = 0x', IntToHex(Int64(Self), 16)]); try if @FSourcePlugin.FVFSSetCallbacks <> nil then FSourcePlugin.FVFSSetCallbacks(FGlobs, AskQuestionCallback, AskPasswordCallback, ProgressCallback, CallbackData); - Res := FSourcePlugin.FVFSCopyOut(FGlobs, PChar(SourceFile), PChar(DestFile), Append); + Res := FSourcePlugin.FVFSCopyToLocal(FGlobs, PChar(SourceFile), PChar(DestFile), Append); if @FSourcePlugin.FVFSSetCallbacks <> nil then FSourcePlugin.FVFSSetCallbacks(FGlobs, nil, nil, nil, nil); except @@ -996,11 +996,11 @@ var Res: TVFSResult; begin Result := False; try - if @FSourcePlugin.FVFSCopyIn <> nil then begin + if @FSourcePlugin.FVFSCopyFromLocal <> nil then begin try if @FSourcePlugin.FVFSSetCallbacks <> nil then FSourcePlugin.FVFSSetCallbacks(FGlobs, AskQuestionCallback, AskPasswordCallback, ProgressCallback, CallbackData); - Res := FSourcePlugin.FVFSCopyIn(FGlobs, PChar(SourceFile), PChar(DestFile), Append); + Res := FSourcePlugin.FVFSCopyFromLocal(FGlobs, PChar(SourceFile), PChar(DestFile), Append); if @FSourcePlugin.FVFSSetCallbacks <> nil then FSourcePlugin.FVFSSetCallbacks(FGlobs, nil, nil, nil, nil); except |
