Files
loesje_ 625a4e0e99 * 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
2012-03-17 10:50:10 +00:00

42 lines
1.6 KiB
PHP

type
imgIRequest = interface(nsIRequest)
['{c3bf4e2a-f64b-4ac1-a84e-18631b1802ab}']
function Getimage(): imgIContainer; safecall;
property image : imgIContainer read Getimage;
function GetimageStatus(): idlulong; safecall;
property imageStatus : idlulong read GetimageStatus;
function GetURI(): nsIURI; safecall;
property URI : nsIURI read GetURI;
function GetdecoderObserver(): imgIDecoderObserver; safecall;
property decoderObserver : imgIDecoderObserver read GetdecoderObserver;
function GetmimeType(): PAnsiChar; safecall;
property mimeType : PAnsiChar read GetmimeType;
function clone(aObserver: imgIDecoderObserver) : imgIRequest; safecall;
function GetimagePrincipal(): nsIPrincipal; safecall;
property imagePrincipal : nsIPrincipal read GetimagePrincipal;
function GetCORSMode(): idllong; safecall;
property CORSMode : idllong read GetCORSMode;
procedure cancelAndForgetObserver(aStatus: nsresult); safecall;
procedure requestDecode(); safecall;
procedure lockImage(); safecall;
procedure unlockImage(); safecall;
function getStaticRequest() : imgIRequest; safecall;
procedure incrementAnimationConsumers(); safecall;
procedure decrementAnimationConsumers(); safecall;
end;
const
imgIRequest_STATUS_NONE=$0;
imgIRequest_STATUS_SIZE_AVAILABLE=$1;
imgIRequest_STATUS_LOAD_PARTIAL=$2;
imgIRequest_STATUS_LOAD_COMPLETE=$4;
imgIRequest_STATUS_ERROR=$8;
imgIRequest_STATUS_FRAME_COMPLETE=$10;
imgIRequest_STATUS_DECODE_COMPLETE=$20;
imgIRequest_CORS_NONE=1;
imgIRequest_CORS_ANONYMOUS=2;
imgIRequest_CORS_USE_CREDENTIALS=3;