* Added bindings for Gecko 11, but they are not used by default due to gecko-bug 720682

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2364 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
loesje_
2012-03-20 09:50:09 +00:00
parent 3b25f366e0
commit 1d62d1e9f3
24 changed files with 1057 additions and 6 deletions

View File

@@ -0,0 +1,35 @@
type
nsIDOMBlob = interface(nsISupports)
['{f62c6887-e3bc-495a-802c-287e12e969a0}']
function Getsize(): idlulong; safecall;
property size : idlulong read Getsize;
procedure Gettype( result_: DOMString); safecall;
function GetinternalStream(): nsIInputStream; safecall;
property internalStream : nsIInputStream read GetinternalStream;
procedure getInternalUrl(principal: nsIPrincipal; result_: DOMString); safecall;
function mozSlice(start: idllong; anend: idllong; contentType: DOMString) : nsIDOMBlob; safecall;
function getFileId() : idllong; safecall;
{ procedure addFileInfo(aFileInfo: FileInfo); safecall;
function getFileInfo(aFileManager: FileManager) : FileInfo; safecall;
}
end;
nsIDOMFile = interface(nsIDOMBlob)
['{b096ef67-7b77-47f8-8e70-5d8ee36416bf}']
procedure Getname( result_: DOMString); safecall;
procedure GetmozFullPath( result_: DOMString); safecall;
procedure GetmozFullPathInternal( result_: DOMString); safecall;
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;