You've already forked lazarus-ccr
* Some string-types are now not returned as function result but as parameter. Solves several string issues. git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2357 8e941d3f-bd1b-0410-a28a-d453659cc2b4
31 lines
1.4 KiB
PHP
31 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_OS_READAHEAD=$40000000;
|
|
nsILocalFile_DELETE_ON_CLOSE=$80000000;
|
|
|