You've already forked lazarus-ccr
* Begin of version 2 of the geckoport package
In this new version the gecko-interfaces are generated directly from the idl-files of the gecko-sdk using the idlparser utility. The generated include files are kept as closely to the original as possible. For now by defaule Gecko 9 is used, as Gecko 10 has a bug which makes it impossible to embed it on Linux systems. git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2349 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
31
components/geckoport/version2/gecko10/nsilocalfile.inc
Normal file
31
components/geckoport/version2/gecko10/nsilocalfile.inc
Normal file
@@ -0,0 +1,31 @@
|
||||
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;
|
||||
function GetpersistentDescriptor(): ACString; safecall;
|
||||
procedure SetpersistentDescriptor(apersistentDescriptor: ACString); safecall;
|
||||
property persistentDescriptor : ACString read GetpersistentDescriptor write SetpersistentDescriptor;
|
||||
procedure reveal(); safecall;
|
||||
procedure launch(); safecall;
|
||||
function getRelativeDescriptor(fromFile: nsILocalFile) : ACString; safecall;
|
||||
procedure setRelativeDescriptor(fromFile: nsILocalFile; relativeDesc: ACString); safecall;
|
||||
|
||||
end;
|
||||
|
||||
const
|
||||
nsILocalFile_OS_READAHEAD=$40000000;
|
||||
nsILocalFile_DELETE_ON_CLOSE=$80000000;
|
||||
|
Reference in New Issue
Block a user