Files
lazarus-ccr/components/geckoport/version2/gecko9/nsilocalfile.inc
2012-03-19 17:05:55 +00:00

30 lines
1.4 KiB
PHP

type
nsILocalFile = interface(nsIFile)
['{aa610f20-a889-11d3-8c81-000064657374}']
procedure initWithPath(filePath: AString); safecall;
procedure initWithNativePath(filePath: ACString); safecall;
procedure initWithFile(aFile: nsILocalFile); safecall;
function GetfollowLinks(): longbool; safecall;
procedure SetfollowLinks(afollowLinks: longbool); safecall;
property followLinks : longbool read GetfollowLinks write SetfollowLinks;
function openNSPRFileDesc(flags: idllong; mode: idllong) : PRFileDescStar; safecall;
function openANSIFileDesc(mode: PAnsiChar) : PFILE; safecall;
function load() : PRLibraryStar; safecall;
function GetdiskSpaceAvailable(): PRInt64; safecall;
property diskSpaceAvailable : PRInt64 read GetdiskSpaceAvailable;
procedure appendRelativePath(relativeFilePath: AString); safecall;
procedure appendRelativeNativePath(relativeFilePath: ACString); safecall;
procedure GetpersistentDescriptor( result_: ACString); safecall;
procedure SetpersistentDescriptor(apersistentDescriptor: ACString); safecall;
procedure reveal(); safecall;
procedure launch(); safecall;
procedure getRelativeDescriptor(fromFile: nsILocalFile; result_: ACString); safecall;
procedure setRelativeDescriptor(fromFile: nsILocalFile; relativeDesc: ACString); safecall;
end;
const
nsILocalFile_DELETE_ON_CLOSE=$80000000;