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:
36
components/geckoport/version2/gecko10/nsidomfile.inc
Normal file
36
components/geckoport/version2/gecko10/nsidomfile.inc
Normal file
@@ -0,0 +1,36 @@
|
||||
type
|
||||
|
||||
nsIDOMBlob = interface(nsISupports)
|
||||
['{d5237f31-443a-460b-9e42-449a135346f0}']
|
||||
function Getsize(): idlulong; safecall;
|
||||
property size : idlulong read Getsize;
|
||||
function Gettype(): DOMString; safecall;
|
||||
property atype : DOMString read Gettype;
|
||||
function GetinternalStream(): nsIInputStream; safecall;
|
||||
property internalStream : nsIInputStream read GetinternalStream;
|
||||
function getInternalUrl(principal: nsIPrincipal) : DOMString; safecall;
|
||||
function mozSlice(start: idllong; anend: idllong; contentType: DOMString) : nsIDOMBlob; safecall;
|
||||
|
||||
end;
|
||||
|
||||
|
||||
nsIDOMFile = interface(nsIDOMBlob)
|
||||
['{b096ef67-7b77-47f8-8e70-5d8ee36416bf}']
|
||||
function Getname(): DOMString; safecall;
|
||||
property name : DOMString read Getname;
|
||||
function GetmozFullPath(): DOMString; safecall;
|
||||
property mozFullPath : DOMString read GetmozFullPath;
|
||||
function GetmozFullPathInternal(): DOMString; safecall;
|
||||
property mozFullPathInternal : DOMString read GetmozFullPathInternal;
|
||||
|
||||
end;
|
||||
|
||||
|
||||
nsIDOMMozBlobBuilder = interface(nsISupports)
|
||||
['{006d2cde-ec18-41d4-acc3-43682dd418e2}']
|
||||
function getBlob(contentType: DOMString) : nsIDOMBlob; safecall;
|
||||
function getFile(name: DOMString; contentType: DOMString) : nsIDOMFile; safecall;
|
||||
procedure append(data: jsval); safecall;
|
||||
|
||||
end;
|
||||
|
Reference in New Issue
Block a user