mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
59 lines
2.1 KiB
ObjectPascal
59 lines
2.1 KiB
ObjectPascal
{
|
|
Double Commander - Virtual File System support
|
|
- virtual class for manage Shared Object
|
|
|
|
Copyright (C) 2006-2007 Koblov Alexander (Alexx2000@mail.ru)
|
|
|
|
This program is free software; you can redistribute it and/or modify
|
|
it under the terms of the GNU General Public License as published by
|
|
the Free Software Foundation; either version 2 of the License, or
|
|
(at your option) any later version.
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
GNU General Public License for more details.
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
along with this program; if not, write to the Free Software
|
|
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
|
|
}
|
|
|
|
unit uVFSmodule;
|
|
|
|
interface
|
|
uses
|
|
uFileList;
|
|
|
|
{$mode objfpc}{$H+}
|
|
Type
|
|
TVFSModule = class
|
|
|
|
public
|
|
function LoadModule(const sName:String):Boolean;virtual;abstract; {Load plugin}
|
|
procedure UnloadModule;virtual;abstract;
|
|
function VFSInit:Boolean;virtual;abstract;
|
|
procedure VFSDestroy;virtual;abstract;
|
|
function VFSCaps(const sExt:String):Integer;virtual;abstract;
|
|
|
|
function VFSGetExts:String;virtual;abstract;
|
|
function VFSOpen(const sName:String):Boolean;virtual;abstract;
|
|
function VFSClose:Boolean;virtual;abstract;
|
|
|
|
function VFSMkDir(const sDirName:String ):Boolean;virtual;abstract;
|
|
function VFSRmDir(const sDirName:String):Boolean;virtual;abstract;
|
|
|
|
function VFSCopyOut(const flSrcList : TFileList; sDstPath:String):Boolean;virtual;abstract;
|
|
function VFSCopyIn(const flSrcList : TFileList; sDstName:String):Boolean;virtual;abstract;
|
|
function VFSRename(const sSrcName, sDstName:String):Boolean;virtual;abstract;
|
|
function VFSRun(const sName:String):Boolean;virtual;abstract;
|
|
function VFSDelete(const flNameList:TFileList):Boolean;virtual;abstract;
|
|
|
|
function VFSList(const sDir:String; var fl:TFileList):Boolean;virtual;abstract;
|
|
end;
|
|
|
|
implementation
|
|
|
|
|
|
end.
|